AudioCraftを試す
環境:windows11,VRAM 12GB
推奨は16GBらしいから足りない
Git clone
$ git clone https://github.com/facebookresearch/audiocraft/
インストール
sh pip install -U audiocraft # stable release
pip install -U git+https://git@github.com/facebookresearch/audiocraft#egg=audiocraft # bleeding edge
pip install -e . # or if you cloned the repo locally (mandatory if you want to train).
musicgen_demo.ipynb
を順に動かしてみる
largeだとGPUメモリをめいいっぱい使っているようだ
生成できたみたいだ
エラー
$ pip list
を見てみると torch
がCPUバージョンになっていたので
$ pip uninstall torch
$ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
一応local URLが出た

がエラーも出ている
$ pip install ffmpeg
Could not find module 'C:\Users\Wogikaze\AppData\Roaming\Python\Python310\site-packages\xformers\_C.pyd'
(or one of its dependencies). Try using the full path with constructor syntax.
いろいろ欄
VSCodeのPython,Pyplane,Jupytor拡張機能の再インストール