Open timeatokai opened 1 year ago
We would recommend using a torch >= 1.13.0 image if NVIDIA NGC has one. (functorch comes with the pytorch installation as of PyTorch 1.13.0).
If you really need to get functorch working with an older version of PyTorch: the procedure is to find the commit hash of PyTorch that the PyTorch build uses, find the nearest functorch commit hash (in terms of date/time), and then:
pip install git+https://github.com/pytorch/functorch.git@commit_hash
Hi,
I'm using Nvidia's PyTorch NGC Docker image 22.02, which contains Torch 1.11.0a0+17540c5c. I cannot install any version of Functorch and keep the original version of Torch at the same time. Installing another version of Torch is not an option due to the danger of breaking dependencies. This problem probably appears for most or all NGC images that contain Torch older than 1.13.0, as I've only ever seen them contain custom versions of it.
The command
outputs (with company data removed):
installing Functorch 0.1.0 or 0.1.1 with
--no-deps
doesn't work: