Update Dockerfile.ci to ensure consistent formatting of flashinfer version extraction commands for improved readability and maintainability.

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
tzhouam committed 2026-02-10 03:53:55 +00:00
1 parent 58d09ed656
commit 3c5b53358c
1 file changed
+2 -2
+2 -2
View File
@@ -23,8 +23,8 @@ RUN uv pip install --system --upgrade --force-reinstall --prerelease=allow vllm
# Keep flashinfer runtime packages in version sync.
# We derive the version from installed flashinfer-python (pulled by vllm)
# and enforce the same version for flashinfer-cubin / flashinfer-jit-cache.
RUN FLASHINFER_VERSION="$(python3 -c 'import importlib.metadata as m; print(m.version(\"flashinfer-python\"))')" && \
FLASHINFER_CUDA_TAG="$(python3 -c 'import torch; print((torch.version.cuda or \"12.4\").replace(\".\", \"\"))')" && \
RUN FLASHINFER_VERSION="$(python3 -c 'import importlib.metadata as m; print(m.version("flashinfer-python"))')" && \
FLASHINFER_CUDA_TAG="$(python3 -c 'import torch; print((torch.version.cuda or "12.4").replace(".", ""))')" && \
uv pip install --system --upgrade --force-reinstall \
"flashinfer-cubin==${FLASHINFER_VERSION}" \
"flashinfer-jit-cache==${FLASHINFER_VERSION}" \