Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference Qwen2-0.5b + Medusa failed #2678

Open
2 of 4 tasks
shangshng opened this issue Jan 10, 2025 · 1 comment
Open
2 of 4 tasks

Inference Qwen2-0.5b + Medusa failed #2678

shangshng opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working Investigating Speculative Decoding triaged Issue has been triaged by maintainers

Comments

@shangshng
Copy link

System Info

A100

[TensorRT-LLM] TensorRT-LLM version: 0.16.0.dev2024120300

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

  1. convert qwen 0.5b + 5 medusa heads to fp16 checkpoints
  2. build trtllm engine, max_batch_size = 1, no special configs
  3. using summarize.py inference

Expected behavior

get the answers

actual behavior

The engine is successfully loaded but the generation fails.
Image
Image

additional notes

The trtllm version is 0.16.0.dev2024120300 and this is the last version to successfully build qwen2 + medusa engines. In the subsequent versions, when engines are built, there is an error message shown as bellow. If I added the missing configs manually, the inference results are messy.
Image
Image

@shangshng shangshng added the bug Something isn't working label Jan 10, 2025
@github-actions github-actions bot added triaged Issue has been triaged by maintainers Investigating labels Jan 13, 2025
@nv-guomingz
Copy link
Collaborator

Hi @shangshng thanks for your patience.
Could u plz share us the original model download path and reproduce step?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Investigating Speculative Decoding triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants