Closed vba34520 closed 7 months ago
Thanks for your question. You can change the order in requirements.txt
and install torch
firstly.
Thank you for your job!
I find a solution like this:
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
references Previous PyTorch Versions
It raised
AssertionError: Unable to pre-compile ops without torch installed. Please install torch before attempting to pre-compile ops.