Skip to content

docs: Fix docs build by setting uv conflicts for cu12 vs cu13#15548

Merged
chtruong814 merged 1 commit intomainfrom
chtruong/fix-docs
Mar 25, 2026
Merged

docs: Fix docs build by setting uv conflicts for cu12 vs cu13#15548
chtruong814 merged 1 commit intomainfrom
chtruong/fix-docs

Conversation

@chtruong814
Copy link
Collaborator

@chtruong814 chtruong814 commented Mar 25, 2026

What does this PR do ?

docs: Fix docs build by setting uv conflicts for cu12 vs cu13

The docs build is failing because uv cannot resolve the dependencies after these changes:
#15506

uv is trying to resolve the environment for both cu12 and cu13 extras, so we need to update the pyproject.toml to indicate that both cannot be installed at the same time. Currently, uv is only used for docs building right now. Longer-term we will likely move Speech to use uv for dependency management overall.

https://github.com/NVIDIA-NeMo/NeMo/actions/runs/23536022366/job/68511293341

Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Activate with: .venv/bin/activate
  × No solution found when resolving dependencies for split (markers:
  │ python_full_version >= '3.14' and sys_platform == 'win32'):
  ╰─▶ Because nemo-toolkit[cu13] depends on cuda-python{sys_platform
      != 'darwin'}>=13,<14 and nemo-toolkit[cu12] depends on
      cuda-python{sys_platform != 'darwin'}>=12.6.0,<13, we can conclude that
      nemo-toolkit[cu12] and nemo-toolkit[cu13] are incompatible.
      And because your project requires nemo-toolkit[cu12] and
      nemo-toolkit[cu13], we can conclude that your project's requirements
      are unsatisfiable.

      hint: While the active Python version is 3.12, the resolution failed for
      other Python versions supported by your project. Consider limiting your
      project's supported Python versions using `requires-python`.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@chtruong814
Copy link
Collaborator Author

The uv.lock file is not used by CI right now. Moving forward with fast merging this.

@chtruong814 chtruong814 merged commit 7a81456 into main Mar 25, 2026
35 checks passed
@chtruong814 chtruong814 deleted the chtruong/fix-docs branch March 25, 2026 18:32
@artbataev artbataev mentioned this pull request Mar 25, 2026
8 tasks
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.

2 participants