Skip to content

🐛 [Bug] Compilation Error on Citrinet-1024 #1487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gs-olive opened this issue Nov 28, 2022 · 0 comments · Fixed by #1488
Closed

🐛 [Bug] Compilation Error on Citrinet-1024 #1487

gs-olive opened this issue Nov 28, 2022 · 0 comments · Fixed by #1488
Assignees
Labels
bug Something isn't working

Comments

@gs-olive
Copy link
Collaborator

Bug Description

When converting the Citrinet-1024 speech recognition network from TorchScript to Torch-TRT, the following error is encountered:

ERROR: [Torch-TensorRT TorchScript Conversion Context] - 3: %66 : Tensor = aten::sum(%mask2.2, %65, %26, %3779)
# ReduceLayer only supports Float, Half, Int8, and Int32 data types.
Segmentation fault (core dumped)

To Reproduce

Steps to reproduce the behavior:

  1. Run torch_tensorrt.compile with Citrinet-1024 model as input, using fp32 precision.
  2. Choose fixed input sizes of [1, 80, 256] and [1,] and enable truncate_long_and_double with 8 GB workspace.

Expected behavior

Model should successfully compile to Torch-TRT. Specifically, internal (non-user-provided) type-casting issues should not cause errors.

Environment

  • Torch-TensorRT Version: 1.3.0a0+1361028c
  • PyTorch Version: 1.13.0.dev20220921+cu116
  • CPU Architecture: Intel Xeon CPU
  • OS: Ubuntu 20.04
  • How you installed PyTorch: pip
  • Build command you used: python setup.py develop
  • Are you using local sources or building from archives: local
  • Python version: 3.8.13
  • CUDA version: 11.6
@gs-olive gs-olive added the bug Something isn't working label Nov 28, 2022
@gs-olive gs-olive self-assigned this Nov 28, 2022
@gs-olive gs-olive changed the title Compilation Error on Citrinet-1024 🐛 [Bug] Compilation Error on Citrinet-1024 Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant