Hi. I'm trying `pants export --resolve=my_resolve`...
# general
f
Hi. I'm trying
pants export --resolve=my_resolve
however I'm finding some issue with pytorch dependencies. I end up with
Copy code
Needed cp310-cp310-manylinux_2_31_x86_64 compatible dependencies for:
   1: nvidia-cuda-nvrtc-cu11==11.7.99; platform_system == "Linux" and platform_machine == "x86_64"
      Required by:
        torch 2.0.0
      But this pex had no ProjectName(raw='nvidia-cuda-nvrtc-cu11', normalized='nvidia-cuda-nvrtc-cu11') distributions.
   2: nvidia-cuda-runtime-cu11==11.7.99; platform_system == "Linux" and platform_machine == "x86_64"
      Required by:
        torch 2.0.0
      But this pex had no ProjectName(raw='nvidia-cuda-runtime-cu11', normalized='nvidia-cuda-runtime-cu11') distributions.
and similar errors. It seems that pytorch doesn't have the right dependencies documented, which causes this. One suggestion was to manually set the dependencies: https://github.com/pytorch/pytorch/issues/100974#issuecomment-1541856571 however that's not very sustainable/ and would require constant update. This happens with 2.0.1, 2.1.0 torch as well. I was wondering if anyone had found a solution?
1
l
f
Great, thank you!