ローカル環境で bark 動かした際にハマったのでメモ

全ては下記のISSUEに書いてあるが、同様のエラーが出た。

Does this work in vs-code for local development ? · Issue #206 · suno-ai/bark · GitHub

主にエラーメッセージは2点が出る

  • GPUがあるのに No GPU being used. Careful, inference might be very slow!

  • TypeError: hf_hub_download() got an unexpected keyword argument 'local_dir'

huggingface_hub のバージョンを挙げて解決

pip install -U huggingface_hub