Skip to content

[Feature]: Structured outputs: JDecoding With a Compressed Finite State Machine. #8504

Closed

Description

@july8023

🚀 The feature, motivation and pitch

Does TRT-LLM support Jump-Forward.

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.

Activity

  1. added
    feature request
    on Oct 20, 2025
  2. added
    Speculative Decoding
    on Oct 20, 2025
  3. july8023 commented on Oct 20, 2025

    @july8023
    Author

    does

  4. karljang commented on Oct 21, 2025

    @karljang
    Collaborator

    @july8023 ,
    Currently, TRT-LLM doesn’t support jump-forward or fast-forward decoding.
    However, for low-latency scenarios, guided decoding combined with speculative decoding can offer similar speedups.
    Would you be able to give that approach a try?
    Thank you!

  5. july8023 commented on Oct 23, 2025

    @july8023
    Author

    @karljang Thanks you, I try sglang use speculative decoding combined with XGramma but still slower than jump-forward,so I want to add jump-forward into tensorrt-llm ,but I am not familiar with tensorrt-llm,if I want to implement this feature, do you have any suggestions? thank you.

  6. karljang commented on Oct 23, 2025

    @karljang
    Collaborator

    @july8023 ,
    Combining Guided Decoding and Speculative Decoding: Making CPU and GPU Cooperate Seamlessly
    I think this post could be helpful, it includes several links to PRs that implemented Guided Decoding in TRT-LLM~

  7. github-actions commented on Nov 7, 2025

    @github-actions

    Issue has not received an update in over 14 days. Adding stale label.

  8. karljang commented on Nov 14, 2025

    @karljang
    Collaborator

    Closing this issue as stale.
    If you're still exploring speedups, consider trying guided decoding combined with speculative decoding, they may offer similar performance improvements.
    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Speculative Decodingfeature requeststalewaiting for feedback

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions