Skip to content

docs: Update nightly package install instructions#4263

Closed
fs-eire wants to merge 1 commit into
pytorch:mainfrom
fs-eire:doc/install-need-extra-index
Closed

docs: Update nightly package install instructions#4263
fs-eire wants to merge 1 commit into
pytorch:mainfrom
fs-eire:doc/install-need-extra-index

Conversation

@fs-eire
Copy link
Copy Markdown

@fs-eire fs-eire commented May 14, 2026

Description

The existing nightly install command uses --index-url, which makes the PyTorch nightly index the only package source. This can fail in clean environments when Torch-TensorRT dependencies must be resolved from PyPI. Adding --extra-index-url https://pypi.org/simple keeps the PyTorch nightly index available for Torch/PyTorch nightly wheels while allowing pip to resolve PyPI-hosted dependencies.

Type of change

Please delete options that are not relevant and/or add your own.

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
Copy Markdown

meta-cla Bot commented May 14, 2026

Hi @fs-eire!

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!

@fs-eire fs-eire force-pushed the doc/install-need-extra-index branch from af85fb8 to fcea941 Compare May 15, 2026 16:33
@fs-eire fs-eire closed this May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant