Closed haplo closed 6 months ago
does your python-pytorch currently work ? could you paste the output ot:
/opt/rocm/bin/rocminfo | grep -E "(Name|ID):"
export | grep -E \
"(GPU_TARGETS|AMDGPU_TARGETS|PYTORCH_ROCM_ARCH|HSA_OVERRIDE_GFX_VERSION|ROCR_VISIBLE_DEVICES)"
python -c 'import torch.version as v; \
print("torch: {}\nrocm: {}\n".format(v.git_version, v.hip))'
does your python-pytorch currently work ? could you paste the output ot:
/opt/rocm/bin/rocminfo | grep -E "(Name|ID):" export | grep -E \ "(GPU_TARGETS|AMDGPU_TARGETS|PYTORCH_ROCM_ARCH|HSA_OVERRIDE_GFX_VERSION|ROCR_VISIBLE_DEVICES)" python -c 'import torch.version as v; \ print("torch: {}\nrocm: {}\n".format(v.git_version, v.hip))'
rocminfo works, but pytorch import fails:
>>> import torch
python: /usr/src/debug/hip-runtime-amd/clr-rocm-6.0.2/hipamd/src/hip_code_object.cpp:762: hip::FatBinaryInfo** hip::StatCO::addFatBinary(const void*, bool): Assertion `err == hipSuccess' failed.
fish: Job 1, 'python' terminated by signal SIGABRT (Abort)
ack, you need a running/working pytorch to compile torch-vision, closing this as its unrelated to torchvision. Try to get your pytorch running, then build torchvision
ack, you need a running/working pytorch to compile torch-vision, closing this as its unrelated to torchvision. Try to get your pytorch running, then build torchvision
Definitely, thank you for the help debugging!
ack, you need a running/working pytorch to compile torch-vision, closing this as its unrelated to torchvision. Try to get your pytorch running, then build torchvision
Definitely, thank you for the help debugging!
Have you solved your issue with pytorch? I have met exactly the same problem with you.
Have you solved your issue with pytorch? I have met exactly the same problem with you.
I haven't. This is a known issue tracked at Arch Linux Gitlab, I'm waiting for an update there. As you can read in the issue you can install python-pytorch-rocm-bin from AUR as a workaround.
I cannot upgrade python-torchvision-rocm from 0.17.1-1 to 0.17.2-1, build fails because of an assertion:
Full log of
yay -Sua
forcing a clean build:Any ideas of what could be the issue or how to debug it?
Thanks for your support!