Gemma 3 core example breaks with `Assertion failed: remaining_buffer_size == 0`
System Info
CPU: AMD EPYC 7413 24-Core Processor 56G RAM NVIDIA A40 46068MiB Driver Version: 565.57.01 tensorrt-llm==0.19.0 running within nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 ubuntu 22.04
Who can help?
No response
Information
- [x] The official example scripts
- [ ] My own modified scripts
Tasks
- [x] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)
Reproduction
Step 1: setup environment
uv init gemma
uv add tensorrt-llm==0.19.0 torch transformers ipython
Step 2: obtain gemma3 models
from transformers import GemmaTokenizer, Gemma3ForCausalLM
GemmaTokenizer.from_pretrained('google/gemma-3-1b-it', token=HF_TOKEN).save_pretrained('./gemma3')
Gemma3ForCausalLM.from_pretrained('google/gemma-3-1b-it', token=HF_TOKEN).eval().bfloat16().save_pretrained('./gemma3')
Step 3: convert checkpoint as per the docs
https://github.com/NVIDIA/TensorRT-LLM/blob/main/examples/models/core/gemma/README.md#run-gemma-3 the commands are run on the node directly (not docker container)
uv run convert_checkpoint.py --ckpt-type hf --model-dir gemma3/ --dtype bfloat16 --world-size 1 --output-model-dir gemma3_converted
uv run trtllm-build --checkpoint_dir gemma3_converted --gemm_plugin auto --max_batch_size 1 --max_input_len 1024 --max_seq_len 2048 --output_dir trt_out
Step 4: prepare a model repository
Followed these instructions: https://github.com/triton-inference-server/tensorrtllm_backend/blob/main/docs/gemma.md
Step 5: start triton (fails)
docker container run -it --rm --gpus all -v $(pwd):/gemma nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 tritonserver --model-repository /gemma/model_repository --model-control-mode explicit --load-model tensorrt_llm --log-verbose 2
Expected behavior
Triton starts a tensorrtllm backend and loads the model
actual behavior
https://pastebin.com/S0JKZkSg
stack trace excerpt
[TensorRT-LLM][ERROR] tensorrt_llm::common::TllmException: [TensorRT-LLM][ERROR] Assertion failed: remaining_buffer_size == 0 (/workspace/tensorrt_llm/cpp/tensorrt_llm/kernels/decoderMaskedMultiheadAttention/decoderXQAImplJIT/cubinObjRegistry.h:62)
1 0x795d6b642038 tensorrt_llm::common::throwRuntimeError(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 95
2 0x795d6b8ba630 tensorrt_llm::kernels::jit::CubinObjRegistryTemplate<tensorrt_llm::kernels::XQAKernelFullHashKey, tensorrt_llm::kernels::XQAKernelFullHasher>::CubinObjRegistryTemplate(void const*, unsigned long) + 2016
3 0x795d6b8b98d2 tensorrt_llm::kernels::DecoderXQARunner::Resource::Resource(void const*, unsigned long) + 50
4 0x795d4c913505 tensorrt_llm::plugins::GPTAttentionPluginCommon::GPTAttentionPluginCommon(void const*, unsigned long) + 1413
5 0x795d4c917f62 tensorrt_llm::plugins::GPTAttentionPlugin::GPTAttentionPlugin(void const*, unsigned long) + 18
6 0x795d4c917fe2 tensorrt_llm::plugins::GPTAttentionPluginCreator::deserializePlugin(char const*, void const*, unsigned long) + 50
7 0x795ceb94dfe0 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x18b1fe0) [0x795ceb94dfe0]
8 0x795ceb947252 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x18ab252) [0x795ceb947252]
9 0x795ceb85dab3 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x17c1ab3) [0x795ceb85dab3]
10 0x795ceb85c2ee /usr/local/tensorrt/lib/libnvinfer.so.10(+0x17c02ee) [0x795ceb85c2ee]
11 0x795ceb8764c2 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x17da4c2) [0x795ceb8764c2]
12 0x795ceb87a3ec /usr/local/tensorrt/lib/libnvinfer.so.10(+0x17de3ec) [0x795ceb87a3ec]
13 0x795ceb87ab6e /usr/local/tensorrt/lib/libnvinfer.so.10(+0x17deb6e) [0x795ceb87ab6e]
14 0x795ceb8b19f3 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x18159f3) [0x795ceb8b19f3]
15 0x795ceb8b2717 /usr/local/tensorrt/lib/libnvinfer.so.10(+0x1816717) [0x795ceb8b2717]
16 0x795ceb8b286c /usr/local/tensorrt/lib/libnvinfer.so.10(+0x181686c) [0x795ceb8b286c]
17 0x795d6bac2165 tensorrt_llm::runtime::TllmRuntime::TllmRuntime(tensorrt_llm::runtime::RawEngine const&, nvinfer1::ILogger*, float, bool) + 1413
18 0x795d6c490f9a tensorrt_llm::batch_manager::TrtGptModelInflightBatching::TrtGptModelInflightBatching(std::shared_ptr<nvinfer1::ILogger>, tensorrt_llm::runtime::ModelConfig const&, tensorrt_llm::runtime::WorldConfig const&, tensorrt_llm::runtime::RawEngine const&, bool, tensorrt_llm::batch_manager::TrtGptModelOptionalParams const&) + 1386
19 0x795d6c40a539 tensorrt_llm::batch_manager::TrtGptModelFactory::create(tensorrt_llm::runtime::RawEngine const&, tensorrt_llm::runtime::ModelConfig const&, tensorrt_llm::runtime::WorldConfig const&, tensorrt_llm::batch_manager::TrtGptModelType, tensorrt_llm::batch_manager::TrtGptModelOptionalParams const&) + 489
20 0x795d6c52a9e9 tensorrt_llm::executor::Executor::Impl::createModel(tensorrt_llm::runtime::RawEngine const&, tensorrt_llm::runtime::ModelConfig const&, tensorrt_llm::runtime::WorldConfig const&, tensorrt_llm::executor::ExecutorConfig const&) + 185
21 0x795d6c52b07d tensorrt_llm::executor::Executor::Impl::loadModel(std::optional<std::filesystem::__cxx11::path> const&, std::optional<std::basic_string_view<unsigned char, std::char_traits<unsigned char> > > const&, tensorrt_llm::runtime::GptJsonConfig const&, tensorrt_llm::executor::ExecutorConfig const&, bool, std::optional<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, tensorrt_llm::executor::Tensor, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, tensorrt_llm::executor::Tensor> > > > const&) + 1229
22 0x795d6c52c2ca tensorrt_llm::executor::Executor::Impl::Impl(std::filesystem::__cxx11::path const&, std::optional<std::filesystem::__cxx11::path> const&, tensorrt_llm::executor::ModelType, tensorrt_llm::executor::ExecutorConfig const&) + 2474
23 0x795d6c511e57 tensorrt_llm::executor::Executor::Executor(std::filesystem::__cxx11::path const&, tensorrt_llm::executor::ModelType, tensorrt_llm::executor::ExecutorConfig const&) + 87
24 0x795de40b8b7e /opt/tritonserver/backends/tensorrtllm/libtriton_tensorrtllm.so(+0x33b7e) [0x795de40b8b7e]
25 0x795de40b5349 triton::backend::inflight_batcher_llm::ModelInstanceState::ModelInstanceState(triton::backend::inflight_batcher_llm::ModelState*, TRITONBACKEND_ModelInstance*) + 2185
26 0x795de40b5892 triton::backend::inflight_batcher_llm::ModelInstanceState::Create(triton::backend::inflight_batcher_llm::ModelState*, TRITONBACKEND_ModelInstance*, triton::backend::inflight_batcher_llm::ModelInstanceState**) + 66
27 0x795de40a2a49 TRITONBACKEND_ModelInstanceInitialize + 153
28 0x795ded9d7519 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x1a1519) [0x795ded9d7519]
29 0x795ded9d7fa2 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x1a1fa2) [0x795ded9d7fa2]
30 0x795ded9bdbc3 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x187bc3) [0x795ded9bdbc3]
31 0x795ded9bdf74 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x187f74) [0x795ded9bdf74]
32 0x795ded9c755d /opt/tritonserver/bin/../lib/libtritonserver.so(+0x19155d) [0x795ded9c755d]
33 0x795decf34ed3 /usr/lib/x86_64-linux-gnu/libc.so.6(+0xa1ed3) [0x795decf34ed3]
34 0x795ded9b4dd2 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x17edd2) [0x795ded9b4dd2]
35 0x795ded9c2cac /opt/tritonserver/bin/../lib/libtritonserver.so(+0x18ccac) [0x795ded9c2cac]
36 0x795ded9c6ce2 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x190ce2) [0x795ded9c6ce2]
37 0x795dedac77b1 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x2917b1) [0x795dedac77b1]
38 0x795dedacab0c /opt/tritonserver/bin/../lib/libtritonserver.so(+0x294b0c) [0x795dedacab0c]
39 0x795dedc27105 /opt/tritonserver/bin/../lib/libtritonserver.so(+0x3f1105) [0x795dedc27105]
40 0x795ded191db4 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xecdb4) [0x795ded191db4]
41 0x795decf2faa4 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x9caa4) [0x795decf2faa4]
42 0x795decfbca34 __clone + 68
additional notes
I can't share converted model weights because they're based on gated HF checkpoints, but I can share my model repository
EDIT: updated model_repository archive
Hi @InCogNiTo124, thank you for sharing the steps to reproduce.
Were you able to run summarize.py like mentioned in run gemma3 section? Does that also fail for you?
Trying to understand if this is in core TRTLLM or how Triton is handling requests.
Hi @InCogNiTo124, thank you for sharing the steps to reproduce.
Were you able to run
summarize.pylike mentioned in run gemma3 section? Does that also fail for you? Trying to understand if this is in core TRTLLM or how Triton is handling requests.
I tried it now, it works!
Output
$ uv run summarize.py --test_trt_llm --vocab_file gemma3/tokenizer.model --engine_dir trt_out/ --batch_size 1 --max_ite 5 --max_attention_window_size 512 512 512 512 512 3100
<frozen importlib._bootstrap_external>:1297: FutureWarning: The cuda.cuda module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.driver module instead.
<frozen importlib._bootstrap_external>:1297: FutureWarning: The cuda.cudart module is deprecated and will be removed in a future release, please switch to use the cuda.bindings.runtime module instead.
2025-05-13 17:41:07,448 - INFO - flashinfer.jit: Prebuilt kernels not found, using JIT backend
[TensorRT-LLM] TensorRT-LLM version: 0.19.0
[05/13/2025-17:41:07] [TRT-LLM] [W] hf_model_dir is not specified. Try to infer from model_name, but this may be incorrect.
[05/13/2025-17:41:08] [TRT-LLM] [I] Load tokenizer takes: 0.9755752086639404 sec
[TensorRT-LLM][INFO] Engine version 0.19.0 found in the config file, assuming engine(s) built by new builder API.
[05/13/2025-17:41:10] [TRT-LLM] [I] Using C++ session
[TensorRT-LLM][INFO] Engine version 0.19.0 found in the config file, assuming engine(s) built by new builder API.
[TensorRT-LLM][INFO] MPI size: 1, MPI local size: 1, rank: 0
[05/13/2025-17:41:10] [TRT-LLM] [W] Implicitly setting GemmaConfig.rotary_base = 1000000
[05/13/2025-17:41:10] [TRT-LLM] [W] Implicitly setting GemmaConfig.attn_bias = False
[05/13/2025-17:41:10] [TRT-LLM] [W] Implicitly setting GemmaConfig.mlp_bias = False
[05/13/2025-17:41:10] [TRT-LLM] [W] Implicitly setting GemmaConfig.inter_layernorms = True
[05/13/2025-17:41:10] [TRT-LLM] [I] Set dtype to bfloat16.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set bert_attention_plugin to auto.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set gpt_attention_plugin to auto.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set gemm_plugin to auto.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set explicitly_disable_gemm_plugin to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set gemm_swiglu_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set fp8_rowwise_gemm_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set qserve_gemm_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set identity_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set nccl_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set lora_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set dora_plugin to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set weight_only_groupwise_quant_matmul_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set weight_only_quant_matmul_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set smooth_quant_plugins to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set smooth_quant_gemm_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set layernorm_quantization_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set rmsnorm_quantization_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set quantize_per_token_plugin to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set quantize_tensor_plugin to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set moe_plugin to auto.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set mamba_conv1d_plugin to auto.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set low_latency_gemm_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set low_latency_gemm_swiglu_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set gemm_allreduce_plugin to None.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set context_fmha to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set bert_context_fmha_fp32_acc to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set paged_kv_cache to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set remove_input_padding to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set norm_quant_fusion to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set reduce_fusion to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set user_buffer to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set tokens_per_block to 32.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set use_paged_context_fmha to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set use_fp8_context_fmha to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set fuse_fp4_quant to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set multiple_profiles to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set paged_state to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set streamingllm to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set manage_weights to False.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set use_fused_mlp to True.
[05/13/2025-17:41:10] [TRT-LLM] [I] Set pp_reduce_scatter to False.
[TensorRT-LLM][INFO] Engine version 0.19.0 found in the config file, assuming engine(s) built by new builder API.
[TensorRT-LLM][INFO] Refreshed the MPI local session
[TensorRT-LLM][INFO] MPI size: 1, MPI local size: 1, rank: 0
[TensorRT-LLM][INFO] Rank 0 is using GPU 0
[TensorRT-LLM][WARNING] The value of maxAttentionWindow cannot exceed mMaxSequenceLen. Therefore, it has been adjusted to match the value of mMaxSequenceLen.
[TensorRT-LLM][INFO] TRTGptModel maxNumSequences: 1
[TensorRT-LLM][INFO] TRTGptModel maxBatchSize: 1
[TensorRT-LLM][INFO] TRTGptModel maxBeamWidth: 1
[TensorRT-LLM][INFO] TRTGptModel maxSequenceLen: 2048
[TensorRT-LLM][INFO] TRTGptModel maxDraftLen: 0
[TensorRT-LLM][INFO] TRTGptModel mMaxAttentionWindowSize: (512, 512, 512, 512, 512, 2048) * 4 + (512, 512)
[TensorRT-LLM][INFO] TRTGptModel enableTrtOverlap: 0
[TensorRT-LLM][INFO] TRTGptModel normalizeLogProbs: 1
[TensorRT-LLM][INFO] TRTGptModel maxNumTokens: 2048
[TensorRT-LLM][INFO] TRTGptModel maxInputLen: 2047 = min(maxSequenceLen - 1, maxNumTokens) since context FMHA and usePackedInput are enabled
[TensorRT-LLM][INFO] TRTGptModel If model type is encoder, maxInputLen would be reset in trtEncoderModel to maxInputLen: min(maxSequenceLen, maxNumTokens).
[TensorRT-LLM][INFO] Capacity Scheduler Policy: GUARANTEED_NO_EVICT
[TensorRT-LLM][INFO] Context Chunking Scheduler Policy: None
[TensorRT-LLM][INFO] Loaded engine size: 2556 MiB
[TensorRT-LLM][INFO] Inspecting the engine to identify potential runtime issues...
[TensorRT-LLM][INFO] The profiling verbosity of the engine does not allow this analysis to proceed. Re-build the engine with 'detailed' profiling verbosity to get more diagnostics.
[TensorRT-LLM][INFO] [MemUsageChange] Allocated 146.43 MiB for execution context memory.
[TensorRT-LLM][INFO] gatherContextLogits: 0
[TensorRT-LLM][INFO] gatherGenerationLogits: 0
[TensorRT-LLM][INFO] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +0, now: CPU 0, GPU 2547 (MiB)
[TensorRT-LLM][INFO] [MemUsageChange] Allocated 1.05 MB GPU memory for runtime buffers.
[TensorRT-LLM][INFO] [MemUsageChange] Allocated 4.09 MB GPU memory for decoder.
[TensorRT-LLM][INFO] Memory usage when calculating max tokens in paged kv cache: total: 44.43 GiB, available: 41.48 GiB
[TensorRT-LLM][INFO] Number of blocks in KV cache primary pool: 47052
[TensorRT-LLM][INFO] Number of blocks in KV cache secondary pool: 0, onboard blocks to primary memory before reuse: true
[TensorRT-LLM][INFO] Number of tokens per block: 32.
[TensorRT-LLM][INFO] [MemUsageChange] Allocated 37.33 GiB for max tokens in paged KV cache (1505664).
[05/13/2025-17:41:14] [TRT-LLM] [I] Load engine takes: 3.4815990924835205 sec
[05/13/2025-17:41:14] [TRT-LLM] [I] ---------------------------------------------------------
[05/13/2025-17:41:14] [TRT-LLM] [I] TensorRT-LLM Generated:
[05/13/2025-17:41:14] [TRT-LLM] [I] Input: ['Pensioners aged over 75 will be guaranteed same-day appointments with their GP, as part of Tory plans for a huge cash injection for the NHS. David Cameron will announce the move today as he pledges to commit £8billion to fund the health service. This is the figure named by NHS boss Simon Stevens as the amount needed to help plug a £30billion hole in the health service’s accounts over the next five years. David Cameron will announce the move today as he pledges to commit £8billion to fund the health service . Prime Minister said last night he was ‘utterly committed’ to health service . The move is designed to demolish cynical Labour claims that the Tories would ‘cut the NHS to the bone’ and will mean ‘at least’ an extra £8billion a year for the NHS by 2020. The Prime Minister said last night he was ‘utterly committed’ to the health service. However, the promise that all over-75s will get a guaranteed same-day GP appointment will raise eyebrows among critics who say GPs are already struggling to cope. Health Secretary Jeremy Hunt last year announced a plan to ‘train and retain’ an extra 5,000 GPs, which Tory sources said last night would allow them to deliver the same-day pledge. The Royal College of GPs welcomed the move as a ‘good start’, but warned that, on current trends, an extra 8,000 GPs would be needed by 2020 just to stand still. Mr Hunt said: ‘The NHS has set out its vision for how we best improve the health service for patients, and today we are backing that plan with the money it needs. But we can only have a strong NHS if we have a strong economy. ‘We need to do much more to ensure our vulnerable elderly can be treated in the community. That is why we are building on our decision to bring back named GPs for the over-75s by ensuring that, as part of this, they are guaranteed a same-day GP service when they need it. Health Secretary Jeremy Hunt last year announced a plan to ‘train and retain’ an extra 5,000 GPs . ‘This means family doctors can focus on giving elderly people the care they need, and prevent unnecessary trips to hospital.’ The guarantee will build on thenew ‘proactive care programme’, which requires GPs to offer a priority service to their most vulnerable 2 per cent of patients. The decision to back the ‘Stevens plan’ is designed to neutralise Labour attacks on the issue. Mr Cameron said the commitment to find the money would be included in next week’s Conservative Party manifesto. Referring to the care given to his late son Ivan, the Prime Minister said: ‘As someone who has been supported by the NHS at the most difficult time in my life, I’m utterly committed to ensuring it is there for everyone when they need it too. ‘That’s why I’m backing the NHS’s own plan with the cash required to ensure it can continue to deliver an amazing service to patients and their families in the future.’ The Tory move will pile pressure on Labour to put its money where its mouth is on the NHS. This week, Labour health spokesman Andy Burnham said he could not commit to Mr Stevens’s five-year plan, adding: ‘I’m not in the business of making false promises or giving cheques to the NHS that will bounce a few days after the election.’ Tory sources last night insisted the money could be found through efficiency savings and the proceeds of economic growth. They pointed to official figures showing that NHS spending has increased by £7billion in real terms since 2010, despite the austerity programme. A source said: ‘We have delivered a £7billion increase even when the economy was really struggling from Labour’s recession in the first few years. Now we have got years of economic growth forecast, so it is do-able and we will do it.’']
[05/13/2025-17:41:14] [TRT-LLM] [I]
Reference: ['David Cameron set to announce move today to help plug NHS £30bn hole .\nMove is designed to demolish cynical Labour claims of Tory cutting NHS .\nPrime Minister said last night he was ‘utterly committed’ to health service .']
[05/13/2025-17:41:14] [TRT-LLM] [I]
Output: [['The NHS is facing a £30billion hole, and the government is committed to £8billion to fix it. The Prime Minister is committed to the NHS. The plan is to train and retain 5,000 GPs. The plan is to deliver the same-day GP service. The plan is to ensure the NHS can continue to deliver a strong service.']]
[05/13/2025-17:41:14] [TRT-LLM] [I] ---------------------------------------------------------
[TensorRT-LLM][INFO] Refreshed the MPI local session
[05/13/2025-17:41:17] [TRT-LLM] [I] TensorRT-LLM (total latency: 2.8083629608154297 sec)
[05/13/2025-17:41:17] [TRT-LLM] [I] TensorRT-LLM (total output tokens: 475)
[05/13/2025-17:41:17] [TRT-LLM] [I] TensorRT-LLM (tokens per second: 169.137681499004)
[05/13/2025-17:41:17] [TRT-LLM] [I] TensorRT-LLM beam 0 result
[05/13/2025-17:41:17] [TRT-LLM] [I] rouge1: 23.6217008797654
[05/13/2025-17:41:17] [TRT-LLM] [I] rouge2: 4.853057672184809
[05/13/2025-17:41:17] [TRT-LLM] [I] rougeL: 17.067435252919122
[05/13/2025-17:41:17] [TRT-LLM] [I] rougeLsum: 21.740581998646515
Interesting. So, I feel this has something to do with runtime handling in Triton. @Tabrizian, do you think you can have a look?
Another datapoint I have is that, exporting is performed directly on the node with tensorrt-llm==0.19.0, and summarize.py script is run on the node, but inference is attempted on that same node in a docker container nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 which has tensorrt-llm==0.18.2. Upgrading tensorrt-llm within the container with pip install -U tensorrt-llm breaks everything with undefined symbol: _zn3c105errorc2ens_14sourcelocationess
but inference is attempted on that same node in a docker container nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 which has tensorrt-llm==0.18.2
I think this explains. The model wasn't supported in v0.18.2: https://github.com/NVIDIA/TensorRT-LLM/tree/v0.18.2/examples/gemma
Do you think you can try out a newer triton server docker when it's out?
but inference is attempted on that same node in a docker container nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 which has tensorrt-llm==0.18.2
I think this explains. The model wasn't supported in v0.18.2: https://github.com/NVIDIA/TensorRT-LLM/tree/v0.18.2/examples/gemma
Do you think you can try out a newer triton server docker when it's out?
最新版本什么时候发布 我可以试试 。目前我也存在这个问题。
but inference is attempted on that same node in a docker container nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 which has tensorrt-llm==0.18.2
I think this explains. The model wasn't supported in v0.18.2: https://github.com/NVIDIA/TensorRT-LLM/tree/v0.18.2/examples/gemma Do you think you can try out a newer triton server docker when it's out?
最新版本什么时候发布 我可以试试 。目前我也存在这个问题。
我是用 llama3 8B 测试的 问题和这个一样
but inference is attempted on that same node in a docker container nvcr.io/nvidia/tritonserver:25.04-trtllm-python-py3 which has tensorrt-llm==0.18.2
I think this explains. The model wasn't supported in v0.18.2:
v0.18.2/examples/gemma Do you think you can try out a newer triton server docker when it's out?最新版本什么时候发布 我可以试试 。目前我也存在这个问题。
@WJ1020 I think they release new triton server version in the first week of a month. I am going to wait until start of June.
Confirmed it works with nvcr.io/nvidia/tritonserver:25.05-trtllm-python-py3. Thanks @brb-nv !
Awesome. Thanks for confirming! :)