HolyWu / vs-rife

RIFE function for VapourSynth
MIT License
101 stars 9 forks source link

Install torch dependencies, issues? #58

Closed Selur closed 1 month ago

Selur commented 1 month ago

Trying to setup a new environmen, I extracted a portable Python into a folder named Vapoursynth70. Installed pip, adjusted 'python312._pth' to

Scripts
Lib\site-packages
python312.zip
.

Then called: python -m pip install --pre -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org and got

F:\VapoursynthR70>python -m pip install --pre -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org
/whl/nightly/cu124 --extra-index-url https://pypi.nvidia.com
Looking in indexes: https://download.pytorch.org/whl/nightly/cu124, https://pypi.nvidia.com
Collecting torch
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240920%2Bcu124-cp312-cp312-win_amd64.whl (2512.7 MB)
Collecting torchvision
  Using cached https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240920%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
Collecting torch_tensorrt
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240921%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
Collecting filelock (from torch)
  Downloading https://download.pytorch.org/whl/nightly/filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting typing-extensions>=4.8.0 (from torch)
  Downloading https://download.pytorch.org/whl/nightly/typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting networkx (from torch)
  Downloading https://download.pytorch.org/whl/nightly/networkx-3.3-py3-none-any.whl (1.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 11.5 MB/s eta 0:00:00
Collecting jinja2 (from torch)
  Downloading https://download.pytorch.org/whl/nightly/Jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting fsspec (from torch)
  Downloading https://download.pytorch.org/whl/nightly/fsspec-2024.6.1-py3-none-any.whl (177 kB)
Requirement already satisfied: setuptools in f:\vapoursynthr70\lib\site-packages (from torch) (75.1.0)
Collecting sympy==1.13.1 (from torch)
  Using cached https://download.pytorch.org/whl/nightly/sympy-1.13.1-py3-none-any.whl (6.2 MB)
Collecting mpmath<1.4,>=1.1.0 (from sympy==1.13.1->torch)
  Downloading https://download.pytorch.org/whl/nightly/mpmath-1.3.0-py3-none-any.whl (536 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 17.1 MB/s eta 0:00:00
Collecting numpy (from torchvision)
  Using cached https://download.pytorch.org/whl/nightly/numpy-1.26.4-cp312-cp312-win_amd64.whl (15.5 MB)
Collecting torch
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240919%2Bcu124-cp312-cp312-win_amd64.whl (2512.7 MB)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision)
  Using cached https://download.pytorch.org/whl/nightly/Pillow-10.1.0-cp312-cp312-win_amd64.whl (2.6 MB)
INFO: pip is looking at multiple versions of torch-tensorrt to determine which version is compatible with other requirements. This could take a while.
Collecting torch_tensorrt
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240920%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240919%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240918%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240917%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240916%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240915%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240914%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
INFO: pip is still looking at multiple versions of torch-tensorrt to determine which version is compatible with other requirements. This could take a while.
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240913%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240912%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240911%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240910%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240909%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240908%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240907%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240906%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240905%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240904%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240903%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240902%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240901%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240831%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240830%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240829%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240828%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240827%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240826%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240825%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240824%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240823%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240822%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240821%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240820%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240819%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240818%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240817%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240816%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240815%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240814%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240813%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240812%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240811%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240810%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240809%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240808%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240807%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240806%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240805%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240804%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240803%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240802%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240731%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240730%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240729%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240728%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240727%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240726%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240725%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240724%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.5.0.dev20240723%2Bcu124-cp312-cp312-win_amd64.whl (2.8 MB)
Collecting torchvision
  Using cached https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240919%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
Collecting torch
  Using cached https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240918%2Bcu124-cp312-cp312-win_amd64.whl (2512.6 MB)
Collecting torchvision
  Using cached https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240918%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
  Using cached https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240917%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
Collecting torch
  Downloading https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240917%2Bcu124-cp312-cp312-win_amd64.whl (2512.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 GB 11.4 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240916%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 10.1 MB/s eta 0:00:00
Collecting torch
  Downloading https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240915%2Bcu124-cp312-cp312-win_amd64.whl (2510.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 GB 9.8 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240915%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 9.1 MB/s eta 0:00:00
  Downloading https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20240914%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 9.2 MB/s eta 0:00:00
Collecting torch
  Downloading https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20240914%2Bcu124-cp312-cp312-win_amd64.whl (2510.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━ 1.6/2.5 GB 12.6 MB/s eta 0:01:11

Is this correct ist seems strange that it downloads multiple torch-2.6.0.dev versions,...

Selur commented 1 month ago

Okay, forget it actually stopped after a while.