Wan2GP: ERROR: No matching distribution found for onnxruntime-gpu==1.22

Is there a way to get Wan2GP to work on DGX Spark? I am following the standard installation instruction and getting stuck with the following error:

ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.22 (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu==1.22

I’m also facing a similar situation. I think there aren’t any onnxruntime-gpu built for aarch64, which is why it returns “could not find” when we run it on a DGX Spark.

you could build the onnxruntime from source, I used following and it works:

sh build.sh
–config Release \

--build_dir build/cuda \

--parallel 20 \

--nvcc_threads 20 \

--use_cuda \

--cuda_version 13 \

--cuda_home /usr/local/cuda-13.0/ \

--cudnn_home /usr/local/cuda-13.0/ \

--use_tensorrt \

--tensorrt_home /usr \

--build_wheel \

--skip_tests \

--cmake_generator Ninja \

--cmake_extra_defines \

CMAKE_CUDA_ARCHITECTURES=121 \

onnxruntime_BUILD_UNIT_TESTS=OFF

you can remove –use_tensorrt and –tensorrt_home, if you donot need tensorrt