Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize eigh by previous iteration. #44

Open
AlexanderMath opened this issue Aug 24, 2023 · 1 comment
Open

Initialize eigh by previous iteration. #44

AlexanderMath opened this issue Aug 24, 2023 · 1 comment
Assignees

Comments

@AlexanderMath
Copy link
Contributor

AlexanderMath commented Aug 24, 2023

Every iteration of DFT computes an eigendecomposition at (line 49). Since we compute the eigendecomposition at every iteration, we may be able to initialize the eigensolver at iteration i by the eigenvector solution from iteration i-1.

Notes:

  1. The eigensolver is implemented in tesselate.
  2. tesselate has two eigensolvers: the jacobi algorithm and the QR algorithm.
  3. The matrix may change a lot iteration 0 to iteration 1 and less onwards.
@awf
Copy link
Collaborator

awf commented Aug 30, 2023

Looks like we would add a all_AV_cols argument to

def ipu_jacobi_eigh(x: Array, num_iters: int = 1) -> Tuple[Array, Array]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants