Experimental support for AMD 9070XT
Opened this issue · 2 comments
in case someone want to try this and report the results
`pip install uv
git clone https://github.com/resemble-ai/chatterbox
cd chatterbox
python -m venv venv
venv\scripts\activate
uv pip install .
uv pip uninstall torch torchaudio
uv pip install torch torchaudio --upgrade --prerelease=allow --index-url https://d2awnip2yjpvqn.cloudfront.net/v2/gfx120X-all
uv pip install gradio
gradio_tts_app.py`
in case someone want to try this and report the results
`pip install uv
git clone https://github.com/resemble-ai/chatterbox
cd chatterbox
python -m venv venv
venv\scripts\activate
uv pip install .
uv pip uninstall torch torchaudio
uv pip install torch torchaudio --upgrade --prerelease=allow --index-url https://d2awnip2yjpvqn.cloudfront.net/v2/gfx120X-all
uv pip install gradio
gradio_tts_app.py`
I get as far as the 'cd chatterbox' step, it fails on 'venv\scripts\activate'
the scripts folder does not exist.
📦[az@rocm-ls-v4 venv]$ ls
bin include lib lib64 pyvenv.cfg
steps used:
create a distrobox ini with contents:
[rocm-ls-v4]
image=docker.io/rocm/dev-ubuntu-24.04:6.3.3-complete
init=false
additional_packages="build-essential libtcmalloc-minimal4 wget git software-properties-common libgl1 libglib2.0-0 neofetch vulkan-tools cmake ninja-build"
additional_flags="--device=/dev/kfd --device=/dev/dri"
init_hooks="add-apt-repository ppa:deadsnakes/ppa;"
init_hooks="apt update -y;"
init_hooks="apt install nano gawk synaptic python3 python3-venv python3-pip git python3.12 python3.12-venv python3.12-tk libamd-comgr2 libhsa-runtime64-1 librccl1 librocalution0 l>
init_hooks="groupadd -fg 486 host_render;"
init_hooks="groupadd -fg 483 host_video;"
init_hooks="usermod -aG host_render,host_video $LOGNAME;"
init_hooks="export ROCM_PATH=/opt/rocm;"
nvidia=false
pull=false
root=false
replace=true
start_now=false
distrobox assemble create --file distrobox.ini
distrobox enter rocm-ls-v4
run the commands mentioned by you
I get as far as the 'cd chatterbox' step, it fails on 'venv\scripts\activate' the scripts folder does not exist.
If you're using Linux, there's a normal ROCM PyTorch available, no need to use the experimental TheRock.