Skip to content

download_weights: Use destination for tempdir - #139

Open
sgallagher wants to merge 1 commit into
genmoai:mainfrom
sgallagher:tmpspace
Open

download_weights: Use destination for tempdir#139
sgallagher wants to merge 1 commit into
genmoai:mainfrom
sgallagher:tmpspace

Conversation

@sgallagher

@sgallagher sgallagher commented May 12, 2025

Copy link
Copy Markdown

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 <sgallagh@redhat.com>
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