mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160366 Approved by: https://github.com/Skylion007 ghstack dependencies: #160362, #160363, #160364, #160365
13 lines
383 B
Python
13 lines
383 B
Python
# import torch # type: ignore[import]
|
|
# from .common import device_from_inputs, fake_tensor_unsupported # type: ignore[import]
|
|
# from .registry import register_backend # type: ignore[import]
|
|
|
|
"""
|
|
Placeholder for TensorRT backend for dynamo via torch-tensorrt
|
|
"""
|
|
|
|
# @register_backend
|
|
# def tensorrt(gm, example_inputs):
|
|
# import torch_tensorrt # type: ignore[import]
|
|
# pass
|