Skip to content
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

Can't build 2.5.0 with Jetpack 6.1 / CUDA 12.6; documentation is incorrect. #3278

Closed
JC3 opened this issue Nov 4, 2024 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@JC3
Copy link

JC3 commented Nov 4, 2024

The documentation at https://pytorch.org/TensorRT/getting_started/jetpack.html states (at the bottom):

Please make sure to build torch_tensorrt wheel file from source release/2.5 branch

However, the file toolchains/jp_workspaces/MODULE.bazel.tmpl doesn't exist in this branch, and so the subsequent instructions for generating a MODULE.bazel file are invalid. Also the default MODULE.bazel in this branch does not work for this build. The documentation is not correct, and the provided workflow cannot be used to build TensorRT.

How do I build TensorRT 2.5.0 on a Jetson (ARM64, Jetpack 6.1 CUDA 12.6 PyTorch 2.5.0)?

Can't use 2.6.0 because there's no Jetson build of PyTorch 2.6.0, only 2.5.0.

@JC3 JC3 added the bug Something isn't working label Nov 4, 2024
@lanluo-nvidia lanluo-nvidia self-assigned this Nov 6, 2024
@lanluo-nvidia
Copy link
Collaborator

@JC3
Here is the jetPack6.1 build PR: https://github.com/pytorch/TensorRT/pull/3211/files
Which has been merged to main only, what you can do is cherry pick the commits in this PR to release/2.5 branch.

@lanluo-nvidia
Copy link
Collaborator

meanwhile I will also cherry pick this into release/2.5 branch

@JC3
Copy link
Author

JC3 commented Nov 6, 2024

@lanluo-nvidia Thanks for this. I was also able to get it to build after hacking on setup.py and MODULE.bazel for a bit, was about to report back here.

But that PR is very useful, thank you.

@lanluo-nvidia
Copy link
Collaborator

@JC3 just to let you know the PR has been cherry picked into release/2.5
#3285

@lanluo-nvidia
Copy link
Collaborator

close it.

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

No branches or pull requests

2 participants