powerful-scooter-95162
07/13/2023, 12:32 AMtorch = {version="2.0.1", file = "<https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp311-cp311-linux_x86_64.whl>", platform_system = "== 'Linux'", platform_python_implementation = "== 'CPython'", platform_machine = "== 'x86_64'", python_version = "== '3.11'"}
And that is sufficient for pipenv to generate a lockfile, however when I run
pants generate-lockfiles
I get this error:
ERROR: No matching distribution found for torch==2.0.1+cu118
Which seems to imply pants is trying to find the dep on pypi (where it is not available), rather than using the specified wheel. I also tried setting version="2.0.1+cu118" in my Pipfile, but that did not help.broad-processor-92400
07/13/2023, 12:34 AMpowerful-scooter-95162
07/13/2023, 12:40 AMpowerful-scooter-95162
07/13/2023, 12:57 AMbroad-processor-92400
07/13/2023, 12:58 AMpowerful-scooter-95162
07/13/2023, 1:03 AM[python-repos]
indexes = [
"<https://pypi.org/simple/>",
"<https://download.pytorch.org/whl/cu118/>"
]