[Bug]: Qwen3-30B-A3B-Thinking-2507-FP4卡在Loading weights concurrently: 63%|██████▎ | 703/1113
System Info
x86_64 256G内存 5060TI 16G *2 Linux内核6.12 CUDA 12.9 nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc3
运行的时候卡在如下位置,一动不动,也不报错!
[2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.00019909087859559804 != 0.00018019905837718397), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (8.973621879704297e-05 != 9.591239358996972e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.00017511278565507382 != 0.00016929992125369608), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (9.046282502822578e-05 != 0.00010027204552898183), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (8.210682426579297e-05 != 9.518578735878691e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.00017147973994724452 != 0.000152587890625), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (5.631220119539648e-05 != 7.956368790473789e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (9.046282502822578e-05 != 7.302420999621972e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (7.338751311181113e-05 != 0.00010390509123681113), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.00021507628844119608 != 0.0001554943446535617), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (8.392334711970761e-05 != 9.046282502822578e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (7.92003920651041e-05 != 7.375082350336015e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.00019182478717993945 != 0.00013442267663776875), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (6.975446740398183e-05 != 7.702056609559804e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (6.285168637987226e-05 != 6.103515625e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (5.013602276449092e-05 != 6.939116428839043e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (0.0002470470790285617 != 0.0001860119227785617), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (5.4495678341481835e-05 != 7.556733908131719e-05), selecting the larger value. Accuracy may be affected. [2025-09-15 02:22:37] WARNING quantization.py:1680: w1_weight_scale_2 != w3_weight_scale_2 (4.7592893679393455e-05 != 5.30424622411374e-05), selecting the larger value. Accuracy may be affected. Loading weights concurrently: 100%|██████████| 1113/1113 [00:19<00:00, 58.22it/s] Model init total -- 26.22s [09/15/2025-02:22:37] [TRT-LLM] [RANK 0] [I] Using Sampler: TorchSampler [09/15/2025-02:22:37] [TRT-LLM] [RANK 0] [W] Both free_gpu_memory_fraction and max_tokens are set (to 0.800000011920929 and 32832, respectively). The smaller value will be used. Loading weights concurrently: 63%|██████▎ | 703/1113 [00:24<00:05, 80.59it/s]
Who can help?
@kaiyux
Information
- [x] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)
Reproduction
trtllm-serve /gpt/models/NVFP4/Qwen3-30B-A3B-Thinking-2507-FP4 --host 0.0.0.0 --port 8000 --backend pytorch --max_batch_size 8 --max_num_tokens 32768 --max_seq_len 32768 --kv_cache_free_gpu_memory_fraction 0.8 --tp_size 2 --ep_size 2 --trust_remote_code
Expected behavior
预期是正常启动,可以通过客户端连接进行推理。
actual behavior
卡在 Loading weights concurrently: 63%|██████▎ | 703/1113 [00:24<00:05, 80.59it/s] ,一动不动,也不报错。
additional notes
docker run --ipc host --gpus all -it -p 8000:8000 -v /gpt/models:/gpt/models nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc3
Before submitting a new issue...
- [x] Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.
Will be fixed with #7806
@lsm03624, could you try this release: https://github.com/NVIDIA/TensorRT-LLM/releases/tag/v1.0.0 The version probably contains the fix for the issue 😄
Issue has not received an update in over 14 days. Adding stale label.
I tested with v1.0.0 and Qwen3-30B-A3B-Instruct-2507-FP4 but errors out.
It still says w1_weight_scale_2 != w3_weight_scale_2
Apologies, I just confirmed that the #7806 couldn't make it to the 1.0.0 release. It seems that only 1.2.0rc0 have the fix, and its release note: https://github.com/NVIDIA/TensorRT-LLM/releases/tag/v1.2.0rc0
I tried again.
First, installing 1.2.0rc0 with uv is not ok:
Because patchelf==0.18.0.0 was yanked and tensorrt-llm==1.2.0rc0 depends on patchelf==0.18.0, we can conclude
But installing with python3 -m venv .venv is ok.
Second, it still errors out:
.venv/lib/python3.12/site-packages/tensorrt_llm/_torch/modules/fused_moe/quantization.py", line 1613, in load_all_fp4_weight_scales_and_alphas
logger.warning(
^^^^^^
NameError: name 'logger' is not defined
I commented out the "logger" line temporarily, and I confirmed that it can run with model
huggingface.co/NVFP4/Qwen3-30B-A3B-Instruct-2507-FP4/
However, it's rather slow,(way slower than using vllm https://github.com/vllm-project/vllm/pull/26669 ) and, it starts to output nonsense after several tokens.
@PlayHard4Juice , thank you for quick follow up~! The missing logger import was recently fixed 😄
If you're seeing issues with throughput or accuracy, could you open a separate issue to help us track it? Please include details like the GPUs you're using and the command lines to reproduce the problem.
I'll close this issue, thanks for confirming the fix.
If you're seeing issues with throughput or accuracy, could you open a separate issue to help us track it?
I just deleted the FP4 model. I cannot stand the gibberish. Sorry, maybe we need another man test it. Personally I just prefer some other quant methods for now. Maybe it's just model related?
Sure, no problem. Please feel free to open an issue if you find any problems~. Thank you!