[BUG] One-click Scripts fails build base image for GFX1100
I am using 7900XTX (gfx1100) When building base image, it fails due to error link calling.
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
OK... I have found related captions for this situation. https://github.com/youyoulyz/aup-learning-cloud/blob/bfc41cc5aab5ea45fc122515191cb182f5da098e/dockerfiles/Base/Dockerfile.rocm#L43