From 8c56fe05fd4bbbfa25fb180ed70f77fda5f36036 Mon Sep 17 00:00:00 2001 From: My12123 <49092250+My12123@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:50:03 +0300 Subject: [PATCH] Update Installer for Windows. Open for reading in the editor.bat --- ...taller for Windows. Open for reading in the editor.bat | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Windows_Installation_script/Installer for Windows. Open for reading in the editor.bat b/Windows_Installation_script/Installer for Windows. Open for reading in the editor.bat index 5231c36..291879e 100644 --- a/Windows_Installation_script/Installer for Windows. Open for reading in the editor.bat +++ b/Windows_Installation_script/Installer for Windows. Open for reading in the editor.bat @@ -3,12 +3,14 @@ @rem Install python 3.10 @rem Pre-installation steps copy files from TensorRT-8.6.0.12\onnx_graphsurgeon and TensorRT-8.6.0.12\python and place in .\ @rem This installer supports TensorRT-8.6.0.12 for now but you can change that to whatever version you need. -@rem Post-Installation Steps: Download and copy files from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin and TensorRT\lib to .\venv\Scripts\ +@rem Post-Installation Steps: Download and copy files from TensorRT\lib to .\venv\Scripts\ @rem This is necessary so as not to add to PATH. python -m venv venv call .\venv\Scripts\activate -pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 +pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 pip install -r requirements.txt pip install onnx_graphsurgeon-0.3.12-py2.py3-none-any.whl pip install tensorrt-8.6.0-cp310-none-win_amd64.whl -call pip install git+https://github.com/NVIDIA-AI-IOT/torch2trt.git +call git clone https://github.com/NVIDIA-AI-IOT/torch2trt.git +call cd torch2trt +call python setup.py install