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

Add buildkite functionality to persist and restore lagrange basis cache #15846

Open
martyall opened this issue Jul 18, 2024 · 1 comment
Open

Comments

@martyall
Copy link
Member

We are storing the results of the lagrange basis computations when running dev unit tests (see #15802). Currently the tests lazily populate the cache, so that the first time you need the basis you compute and every other time you load from disk. We lose the disk at the end of the run,.

We would like to investigate persisting and restoring this cache for the dev unit tests since these basically never change. Ideally the flow would be something like

  • restore the cache to proper directory via s3, nfs or whatever is easy
  • run tests
    [ IDEALLY ]
  • if the cache has changed (this can happen when new tests are added), push to store in smart way

NOTE: The total cache size is currently 8kb and not expected to grow over time.

@martyall
Copy link
Member Author

depends on #15843

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

Successfully merging a pull request may close this issue.

1 participant