Merged
Conversation
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
leondz
approved these changes
Apr 19, 2025
| statuses: none | ||
|
|
||
| env: | ||
| XDG_CACHE_HOME: ${{ github.workspace }}/.cache |
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a shared cache for most, though not all, huggingface models used in automation tests.
This reduces the traffic to hugginface for github actions by creating a
hf-cache-sharedaction by leveraging theXDG_CACHE_HOMEto place the cache in a consistent location relative to the runner working directory.Due to the 10GB limit of all caches per repo this cache file is updated during the nightly test run and any PR will use the cache to reduce the models required to be retrieved from huggingface for each test execution.
This also enables manual execution of the
Nightlytask in forks of the repository.