Open zmactep opened 1 year ago
You can try to download the .pt files from huggingface directly: https://huggingface.co/suno/bark/tree/main and put them into the models folder.
@tongbaojia can you explain clearly?
You can download follow the above link.
The models should be put at: ~/.cache/suno/bark_v0
(at least for me).
You can see the model path discussion in #197
default_cache_dir = os.path.join(os.path.expanduser("~"), ".cache") By default, os.path.expanduser("~") expands to the current user's home directory. So it's not storing in VRAM(GPU)? its storing on our local storage which is user/.cache/suno/bark_v0.
No, it is always saved in your local -- the code will do the to("GPU")
to utilize the GPUs.
Thanks @tongbaojia I was able to create API integrations and DockerAPI for this model my repo
TL;DR I get
OSError
fromtempfile
when I try to load models.I have a fresh conda environment on my M1 Max MacBook with latests
pytorch2
,huggingface_hub
and other packages installed. Bark is installed usingpip install git+https://github.com/suno-ai/bark.git
.I am trying to download models using
preload_models()
from the example code, but I am getting such error: