Skip to content

docs: update wheel install instructions#260

Merged
mckornfield merged 2 commits into
mainfrom
update-install-steps/mck
Mar 30, 2026
Merged

docs: update wheel install instructions#260
mckornfield merged 2 commits into
mainfrom
update-install-steps/mck

Conversation

@mckornfield
Copy link
Copy Markdown
Collaborator

  • Update docs pages as appropriate for install instructions

@mckornfield mckornfield requested a review from a team as a code owner March 18, 2026 22:32
Copilot AI review requested due to automatic review settings March 18, 2026 22:32
Comment thread docs/user-guide/getting-started.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the user-guide documentation to provide complete wheel installation commands (including required package indexes) and to centralize install guidance by linking troubleshooting steps back to the Installation section.

Changes:

  • Expand Getting Started → Install the Package with pip/uv commands and required index URLs for CUDA 12.8 and CPU installs.
  • Add uv-specific guidance (--index-strategy unsafe-best-match) for multi-index resolution.
  • Update Troubleshooting (“No GPU Detected”) to link to the canonical Installation instructions instead of embedding a single command.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/user-guide/troubleshooting.md Replaces an inline CUDA install command with a link to the central Installation section.
docs/user-guide/getting-started.md Adds detailed pip/uv install commands including index configuration for CUDA/CPU/bare installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/user-guide/getting-started.md
Comment thread docs/user-guide/getting-started.md
Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/user-guide/getting-started.md
Comment thread docs/user-guide/getting-started.md
@binaryaaron
Copy link
Copy Markdown
Collaborator

we should update this for devN wheel installs

Copilot AI review requested due to automatic review settings March 24, 2026 20:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates installation documentation to include the correct index URLs needed for CUDA/CPU extras (PyTorch + FlashInfer) and aligns dependency resolution metadata for FlashInfer in uv configuration/lock.

Changes:

  • Document pip/uv install commands for CUDA 12.8 and CPU variants, including required index URLs.
  • Add tool.uv.sources entries for flashinfer-python and flashinfer-cubin, and update uv.lock to resolve cu128 FlashInfer deps from the FlashInfer index.
  • Update troubleshooting guidance and the tutorial notebook install snippet to reference the new install approach.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
uv.lock Adds sdist metadata for griffelib and pins FlashInfer cu128 deps to the FlashInfer index with conflicts metadata.
pyproject.toml Configures uv sources for flashinfer-python / flashinfer-cubin to resolve from the FlashInfer cu128 index for the cu128 extra.
docs/user-guide/troubleshooting.md Points users to the central install instructions (including index URLs) instead of embedding a partial command.
docs/user-guide/getting-started.md Expands installation section with explicit pip/uv commands and rationale for uv index priority behavior.
docs/tutorials/safe-synthesizer-101.ipynb Updates the Colab install cell to use public indexes (PyTorch + FlashInfer) instead of the internal Artifactory endpoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/user-guide/getting-started.md Outdated
Comment thread docs/tutorials/safe-synthesizer-101.ipynb Outdated
Comment thread docs/tutorials/safe-synthesizer-101.ipynb Outdated
Copilot AI review requested due to automatic review settings March 25, 2026 16:34
Comment thread docs/user-guide/getting-started.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/tutorials/safe-synthesizer-101.ipynb Outdated
Comment thread docs/user-guide/getting-started.md
Comment thread docs/user-guide/getting-started.md
Comment thread docs/user-guide/getting-started.md
@mckornfield mckornfield force-pushed the update-install-steps/mck branch from b18e003 to 7acc2cb Compare March 25, 2026 16:40
Comment thread docs/user-guide/getting-started.md
Copilot AI review requested due to automatic review settings March 25, 2026 18:36
@mckornfield mckornfield force-pushed the update-install-steps/mck branch from 7acc2cb to 23bf7a6 Compare March 25, 2026 18:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/user-guide/getting-started.md
}
},
"outputs": [],
"source": "%%capture\n!uv pip install nemo-safe-synthesizer[engine,cu128] --index https://flashinfer.ai/whl/cu128 --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match\n!uv pip install datasets\n"
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The shell command uses an unquoted extras specifier (nemo-safe-synthesizer[engine,cu128]). In many shells, [...] is treated as a glob character class, which can cause the requirement to be rewritten or fail depending on shell settings. Quote the requirement string to make the command robust.

Suggested change
"source": "%%capture\n!uv pip install nemo-safe-synthesizer[engine,cu128] --index https://flashinfer.ai/whl/cu128 --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match\n!uv pip install datasets\n"
"source": "%%capture\n!uv pip install \"nemo-safe-synthesizer[engine,cu128]\" --index https://flashinfer.ai/whl/cu128 --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match\n!uv pip install datasets\n"

Copilot uses AI. Check for mistakes.
Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
@mckornfield mckornfield force-pushed the update-install-steps/mck branch from 23bf7a6 to b760b61 Compare March 25, 2026 20:28
Copilot AI review requested due to automatic review settings March 25, 2026 22:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 45 to +49
"# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n",
"# SPDX-License-Identifier: Apache-2.0\n",
"\n",
"#TODO: Replace the internal NVIDIA Artifactory endpoint with the public PyPI release when available.\n",
"!uv pip install nemo-safe-synthesizer[engine,cu128] --extra-index-url \"https://urm.nvidia.com/artifactory/api/pypi/nv-shared-pypi-local/simple\"\n",
"%%capture\n",
"!uv pip install \"nemo-safe-synthesizer[engine,cu128]\" --index https://flashinfer.ai/whl/cu128 --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match\n",
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

In this notebook cell, %%capture is placed after comment lines. IPython requires cell magics (%%...) to be the very first line in the cell; otherwise the cell will error at runtime. Move %%capture to the top of the source list (before the SPDX comments), or drop the magic and use an alternative output-suppression approach.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The %%capture will cause an error if it's not on the first time, hence why we have %%capture and then the SPDX comments.

Comment on lines 45 to +49
"# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n",
"# SPDX-License-Identifier: Apache-2.0\n",
"\n",
"#TODO: Replace the internal NVIDIA Artifactory endpoint with the public PyPI release when available.\n",
"!uv pip install nemo-safe-synthesizer[engine,cu128] --extra-index-url \"https://urm.nvidia.com/artifactory/api/pypi/nv-shared-pypi-local/simple\"\n",
"%%capture\n",
"!uv pip install \"nemo-safe-synthesizer[engine,cu128]\" --index https://flashinfer.ai/whl/cu128 --index https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The %%capture will cause an error if it's not on the first time, hence why we have %%capture and then the SPDX comments.

Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
@mckornfield mckornfield force-pushed the update-install-steps/mck branch from 775b0d9 to 46650ca Compare March 30, 2026 17:50
@kendrickb-nvidia kendrickb-nvidia mentioned this pull request Mar 30, 2026
7 tasks
@mckornfield mckornfield merged commit 1f05c36 into main Mar 30, 2026
11 checks passed
@mckornfield mckornfield deleted the update-install-steps/mck branch March 30, 2026 18:32
memadi-nv pushed a commit that referenced this pull request Mar 30, 2026
* Update docs/notebook pages as appropriate for install instructions

---------

Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
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.

4 participants