Closed wolfganghuse closed 7 months ago
Hi, @wolfganghuse,
you can use snapshot_download
:
from huggingface_hub import snapshot_download
snapshot_download(repo_id='petals-team/StableBeluga2')
The model files will appear in your standard HF cache location.
more details in HF Hub docs: https://huggingface.co/docs/huggingface_hub/en/guides/download
Thanks @poedator I will try as soon as possible!
Just to clarify: I would download into petals CACHE-DIR
and petals would pick up the model and creates the block-links accordingly?
Just to clarify: I would download into petals
CACHE-DIR
and petals would pick up the model and creates the block-links accordingly?
Not exactly: It will download into HF cache dir, you have to move the cached model to the Petals cache manually. Pls try and see if it works.
@poedator works exactly like you described...Thanks!
Hello, is it possible to pull all data for a model on a private swarm node ? To reduce download-traffic i would like to build pre-populated images.
Regards, Wolfgang