AMDMIGraphX
AMDMIGraphX copied to clipboard
Migrate code base to support latest ROCm 6.1
Check repo for instances were we reference older versions of ROCm. Move them up where appropriate
Places python versions would also need to be changed... torch==2.1.1 -> torch==2.1.2
~/code/AMDMIGraphX $ rgrep repo.radeon
examples/diffusion/python_stable_diffusion_21/requirements.txt:-f https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/
examples/diffusion/python_stable_diffusion_21/sd21.ipynb: "!pip install torch==2.1.1 -f https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/\n",
examples/diffusion/python_stable_diffusion_xl/requirements.txt:-f https://repo.radeon.com/rocm/manylinux/rocm-rel-6.1/
examples/onnxruntime/inceptionV3/prereq_steps.sh:pip3 install torch torchvision torchaudio --index-url https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/
examples/onnxruntime/resnet50/prereq_steps.sh:pip3 install torch torchvision torchaudio --index-url https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/
tools/docker/migraphx_with_onnxruntime_pytorch.docker:RUN wget https://repo.radeon.com/amdgpu-install/6.0.2/ubuntu/jammy/amdgpu-install_6.0.60002-1_all.deb
tools/docker/migraphx_with_onnxruntime_pytorch.docker:RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0.2/onnxruntime_rocm-inference-1.17.0-cp310-cp310-linux_x86_64.whl
tools/docker/migraphx_with_onnxruntime_pytorch.docker:RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/torch-2.1.1+rocm6.0-cp310-cp310-linux_x86_64.whl
tools/docker/migraphx_with_onnxruntime_pytorch.docker:RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-6.0/torchvision-0.16.1+rocm6.0-cp310-cp310-linux_x86_64.whl
tools/docker/sles.docker:baseurl=https://repo.radeon.com/rocm/zyp/6.0.2/main\n\
tools/docker/ubuntu_2204.dockerfile:RUN sh -c "echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] http://repo.radeon.com/rocm/apt/6.0.2 jammy main' > /etc/apt/sources.list.d/rocm.list"
CI is already moving up with #2977