Skip to content

Commit

Permalink
remove bloat from build-lite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Aug 17, 2024
1 parent 17f2cbf commit c40521f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions build-lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ def create_executable():
"--hidden-import",
"upscale_ncnn_py.upscale_ncnn_py_wrapper",
"--collect-all",
"tensorrt",
"--collect-all",
"tensorrt-cu12-bindings",
"--collect-all",
"tensorrt_libs",
"--collect-all",
"fastrlock",
"--collect-all",
"inquirer",
Expand Down
2 changes: 0 additions & 2 deletions src/unifiedUpscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,12 @@ def handleModel(self):
(1, 3, self.height, self.width),
device=self.deviceType,
dtype=self.torchDType,
pin_memory=True,
).contiguous()

self.dummyOutput = torch.zeros(
(1, 3, self.height * self.upscaleFactor, self.width * self.upscaleFactor),
device=self.deviceType,
dtype=self.torchDType,
pin_memory=True,
).contiguous()

self.IoBinding.bind_output(
Expand Down

0 comments on commit c40521f

Please sign in to comment.