Skip to content

Fix Torch Hub caching files at /root/.cache - #160

Open
sruggier wants to merge 1 commit into
runpod:mainfrom
sruggier:pr/fix-torch.hub-cache-location
Open

Fix Torch Hub caching files at /root/.cache#160
sruggier wants to merge 1 commit into
runpod:mainfrom
sruggier:pr/fix-torch.hub-cache-location

Conversation

@sruggier

Copy link
Copy Markdown

This replaces several tool-specific environment variables that were configuring caching under /workspace/.cache. Instead, XDG_CACHE_HOME is set to /workspace/.cache. This covers all of the existing tools that were previously being configured directly, as well as torch.hub and various others.

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

Successfully merging this pull request may close these issues.

1 participant