Skip to content

Conversation

@giacinti
Copy link

It may happen that, depending on the model, huggingface-hub creates temporary file chunks before saving the model into the cache. The side effect is that the container /tmp can become full and an error is issued not space left on device.
With this change, /tmp is mapped to a local directory with hopefully more space available.
I also took the opportunity to update .dockerignore and .gitignore to add the cache directory huggingface and this new temp dir...

@fboulnois fboulnois force-pushed the main branch 2 times, most recently from f55d769 to 7d559de Compare December 3, 2023 14:12
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