Skip to content

Commit

Permalink
fix trt bullshit
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed May 12, 2024
1 parent f45e8fe commit 57686ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/CustomModelsCUDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def modelOptions(self):
except:
pass
self.ui.Rife_Model.currentIndexChanged.connect(self.greyOutRealSRTimes)
self.greyOutRealSRTimes()
self.ui.Rife_Times.setCurrentIndex(0)
self.ui.denoiseLevelLabel.hide()
self.ui.denoiseLevelSpinBox.hide()
Expand Down
1 change: 1 addition & 0 deletions requirements-CUDA-Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ cupy-cuda11x
fastrlock
https://github.com/pytorch/TensorRT/releases/download/v1.4.0/torch_tensorrt-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tensorrt==8.6.0
polygraphy
7 changes: 4 additions & 3 deletions src/torch/RenderCUDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
try:
import tensorrt
from src.torch.rife.tensorRT import RifeTensorRT
from src.torch.UpscaleImageTensorRT import UniversalTensorRT
except:
pass
from src.torch.UpscaleImageTensorRT import UpscaleTensorRT
except Exception as e:
log(str(e))




Expand Down

0 comments on commit 57686ed

Please sign in to comment.