Will rocm7 work with gfx1152 #167
metalinspired
started this conversation in
General
Replies: 2 comments
|
Forgot to mention I am running Kubuntu 25.10 |
0 replies
|
# Find the build targets
cd /opt/venv/lib/python3.12/site-packages/torch/lib
strings libtorch_hip.so | grep gfx11
# It shows gfx1152So by adding these two environment variables it may work: -e HSA_OVERRIDE_GFX_VERSION=11.5.2 \
-e HIP_VISIBLE_DEVICES=0 \If it doesn't work, you can try the AMD's nightly build for # Start the container in interactive bash (or fish if you prefer)
docker run \
-it
--name comfyui-rocm7-gfx1152 \
--device=/dev/kfd --device=/dev/dri \
--group-add=video --group-add=render \
--ipc=host --cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--security-opt label=disable \
-p 8188:8188 \
-v "$(pwd)"/storage-models/models:/root/ComfyUI/models \
-v "$(pwd)"/storage-models/hf-hub:/root/.cache/huggingface/hub \
-v "$(pwd)"/storage-models/torch-hub:/root/.cache/torch/hub \
-v "$(pwd)"/storage-user/input:/root/ComfyUI/input \
-v "$(pwd)"/storage-user/output:/root/ComfyUI/output \
-v "$(pwd)"/storage-user/workflows:/root/ComfyUI/user/default/workflows \
-e HSA_OVERRIDE_GFX_VERSION=11.5.2 \
-e HIP_VISIBLE_DEVICES=0 \
yanwk/comfyui-boot:rocm7 /usr/bin/bash# Then install the nightly PyTorch with nightly ROCm
pip install -U --pre torch torchvision torchaudio -i https://rocm.nightlies.amd.com/v2-staging/gfx1152# Or the stable PyTorch with nightly ROCm
pip install -U torch torchvision torchaudio -i https://rocm.nightlies.amd.com/v2-staging/gfx1152# Start ComfyUI to validate
bash /runner-scripts/entrypoint.sh |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I got Ryzen AI 7 PRO 350 w/ Radeon 860M. It reports as gfx1152 which should, I believe, be same as gfx 1151 but when I start the container I get: RuntimeError: No HIP GPUs are available
All reactions