Skip to content

Feature: support baidu/ERNIE-4.5-21B-A3B-Thinking #2667

In review

Description

@willg-nv

Request type

New model or checkpoint support

Problem and use case

Support baidu/ERNIE-4.5-21B-A3B-Thinking in TensorRT-Model-Connect for reasoning-oriented text generation from the released ERNIE-4.5 mixture-of-experts checkpoint. The goal is a reproducible native runtime path for applications using this checkpoint.

Proposed outcome

Implement or complete family/runtime integration, a pinned checkpoint recipe, documentation, and model tests.

Acceptance criteria:

  • Load the pinned checkpoint and tokenizer while preserving the released mixture-of-experts decoder behavior.
  • Support bounded generation with checkpoint-compatible prompt/chat framing and document the supported decoding behavior.
  • Compare native token/logit outputs and deterministic generation with an independent Transformers reference using identical inputs.
  • Document supported precision, context limits, hardware requirements, numerical acceptance criteria, and remaining gaps.

Establish end-to-end accuracy before claiming qualified support.

Model and target details

  • Model: baidu/ERNIE-4.5-21B-A3B-Thinking.
  • Checkpoint revision: 4341bb42644d5422859509fa25d41544c57181f8.
  • Task / initial precision: text generation; FP32 correctness baseline as an initial target.
  • Runtime target: TensorRT-Model-Connect native runtime.
  • Target GPU, memory requirements, and supported execution profiles: to be established during bring-up.

Alternatives considered

The model card documents Transformers and FastDeploy inference paths. These provide existing upstream execution options; no comparative evaluation is claimed here.

Additional context

Submission checks

  • I searched open and closed issues and found no duplicate request.
  • I removed secrets, private/internal evidence, personal paths, and restricted artifacts.

Activity

  1. added
    enhancement
    on Nov 25, 2026
  2. linked a pull request that will close this issueBringup/ernie 4.5 21b a3b thinking #2680on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions