You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering a segmentation fault when running the test case for the full_like converter. We have identified some potential causes, but a definitive solution has not yet been found.
PyTorch 2.4.0a: The function executes without any issues.
PyTorch 2.5.0.dev20240807+cu124: When running the full_like converter test case, the program terminates abruptly with a segmentation fault, and no error message is displayed.
Additional Details
This issue consistently reproduces both in the CI environment and in a local setup using torch 2.5.0.dev20240807+cu124.
When converting, the shape information is extracted from the inputs, but the input tensor itself is lost.
Bug Description
We are encountering a segmentation fault when running the test case for the
full_like
converter. We have identified some potential causes, but a definitive solution has not yet been found.Code Context
File:
py/torch_tensorrt/dynamo/runtime/_TorchTensorRTModule.py
This line is part of the
forward
method, defined as follows:Class:
TorchTensorRTModule(torch.nn.Module)
Behavior Based on PyTorch Version
PyTorch 2.4.0a: The function executes without any issues.
PyTorch 2.5.0.dev20240807+cu124: When running the
full_like
converter test case, the program terminates abruptly with a segmentation fault, and no error message is displayed.Additional Details
This issue consistently reproduces both in the CI environment and in a local setup using
torch 2.5.0.dev20240807+cu124
.When converting, the shape information is extracted from the inputs, but the input tensor itself is lost.
To Reproduce
With PyTorch 2.5.0, run the following command:
This will reproduce the segmentation fault.
Expected Behavior
With PyTorch 2.4.0a, running the same test case should complete successfully without any issues:
Environment
The text was updated successfully, but these errors were encountered: