Skip to content

Conversation

@SandSnip3r
Copy link

@SandSnip3r SandSnip3r commented Jan 8, 2026

Description

I ran through the TensorRT-RTX installation/build/run instructions and ran into some issues along the way. I am on a fresh install, so I think I uncovered some installation steps that might've been not noticed on a more mature development machine.

Fixes # (issue)

Type of change

  • Documentation only change

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

@meta-cla
Copy link

meta-cla bot commented Jan 8, 2026

Hi @SandSnip3r!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 8, 2026
Copy link
Collaborator

@lanluo-nvidia lanluo-nvidia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some minor comments
LGTM


Download and install the CUDA Toolkit from the `NVIDIA Developer website <https://developer.nvidia.com/cuda-downloads>`_.

**Important:** Check the required CUDA version in the `MODULE.bazel <https://github.com/pytorch/TensorRT/blob/main/MODULE.bazel>`_ file. You must install the exact CUDA toolkit version specified there (for example, at the time of writing, CUDA 13.0 is required).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supported cuda version are cu129 and cu130,
if you have cu129 installed, you can change this line https://github.com/pytorch/TensorRT/blob/main/MODULE.bazel#L39
to your version

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since multiple versions are supported, should we just change the MODULE.bazel to look at the /usr/local/cuda/ path instead? Then we don't have to mention specific versions in this document.

Or would you just prefer if I add what you commented to the document?

# Install PyTorch nightly build (check CUDA version in MODULE.bazel)
# Replace cuXXX with your CUDA version (e.g., cu130 for CUDA 13.0)
pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cuXXX
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add a explaination, if user is building torch_tensorrt from TOT(torch_tensorrt TOT is aligned with torch TOT),
It is using the torch nightly,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the explanation, please take a look

# Replace cuXXX with your CUDA version (e.g., cu130 for CUDA 13.0)
pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cuXXX
# If you encounter version conflicts during the build, you may need to specify
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are building in a time where torch is already upgraded to 2.11.dev, and torch_tensorrt has not yet upgraded to 2.11.dev
(normally this happens only a few days during release upgrade)
I would suggest to remove this section, it might confuse user.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the section. Thanks for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants