Skip to content

feat: default to UV_CACHE_DIR from within the container #427

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

terrykong
Copy link
Collaborator

@terrykong terrykong commented May 21, 2025

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Our instructions for UV_CACHE_DIR are outdated. This PR updates them, but also defaults to using the UV_CACHE_DIR within the container. The old behavior is still supported via UV_CACHE_DIR_OVERRIDE, but it saves disk space during experimentation not having to create multiple UV_CACHE_DIRs for each experiment.

Will wait for #410 to go in since this doc change is based on that PRs doc change.

Issues

List issues that this PR closes (syntax):

Closes #426

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you run the unit tests and functional tests locally? Visit our Testing Guide for how to run tests
  • Did you add or update any necessary documentation? Visit our Document Development Guide for how to write, build and test the docs.

Additional Information

  • ...

@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 21, 2025
@terrykong terrykong requested review from yuki-666, SahilJain314 and parthchadha and removed request for yuki-666 May 21, 2025 07:19
@terrykong terrykong force-pushed the use-default-uvcache branch from 5aac48c to 4415e55 Compare May 23, 2025 23:40
Signed-off-by: Terry Kong <[email protected]>

fix it

Signed-off-by: Terry Kong <[email protected]>

make it match

Signed-off-by: Terry Kong <[email protected]>

fix it all

Signed-off-by: Terry Kong <[email protected]>
@terrykong terrykong force-pushed the use-default-uvcache branch from 4415e55 to c06ba88 Compare May 23, 2025 23:42
Signed-off-by: Terry Kong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change UV_CACHE_DIR to within container for slurm script
1 participant