Skip to content

[New Model]: Add pplx-decider supportΒ #20237

Closed

Description

@anurags25

πŸš€ The feature, motivation and pitch

Add native support for pplx-decider for a 27B text-only decision model from Perplexity AI.

The closest model TensorRT-LLM already supports.

  • Qwen3NextForCausalLM / Qwen3.5 (Qwen3_5ForCausalLM) β€” same hybrid text backbone.
  • Qwen3ForTextEmbedding β€” same serving shape: no lm_head, encode-only path returning a per-sequence vector.

What's your difficulty of supporting the model you want?

  • Composite checkpoint, text-only model. Ships with the Qwen3.5 VLM config (text_config + vision_config) but only the text tower is used. The runtime needs an explicit architecture override (model_kwargs.architectures) and config flattening to Qwen3NextConfig; the vision tower is dropped.
  • Non-causal full attention. Full-attention layers use a FULL (non-causal) mask rather than Qwen3.5's causal mask.
  • Context-only hybrid execution. Single packed prefill from a zero recurrent state, with no KV cache or generation.
  • Non-standard weights. Backbone weights are prefix-less (language_model.*), and the 255-way readout ships as a separate readout.safetensors holding a bare weight tensor outside the safetensors index; both need a dedicated mapper.
  • Output contract. Returns 255 raw float32 logits (no vocab head).

I have an implementation ready that I'd be happy to contribute.

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 13, 2026
  2. added
    new model
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature requestnew model

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions