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

Help needed: No clear documentation/examples for implementing speculative decoding with backend serve #2671

Open
e1ijah1 opened this issue Jan 8, 2025 · 0 comments

Comments

@e1ijah1
Copy link

e1ijah1 commented Jan 8, 2025

Hi there,

I'm trying to implement speculative decoding using TensorRT-LLM backend, specifically with Qwen2.5-72B-Instruct-AWQ as the target model and Qwen2.5-3B-Instruct-AWQ as the draft model. However, I've encountered some difficulties:

  1. There seems to be no clear documentation or examples demonstrating how to configure tensorrtllm_backend to serve speculative decoding.
  2. The trtllm-serve doesn't appear to support speculative decoding functionality.

Could someone provide guidance on:

  • Proper configuration steps for speculative decoding with tensorrtllm_backend
  • Whether there are any workarounds for trtllm-serve to support this feature
  • Any existing examples or reference implementations

Any help would be greatly appreciated. Thanks!

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

No branches or pull requests

1 participant