Skip to content

download_weights: Use destination for tempdir #139

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 1 commit into
base: main
Choose a base branch
from

Conversation

sgallagher
Copy link

@sgallagher sgallagher commented May 12, 2025

There is no guarantee that the default tempfile location (usually /tmp) will have sufficient space to contain the downloaded model files before they are moved into their final location. Use the output_dir location to hold the temporary files, which will ensure that only the destination directory's space (or lack thereof) applies when checking for availability.

There is no guarantee that the default tempfile location (usually /tmp)
will have sufficient space to contain the downloaded model files before
they are moved into their final location. Use the output_dir location to
hold the temporary files, which will ensure that only the destination
directory's space (or lack thereof) applies when checking for
availability.

Signed-off-by: Stephen Gallagher <[email protected]>
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