aup-learning-cloud icon indicating copy to clipboard operation
aup-learning-cloud copied to clipboard

[BUG] One-click Scripts fails build base image for GFX1100

Open youyoulyz opened this issue 9 months ago • 1 comments

I am using 7900XTX (gfx1100) When building base image, it fails due to error link calling.

Image

It is because special naming convention in https://repo.amd.com/rocm/whl/ .

I changed to this fix my problem but will cause other arch to fail. # Install ROCm PyTorch RUN WHL_TARGET="${PYTORCH_WHL_TARGET:-${GPU_TARGET}}-all" && \ INDEX_URL="${PYTORCH_INDEX_URL:-https://repo.amd.com/rocm/whl/${WHL_TARGET}/}" && \ python3 -m pip install --no-cache-dir \ --index-url "${INDEX_URL}" \ torch torchvision torchaudio

youyoulyz avatar Mar 04 '26 14:03 youyoulyz

OK... I have found related captions for this situation. https://github.com/youyoulyz/aup-learning-cloud/blob/bfc41cc5aab5ea45fc122515191cb182f5da098e/dockerfiles/Base/Dockerfile.rocm#L43

youyoulyz avatar Mar 04 '26 14:03 youyoulyz