File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11set  -eou pipefail
22source  " ${BUILD_ENV_FILE} " 
3- #  ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision
3+ 
4+ #  Install test index version of Torch and Torchvision
45${CONDA_RUN}  pip install torch torchvision --index-url https://download.pytorch.org/whl/test/${CU_VERSION} 
56${CONDA_RUN}  pip install pyyaml mpmath==1.3.0
7+ 
8+ #  Install TRT 10 from PyPi
69${CONDA_RUN}  pip install tensorrt==10.0.0b6 tensorrt-${CU_VERSION:: 4} -bindings==10.0.0b6 tensorrt-${CU_VERSION:: 4} -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
10+ 
11+ #  Install pre-built Torch-TRT
712${CONDA_RUN}  pip install ${RUNNER_ARTIFACT_DIR} /torch_tensorrt* .whl
813
914echo  -e " Running test script" ; 
Original file line number Diff line number Diff line change 11python -m pip install -U numpy packaging pyyaml setuptools wheel
2+ 
3+ #  Install Torch from Test Index
24python -m pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/test/${CU_VERSION} 
5+ 
6+ #  Install TRT 10 from PyPi
37python -m pip install tensorrt==10.0.0b6 tensorrt-${CU_VERSION:: 4} -bindings==10.0.0b6 tensorrt-${CU_VERSION:: 4} -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
48
59choco install bazelisk -y
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ def load_dep_info():
8282
8383CXX11_ABI  =  False 
8484JETPACK_VERSION  =  None 
85- PY_ONLY  =  sys .platform .startswith ("win" )
85+ # TODO: Remove once C++ Runtime is integrated in Windows 
86+ PY_ONLY  =  IS_WINDOWS 
8687NO_TS  =  False 
8788LEGACY  =  False 
8889RELEASE  =  False 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments