10.11.2024, 16:06
yes, you need to align your torch version to the last nightly build.
PS D:\Programs\Hybrid\64bit\Vapoursynth> .\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
Requirement already satisfied: torch in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (2.6.0.dev20241101+cu124)
Collecting torch
Using cached https://download.pytorch.org/whl/nightly/cu124/torch-2.6.0.dev20241109%2Bcu124-cp312-cp312-win_amd64.whl (2518.0 MB)
Requirement already satisfied: torchvision in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (0.20.0.dev20241101+cu124)
Collecting torchvision
Using cached https://download.pytorch.org/whl/nightly/cu124/torchvision-0.20.0.dev20241109%2Bcu124-cp312-cp312-win_amd64.whl (6.3 MB)
Requirement already satisfied: torch_tensorrt in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (2.6.0.dev20241101+cu124)
Collecting torch_tensorrt
Using cached https://download.pytorch.org/whl/nightly/cu124/torch_tensorrt-2.6.0.dev20241109%2Bcu124-cp312-cp312-win_amd64.whl (2.9 MB)
Requirement already satisfied: filelock in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (3.13.1)
Requirement already satisfied: typing-extensions>=4.10.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (4.12.2)
Requirement already satisfied: networkx in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (3.3)
Requirement already satisfied: jinja2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (3.1.4)
Requirement already satisfied: fsspec in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (2024.6.1)
Requirement already satisfied: setuptools in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (75.1.0)
Requirement already satisfied: sympy==1.13.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch) (1.13.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from sympy==1.13.1->torch) (1.3.0)
Requirement already satisfied: numpy in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torchvision) (1.26.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torchvision) (10.1.0)
Collecting tensorrt-cu12==10.3.0 (from torch_tensorrt)
Using cached tensorrt_cu12-10.3.0-py2.py3-none-any.whl
Collecting tensorrt-cu12-bindings==10.3.0 (from torch_tensorrt)
Using cached https://pypi.nvidia.com/tensorrt-cu12-bindings/tensorrt_cu12_bindings-10.3.0-cp312-none-win_amd64.whl (788 kB)
Collecting tensorrt-cu12-libs==10.3.0 (from torch_tensorrt)
Using cached https://pypi.nvidia.com/tensorrt-cu12-libs/tensorrt_cu12_libs-10.3.0-py2.py3-none-win_amd64.whl (1062.8 MB)
Requirement already satisfied: packaging>=23 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch_tensorrt) (24.1)
Requirement already satisfied: nvidia-cuda-runtime-cu12 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from tensorrt-cu12-libs==10.3.0->torch_tensorrt) (12.6.68)
Requirement already satisfied: MarkupSafe>=2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from jinja2->torch) (2.1.5)
Installing collected packages: tensorrt-cu12-bindings, tensorrt-cu12-libs, tensorrt-cu12, torch, torchvision, torch_tensorrt
Attempting uninstall: tensorrt-cu12-bindings
Found existing installation: tensorrt-cu12_bindings 10.5.0
Uninstalling tensorrt-cu12_bindings-10.5.0:
Successfully uninstalled tensorrt-cu12_bindings-10.5.0
Attempting uninstall: tensorrt-cu12-libs
Found existing installation: tensorrt-cu12_libs 10.5.0
Uninstalling tensorrt-cu12_libs-10.5.0:
Successfully uninstalled tensorrt-cu12_libs-10.5.0
Attempting uninstall: tensorrt-cu12
Found existing installation: tensorrt-cu12 10.5.0
Uninstalling tensorrt-cu12-10.5.0:
Successfully uninstalled tensorrt-cu12-10.5.0
Attempting uninstall: torch
Found existing installation: torch 2.6.0.dev20241101+cu124
Uninstalling torch-2.6.0.dev20241101+cu124:
Successfully uninstalled torch-2.6.0.dev20241101+cu124
WARNING: The scripts convert-caffe2-to-onnx.exe, convert-onnx-to-caffe2.exe, torchfrtrace.exe and torchrun.exe are installed in 'D:\Programs\Hybrid\64bit\Vapoursynth\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Attempting uninstall: torchvision
Found existing installation: torchvision 0.20.0.dev20241101+cu124
Uninstalling torchvision-0.20.0.dev20241101+cu124:
Successfully uninstalled torchvision-0.20.0.dev20241101+cu124
Attempting uninstall: torch_tensorrt
Found existing installation: torch_tensorrt 2.6.0.dev20241101+cu124
Uninstalling torch_tensorrt-2.6.0.dev20241101+cu124:
Successfully uninstalled torch_tensorrt-2.6.0.dev20241101+cu124
Successfully installed tensorrt-cu12-10.3.0 tensorrt-cu12-bindings-10.3.0 tensorrt-cu12-libs-10.3.0 torch-2.6.0.dev20241109+cu124 torch_tensorrt-2.6.0.dev20241109+cu124 torchvision-0.20.0.dev20241109+cu124