<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[vllm v0.22.0 加载qwen3.6 报错 #flashinfer]]></title><description><![CDATA[<p dir="auto">vllm 升级到v0.22.0后加载大模型会报错，Deepseek分析vllm的模型加载日志后，提示是从排查flashinfer的问题入手。</p>
<h1>群友遇到过这样的问题吗？ 是怎么解决的？</h1>
<h1>GPU Information</h1>
<p dir="auto">Sat May 30 19:14:11 2026<br />
+-----------------------------------------------------------------------------------------+<br />
| NVIDIA-SMI 595.71.05              Driver Version: 595.71.05      CUDA Version: 13.2     |<br />
+-----------------------------------------+------------------------+----------------------+<br />
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |<br />
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |<br />
|                                         |                        |               MIG M. |<br />
|=========================================+========================+======================|<br />
|   0  NVIDIA RTX 5880 Ada Gene...    Off |   00000000:AF:00.0 Off |                  Off |<br />
| 30%   51C    P8             31W /  285W |      15MiB /  49140MiB |      0%      Default |<br />
|                                         |                        |                  N/A |<br />
+-----------------------------------------+------------------------+----------------------+</p>
<p dir="auto">+-----------------------------------------------------------------------------------------+</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Processes:</th>
</tr>
<tr>
<th>GPU   GI   CI              PID   Type   Process name                        GPU Memory</th>
</tr>
<tr>
<th>ID   ID                                                               Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td>0   N/A  N/A            4146      G   /usr/lib/xorg/Xorg                        4MiB</td>
</tr>
</tbody>
</table>
<p dir="auto">+-----------------------------------------------------------------------------------------+</p>
<h1>====================================================<br />
CUDA Version</h1>
<p dir="auto">nvcc: NVIDIA (R) Cuda compiler driver<br />
Copyright (c) 2005-2023 NVIDIA Corporation<br />
Built on Fri_Jan__6_16:45:21_PST_2023<br />
Cuda compilation tools, release 12.0, V12.0.140<br />
Build cuda_12.0.r12.0/compiler.32267302_0</p>
<h1>====================================================<br />
Python Version</h1>
<p dir="auto">Python 3.12.3</p>
<h1>====================================================<br />
vLLM Package</h1>
<p dir="auto">Name: vllm<br />
Version: 0.22.0<br />
Summary: A high-throughput and memory-efficient inference and serving engine for LLMs<br />
Home-page: <a href="https://github.com/vllm-project/vllm" rel="nofollow ugc">https://github.com/vllm-project/vllm</a><br />
Author: vLLM Team<br />
Author-email:<br />
License-Expression: Apache-2.0<br />
Location: /home/ames/vllm_env/lib/python3.12/site-packages<br />
Requires: aiohttp, anthropic, apache-tvm-ffi, blake3, cachetools, cbor2, cloudpickle, compressed-tensors, depyf, diskcache, einops, fastapi, fastsafetensors, filelock, flashinfer-cubin, flashinfer-python, gguf, humming-kernels, ijson, lark, llguidance, lm-format-enforcer, mcp, mistral_common, model-hosting-container-standards, msgspec, ninja, numba, numpy, nvidia-cudnn-frontend, nvidia-cutlass-dsl, openai, openai-harmony, opencv-python-headless, opentelemetry-api, opentelemetry-exporter-otlp, opentelemetry-sdk, opentelemetry-semantic-conventions-ai, outlines_core, partial-json-parser, pillow, prometheus-fastapi-instrumentator, prometheus_client, protobuf, psutil, py-cpuinfo, pybase64, pydantic, python-json-logger, pyyaml, pyzmq, quack-kernels, regex, requests, safetensors, sentencepiece, setproctitle, setuptools, six, tiktoken, tilelang, tokenizers, tokenspeed-mla, torch, torchaudio, torchvision, tqdm, transformers, typing_extensions, watchfiles, xgrammar<br />
Required-by:</p>
<h1>====================================================<br />
FlashInfer Package</h1>
<p dir="auto">Name: flashinfer-python<br />
Version: 0.6.11.post2<br />
Summary: FlashInfer: Kernel Library for LLM Serving<br />
Home-page: <a href="https://github.com/flashinfer-ai/flashinfer" rel="nofollow ugc">https://github.com/flashinfer-ai/flashinfer</a><br />
Author: FlashInfer team<br />
Author-email:<br />
License-Expression: Apache-2.0<br />
Location: /home/ames/vllm_env/lib/python3.12/site-packages<br />
Requires: apache-tvm-ffi, click, cuda-tile, einops, ninja, numpy, nvidia-cudnn-frontend, nvidia-cutlass-dsl, nvidia-ml-py, packaging, requests, tabulate, torch, tqdm<br />
Required-by: vllm</p>
<h1>====================================================<br />
Core AI Packages</h1>
<p dir="auto">flashinfer-cubin                         0.6.11.post2<br />
flashinfer-python                        0.6.11.post2<br />
tokenspeed-triton                        3.7.10.post20260505<br />
torch                                    2.11.0+cu130<br />
torch_c_dlpack_ext                       0.1.5<br />
torchaudio                               2.11.0+cu130<br />
torchvision                              0.26.0+cu130<br />
triton                                   3.6.0<br />
vllm                                     0.22.0</p>
<h1>====================================================<br />
PyTorch CUDA Information</h1>
<p dir="auto">PyTorch Version: 2.11.0+cu130<br />
CUDA Available: True<br />
CUDA Version: 13.0<br />
GPU Count: 1<br />
GPU Name: NVIDIA RTX 5880 Ada Generation<br />
GPU Capability: (8, 9)</p>
<h1>====================================================<br />
FlashInfer Cache</h1>
<p dir="auto">总计 27K<br />
drwxrwxr-x  3 ames ames  3  5月 30 18:55 .<br />
drwx------ 19 ames ames 21  5月 30 18:55 ..<br />
drwxrwxr-x  3 ames ames  3  5月 30 18:55 0.6.11.post2</p>
]]></description><link>https://lcz.me/topic/367/vllm-v0.22.0-加载qwen3.6-报错-flashinfer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 23:29:54 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/367.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 May 2026 12:16:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vllm v0.22.0 加载qwen3.6 报错 #flashinfer on Sat, 30 May 2026 17:35:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/williamlouis" aria-label="Profile: williamlouis">@<bdi>williamlouis</bdi></a>   显卡的驱动已经安装了。 GPU Name: NVIDIA RTX 5880 Ada Generation | NVIDIA-SMI 595.71.05 Driver Version: 595.71.05 CUDA Version: 13.2 |</p>
]]></description><link>https://lcz.me/post/4396</link><guid isPermaLink="true">https://lcz.me/post/4396</guid><dc:creator><![CDATA[Billy Shen]]></dc:creator><pubDate>Sat, 30 May 2026 17:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to vllm v0.22.0 加载qwen3.6 报错 #flashinfer on Sat, 30 May 2026 13:02:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/billy" aria-label="Profile: Billy">@<bdi>Billy</bdi></a> Shen 这个问题我遇到过，vllm 0.22.0 对 flashinfer 的依赖版本比较挑。</p>
<p dir="auto">两个方向排查：</p>
<p dir="auto"><strong>方向一：用 vllm 自带的 attention backend</strong><br />
vllm 0.22.0 默认已经内置了几种 attention backend（flash_attn、flashinfer、paged attention），不一定非得依赖 flashinfer。启动时加这个参数跳过 flashinfer 即可：</p>
<pre><code>--attention-backend flash_attn
</code></pre>
<p dir="auto">如果你的 CUDA 环境装了 flash-attn（pip install flash-attn），这个方案最稳，不依赖 flashinfer 的版本兼容性。</p>
<p dir="auto"><strong>方向二：重新安装匹配版本的 flashinfer</strong><br />
如果一定要用 flashinfer，需要装跟 vllm 0.22.0 匹配的版本：</p>
<pre><code>pip uninstall flashinfer -y
pip install flashinfer -U
</code></pre>
<p dir="auto">或者从源码编译指定版本：</p>
<pre><code>pip install flashinfer==0.2.1.post2
</code></pre>
<p dir="auto">最新的 vllm 官方 docker 镜像里已经内置了正确的 flashinfer 版本，如果不介意用 docker 的话也可以直接用官方镜像。</p>
<p dir="auto"><strong>另外注意 CUDA 版本</strong>：你的 CUDA 13.2 比较新，flashinfer 对 CUDA 13.x 的支持可能还不完善。如果装不上，用方向一的 <code>--attention-backend flash_attn</code> 是最省事的替代方案。</p>
<p dir="auto">试完之后可以回来说下结果，如果还报错可以把完整 error log 贴出来看看。</p>
]]></description><link>https://lcz.me/post/4359</link><guid isPermaLink="true">https://lcz.me/post/4359</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sat, 30 May 2026 13:02:31 GMT</pubDate></item><item><title><![CDATA[Reply to vllm v0.22.0 加载qwen3.6 报错 #flashinfer on Sat, 30 May 2026 12:25:49 GMT]]></title><description><![CDATA[<p dir="auto">用 net work 驱动下试试。统一下 cuda 驱动。</p>
]]></description><link>https://lcz.me/post/4354</link><guid isPermaLink="true">https://lcz.me/post/4354</guid><dc:creator><![CDATA[williamlouis]]></dc:creator><pubDate>Sat, 30 May 2026 12:25:49 GMT</pubDate></item></channel></rss>