-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
I had two issues when using CPU-only torch. Fixed both by using GPU torch.
Running Linux PureOS. Installed CPU-only torch with pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu as specified on https://pytorch.org/get-started/locally/ . Then
- Installation failed due to deprecated bdist_wheel (See 1-install.log. Packages are cached because I had just run with
--dry-run.)
There were several errors preventing compiling. I also got warnings such as DEPRECATION: Building 'unidic' using the legacy setup.py bdist_wheel mechanism which led me to pypa/pip#6334. Rerunning with --use-pep517 fixed it. (See 2-pep517.log)
The github link says that project authors should add a pyproject.toml file.
- Running failed (see 3-run.log)
OSError: libtorch_cuda.so: cannot open shared object file: No such file or directory
I fixed this by reinstalling torch and torchvision. No reinstall of torchaudio or melotts was necessary. (See 4-reinstall.log)