question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement complex QR decomposition in HLO (TPU)

See original GitHub issue

The following code raises RuntimeError: Unimplemented: complex comparison 'LT'

import jax
jax.np.linalg.qr((np.random.rand(3, 3) + 1j * np.random.rand(3, 3)))

Noticed this because one of our test cases fails (https://github.com/google/TensorNetwork/issues/221)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mganahlcommented, Sep 3, 2019

Hi! We’d be interested in all three. The ranking is CPU, GPU and TPU, with TPU the least important right now. Thanks for the quick reply!

0reactions
hawkinspcommented, Dec 2, 2020

We’ve already fixed this at head!

Read more comments on GitHub >

github_iconTop Results From Across the Web

6. QR factorization
in the following lectures, we will use the QR factorization to solve. • linear equations. • least squares problems ... QR factorization of...
Read more >
Change log - JAX documentation
The implementation of singular value decomposition (SVD) and symmetric/Hermitian ... jax.numpy.linalg.cond() on TPUs now accepts complex input.
Read more >
High Accuracy Low Precision QR Factorization and Least ...
In this paper we present effective use of NVIDIA TensorCore units to QR factorize matrix and solve linear least square problem (LLS). QR...
Read more >
Implement Hardware-Efficient Complex Partial-Systolic QR ...
This example shows how to implement a hardware-efficient QR decomposition using the Complex Partial-Systolic QR Decomposition block.
Read more >
tf.linalg.qr | TensorFlow v2.11.0
Currently, the gradient for the QR decomposition is well-defined only when the first P columns of the inner matrix are linearly independent, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found