Skip to content

Feature Request: Dynamic Inference Context Support for T5 #3016

Open

Description

@sbhavani

Summary

The current inference implementation for T5 models only supports static batching via StaticInferenceEngine. It would be valuable to extend DynamicInferenceContext to support encoder-decoder architectures like T5 similar to how it currently works for GPT inference via DynamicInferenceEngine.

Current Behavior

The T5 inference wrapper does not support KV caching or dynamic batching

Desired Behavior

Enable KV caching (encoder, decoder self-attention, and cross-attention) with in-flight dynamic batching for T5.

Related Code References

Activity

  1. santhnm2 commented on Jan 23, 2026

    @santhnm2
    Contributor

    @kvareddy Is this on the roadmap?

  2. maanug-nv commented on Jan 27, 2026

    @maanug-nv
    Contributor

    @huvunvidia can you take at look at this request and determine the priority?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions