Skip to content

[chore] upgrade flashinfer to 0.6.14 - #2135

Merged
SumanthRH merged 3 commits into
mainfrom
deps/flashinfer-0.6.14
Sep 2, 2026
Merged

[chore] upgrade flashinfer to 0.6.14 #2135
SumanthRH merged 3 commits into
mainfrom
deps/flashinfer-0.6.14

Conversation

@SumanthRH

@SumanthRH SumanthRH commented Sep 1, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Bumps flashinfer packages (flashinfer-python, flashinfer-cubin and flashinfer-jit-cache) to 0.6.14.

For flashinfer-cubin we need to use the wheel on flashinfer's index instead of the wheel on PyPI


Note

Medium Risk
Touches the pinned GPU inference dependency graph (flashinfer + lockfile) used by vLLM on Linux; install/resolution regressions are the main risk, with no production training code changes beyond a small test env fix.

Overview
Aligns the Linux x86_64 flashinfer stack (flashinfer-python, flashinfer-jit-cache, flashinfer-cubin) with 0.6.14, matching what vLLM 0.26.0 expects instead of the previous 0.6.13 pin. Override comments in pyproject.toml are updated to reflect that rationale (including the ≥0.6.13 MNNVL fusion requirement).

Because flashinfer-cubin is not published on PyPI beyond 0.6.13, the PR adds an explicit flashinfer uv index (https://flashinfer.ai/whl/) and wires flashinfer-cubin through [tool.uv.sources] while jit-cache stays on the cu130 index. uv.lock is refreshed accordingly (including transitive bumps such as cuda-tile 1.5.0 tied to the new flashinfer release).

GPU test Ray init only forwards LD_LIBRARY_PATH into the runtime env when it is already set, avoiding propagating a missing/None value.

Reviewed by Cursor Bugbot for commit 9b86de8. Bugbot is set up for automated code reviews on this repo. Configure here.

SumanthRH and others added 2 commits September 1, 2026 23:45
vLLM 0.26.0's own metadata asks for flashinfer-python==0.6.14; we were holding
all three flashinfer packages at 0.6.13 because flashinfer-cubin appeared to
have no 0.6.14 release, and flashinfer hard-errors when cubin's version differs
from its own.

cubin 0.6.14 does exist -- it is just not on PyPI. PyPI stops at 0.6.13, but
flashinfer publishes the pure-python wheel on its own index. So this adds a
`flashinfer` index (https://flashinfer.ai/whl/) and sources flashinfer-cubin
from it, the same way flashinfer-jit-cache already comes from the cu130 index.
flashinfer-python stays on PyPI, which does carry 0.6.14.

All three now move together at 0.6.14, satisfying the version-equality check.
The >=0.6.13 floor still holds, so the MNNVL allreduce+RMS fusion fix is kept.

Lock also picks up two transitive moves: cuda-tile 1.3.0 -> 1.5.0 and the
removal of nvidia-cuda-tileiras.

Testing: on a B200 worker, `test_new_inference_generation.py -m vllm` -- 19
passed. Verified the env under test resolved flashinfer-python 0.6.14,
flashinfer-cubin 0.6.14 and flashinfer-jit-cache 0.6.14+cu130, and that
`import flashinfer` succeeds (the check that would fail on a version mismatch).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7RfwMcdvBsVWS5W61wJEZ
x
Signed-off-by: SumanthRH <sumanthrh@anyscale.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the flashinfer packages (flashinfer-python, flashinfer-jit-cache, and flashinfer-cubin) to version 0.6.14 in pyproject.toml and configures a new CUDA-agnostic index to source flashinfer-cubin. Additionally, it modifies tests/backends/skyrl_train/gpu/utils.py to default LD_LIBRARY_PATH to an empty string if it is not present in the environment. The reviewer correctly pointed out that defaulting LD_LIBRARY_PATH to an empty string can lead to security risks or library resolution issues, and suggested conditionally setting the variable only when it exists in the parent environment.

Comment thread tests/backends/skyrl_train/gpu/utils.py Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@SumanthRH
SumanthRH merged commit 8a15116 into main Sep 2, 2026
7 of 8 checks passed
@SumanthRH
SumanthRH deleted the deps/flashinfer-0.6.14 branch September 12, 2026 02:09
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