Repository navigation
[Dep] Upgrade flashinfer to 0.6.14 - #29910
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the FlashInfer dependency version from 0.6.12 to 0.6.14 across the Dockerfile, pyproject.toml dependencies, package version assertions, and utility docstrings. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
/rerun-failed-ci |
|
Blocked by releasing of flashinfer-cubin wheel |
flashinfer-cubin is no longer published as a plain PyPI dependency, so install it directly from https://flashinfer.ai/whl (same pattern as flashinfer-jit-cache) in both the Docker build and CI dependency setup.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Maybe we should also update these for the new cubin install path and version-bump logic?
|
|
@leejnau We don't need to change that, since for most cases (when using pip), it's OK for the cubin to be downloaded during the server launch anyway |
| ARG GITHUB_ARTIFACTORY=github.com | ||
| ARG INSTALL_FLASHINFER_JIT_CACHE=0 | ||
| ARG FLASHINFER_VERSION=0.6.12 | ||
| ARG FLASHINFER_VERSION=0.6.14 |
There was a problem hiding this comment.
Maybe update documents for flashifner-jitcache/cubin installation
| # TEMP workaround: flashinfer-cubin 0.6.14 is not on PyPI yet | ||
| # (flashinfer-ai/flashinfer#3808), so install it from the GitHub release. | ||
| # Switch back to flashinfer_cubin==0.6.14 once the wheel lands on PyPI. | ||
| "flashinfer_cubin @ https://github.com/flashinfer-ai/flashinfer/releases/download/v0.6.14/flashinfer_cubin-0.6.14-py3-none-any.whl", |
There was a problem hiding this comment.
Why we are not doing this
There was a problem hiding this comment.
@Fridge003 @b8zhong removed this, but actually I prefer this so source/wheel installs still pull flashinfer_cubin automatically
|
/rerun-failed-ci |
| && mkdir -p /flashinfer_jit_output \ | ||
| # flashinfer-cubin is CUDA-version-agnostic, unlike jit-cache, so its index-url has no cu${CUINDEX} suffix | ||
| && python3 -m pip install flashinfer-cubin==${FLASHINFER_VERSION} --index-url https://flashinfer.ai/whl \ | ||
| && cp -r /usr/local/lib/python3.12/dist-packages/flashinfer_cubin /flashinfer_jit_output/ \ |
There was a problem hiding this comment.
Why are we doing this? This will increase image size @mmangkad
There was a problem hiding this comment.
Cubin was already included by pip. We just do it to be the same as before
| out_no_graph = _run_wrapper(wrapper_no_graph, tensors) | ||
| out_graph = _run_wrapper(wrapper_graph, tensors) | ||
| out_graph2 = _run_wrapper(wrapper_graph, tensors) | ||
|
|
There was a problem hiding this comment.
Flashinfer refactored the wrappper (for cuda graph). flashinfer-ai/flashinfer#3404 (now no way to pass preallocaetd buffer if not in cuda graph)
|
/tag-and-rerun-ci extra |
Co-authored-by: Brayden Zhong <[email protected]> Co-authored-by: Mohammad Miadh Angkad <[email protected]>
来源提交(1 个):b52b3cc5aa 原标题:[Dep] Upgrade flashinfer to 0.6.14 (sgl-project#29910) 作者:Baizhou Zhang,日期:2026-07-09 luno:- 开关:- 默认:无开关 改动规模:6 files changed, 48 insertions(+), 25 deletions(-) 主要目录:docker/Dockerfile, python/pyproject.toml, python/sglang/srt/entrypoints, python/sglang/srt/utils
Motivation
Modifications
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): 🚫 Run #29049902482
Latest PR Test (Extra): ✅ Run #29049902443