for rocm6.2.4 compute platform index, use --index-url https://sonatype-nexus-community.github.io/pytorch-pypi/whl/rocm6.2.4/simple
--index-url https://sonatype-nexus-community.github.io/pytorch-pypi/whl/rocm6.2.4/simple
see also other available indexes