Skip to content

Update TensorRT-LLM - #2215

Merged
kaiyux merged 2 commits into
mainfrom
preview/main
Sep 10, 2024
Merged

kaiyux merged 2 commits into
mainfrom
preview/main

Conversation

@kaiyux

@kaiyux kaiyux commented Sep 10, 2024 •

Copy link
Copy Markdown
Member
  • Features
    • Supported lookahead decoding (experimental), see docs/source/speculative_decoding.md.
    • Supported LoRA in ModelRunnerCpp.
    • Supported openai-gelu.
    • Supported head_size=48 cases for FMHA kernels.
    • Added FP8 examples for DiT models, see examples/dit/README.md.
    • Supported LoRA for the LLM class.
    • Supported decoder with encoder input features for the C++ executor API.
    • Supported engine building using dummy weights for the LLM class.
  • API
    • [BREAKING CHANGE] multi_block_mode is enabled by default.
  • Documentation

@kaiyux kaiyux changed the title TensorRT-LLM update Update TensorRT-LLM Sep 10, 2024
@kaiyux
kaiyux merged commit 31ac30e into main Sep 10, 2024
@kaiyux
kaiyux deleted the preview/main branch September 10, 2024 10:21
scale_w_quant_orig_t_expand[hidden_dim:hidden_dim +
kv_dim] = scale_w_quant_orig_t[1]
scale_w_quant_orig_t_expand[-kv_dim:] = scale_w_quant_orig_t[2]
weight_int8 = to_i8(weights * scale_w_quant_orig_t_expand)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you ever tested this?
weight is cuda tensor
scale_w_quant_orig_t_expand is cpu numpy array
This will fail!

wu1du2 pushed a commit to wu1du2/TensorRT-LLM that referenced this pull request May 11, 2025
* Update TensorRT-LLM

---------

Co-authored-by: Sherlock Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants