Download scripts/setup_music.sh from hkblockchaintechnology/lyra-studio: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_music.sh
- Command line
-
hf download hf://hkblockchaintechnology/lyra-studio/scripts/setup_music.sh
-
curl -L -o setup_music.sh https://huggingface.co/hkblockchaintechnology/lyra-studio/resolve/main/scripts/setup_music.sh
381 Bytes
| set -x | |
| B=/marimo/ai_studio | |
| uv venv $B/envs/music 2>&1 | tail -2 | |
| CP=$B/envs/music/bin/python | |
| uv pip install -p $CP -r $B/vendor/YuE/requirements.txt 2>&1 | tail -12 | |
| uv pip install -p $CP -e $B/vendor/YuE --no-deps 2>&1 | tail -3 | |
| PYTHONPATH= $CP -c "import torch;print('MUSIC torch',torch.__version__,'cuda',torch.cuda.is_available())" 2>&1 | tail -3 | |
| echo MUSIC_ENV_DONE | |