Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions py/torch_tensorrt/dynamo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,18 +859,6 @@ def get_output_dtypes(output: Any, truncate_double: bool = False) -> List[dtype]
return output_dtypes


def is_tegra_platform() -> bool:
if torch.cuda.get_device_capability() in [(8, 7), (7, 2)]:
return True
return False


def is_thor() -> bool:
if torch.cuda.get_device_capability() in [(11, 0)]:
return True
return False


def get_cpu_memory_usage() -> Any:
return psutil.Process().memory_info().rss / 1024 / 1024

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ def run(self):
"packaging>=23",
"typing-extensions>=4.7.0",
"dllist",
"psutil",
# dummy package as a WAR for the tensorrt dependency on nvidia-cuda-runtime-cu13
"nvidia-cuda-runtime-cu13==0.0.0a0",
]
Expand Down
Loading