[Model Runner V2] Misc code simplification (#35941)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Nick Hill
2026-03-04 15:26:35 -08:00
committed by GitHub
parent 6c21a0c2d7
commit a3299c3d1d
3 changed files with 7 additions and 22 deletions
-1
View File
@@ -85,7 +85,6 @@ class UvaBackedTensor:
self, size: int | Sequence[int], dtype: torch.dtype, max_concurrency: int = 2
):
self.dtype = dtype
self.max_concurrency = max_concurrency
# Source of truth
self.cpu = torch.zeros(size, dtype=dtype, device="cpu", pin_memory=False)