Skip to content

Conversation

@nv-anants
Copy link
Contributor

@nv-anants nv-anants commented Jul 10, 2025

Overview:

update nixl build and crate version to 0.4.0 release

ref: OPS-367

Summary by CodeRabbit

  • Chores
    • Updated the NIXL package version to 0.4.0 in documentation and dependency configurations.
    • Updated internal references to use the latest NIXL commit for builds.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 10, 2025

Walkthrough

This update changes the NIXL dependency from version 0.3.1 to 0.4.0 across documentation, build scripts, and Rust dependencies. The commit hash for NIXL in the build script is updated, and the support matrix and Cargo.toml now reference the new version. No other logic or compatibility details are modified.

Changes

Files / Groups Change Summary
container/build.sh Updated NIXL_COMMIT to a new commit hash for NIXL.
docs/support_matrix.md Bumped NIXL version from 0.3.1 to 0.4.0 in support matrix.
lib/llm/Cargo.toml Updated nixl-sys dependency from 0.3.1 to 0.4.0.

Possibly related PRs

Poem

A hop and a skip, the version jumps high,
NIXL’s new number now lights up the sky.
Docs and dependencies, all in a row,
Marching to 0.4.0!
With hashes refreshed and builds up to date,
This bunny approves—let’s celebrate! 🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🔭 Outside diff range comments (1)
container/build.sh (1)

117-121: Switch to using the v0.4.0 tag for resilience

I’ve verified that refs/tags/v0.4.0 on https://github.com/ai-dynamo/nixl.git currently resolves to
3c47a48955e6f96bd5d4fb43a9d80bb64722f8e4, matching your hard-pinned SHA. To avoid future drift if the tag moves or is re-tagged, I recommend defaulting to the tag name and allowing an override:

• In container/build.sh around lines 117–121, replace:

- NIXL_COMMIT=3c47a48955e6f96bd5d4fb43a9d80bb64722f8e4
+ # Default to the v0.4.0 tag, but allow override for patch bumps
+ NIXL_COMMIT=${NIXL_COMMIT:-v0.4.0}

• CI or deploy jobs can bump NIXL_COMMIT in one place for security patches.
• If you ever need to pin to a specific SHA, you still can by exporting NIXL_COMMIT beforehand.

This keeps the script clear and makes minor version updates trivial.

🧹 Nitpick comments (3)
lib/llm/Cargo.toml (1)

88-89: Exact-pin to 0.4.0 may block security/bug-fix patch releases

All other third-party crates here use semver-compatible version ranges ("0.26", "0.16", etc.). Suggest matching that style unless you have a reproducibility requirement:

-nixl-sys = {version = "0.4.0", optional = true }
+nixl-sys = {version = "0.4", optional = true }

This will auto-pull 0.4.x bug-fixes without further PRs.

</review_comment_end -->

docs/support_matrix.md (2)

70-77: Update footnotes when bumping major deps

You already bumped the NIXL version to 0.4.0 👍. The adjacent footnote still references ai-dynamo-vllm 0.8.4.post4 and TensorRT-LLM 1.0.0rc – confirm these are consistent with the container images produced by build.sh.

</review_comment_end -->


84-86: Minor formatting: keep versions aligned

For readability, align the three-row block-dependency table:

-| **TensorRT-LLM**     | 1.0.0rc²                                                                         |
-| **NIXL**             | 0.4.0                                                                            |
+| **TensorRT-LLM** | 1.0.0rc² |
+| **NIXL**       | 0.4.0     |

(optional)

</review_comment_end -->

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8334541 and 6f040df.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • lib/bindings/python/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • container/build.sh (1 hunks)
  • docs/support_matrix.md (1 hunks)
  • lib/llm/Cargo.toml (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: kthui
PR: ai-dynamo/dynamo#1424
File: lib/runtime/src/pipeline/network/egress/push_router.rs:204-209
Timestamp: 2025-06-13T22:07:24.843Z
Learning: The codebase uses async-nats version 0.40, not the older nats crate. Error handling should use async_nats::error::Error variants, not nats::Error variants.
lib/llm/Cargo.toml (1)
Learnt from: kthui
PR: ai-dynamo/dynamo#1424
File: lib/runtime/src/pipeline/network/egress/push_router.rs:204-209
Timestamp: 2025-06-13T22:07:24.843Z
Learning: The codebase uses async-nats version 0.40, not the older nats crate. Error handling should use async_nats::error::Error variants, not nats::Error variants.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: pre-merge-rust (lib/runtime/examples)
  • GitHub Check: pre-merge-rust (.)
  • GitHub Check: pre-merge-rust (lib/bindings/python)
  • GitHub Check: Build and Test - vllm
🔇 Additional comments (1)
lib/llm/Cargo.toml (1)

33-37: Follow-up: audit for 0.4 API breakage

nixl-sys jumped a minor version – it is likely to have breaking C-ABI or feature-flag changes. Please make sure:

  1. block_manager, testing-nixl, and production code still compile.
  2. The Docker image’s nixl checkout (now 0.4.0) is built with matching Cargo features (e.g. kv-cache flags changed names between 0.3 → 0.4).

Consider a quick cargo check --all-features in CI before merging.

</review_comment_end -->

@nv-anants nv-anants enabled auto-merge (squash) July 10, 2025 21:02
@nv-anants nv-anants merged commit 5fa4cdd into main Jul 10, 2025
16 of 17 checks passed
@nv-anants nv-anants deleted the anants/nixl-040 branch July 10, 2025 21:08
@grahamking
Copy link
Contributor

I think our builders or image need updating, possibly this nixl needs a newer glibc.

I'm seeing this now in "Build and Test - vllm jobs:

61 405.0   = note: /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::path::_List::end() const@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::path::_List::_List(std::filesystem::__cxx11::path::_List const&)@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `__libc_single_threaded@GLIBC_2.32'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `dlclose@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `dlsym@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::path::_List::_List()@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl_common.so: undefined reference to `pthread_setspecific@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `dlopen@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl_common.so: undefined reference to `pthread_sigmask@GLIBC_2.32'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `dlerror@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl_common.so: undefined reference to `__isoc23_strtol@GLIBC_2.38'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl_common.so: undefined reference to `pthread_getspecific@GLIBC_2.34'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::path::_List::_Impl_deleter::operator()(std::filesystem::__cxx11::path::_List::_Impl*) const@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl.so: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()@GLIBCXX_3.4.26'
#61 405.0           /opt/rh/gcc-toolset-14/root/usr/libexec/gcc/x86_64-redhat-linux/14/ld: /opt/nvidia/nvda_nixl/lib/x86_64-linux-gnu/libnixl_common.so: undefined reference to `pthread_key_create@GLIBC_2.34'
#61 405.0           collect2: error: ld returned 1 exit status

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants