model : add Apertus v1.5 text support (#32880)
* apertus : add v1.5 text support and vocabulary validation
Assisted-by: Codex
* chat : add Apertus v1.5 template and tool-call parsing
Assisted-by: Codex
* mtmd : add Apertus vision support and discrete token transport
Assisted-by: Codex
* mtmd : add Apertus audio support
Assisted-by: Codex
* chat : fix Apertus v1.5 tool-call termination
Assisted-by: Codex
* convert : support both Apertus v1.5 checkpoint layouts
Support the original Swiss AI checkpoint layout published on Hugging Face
and the layout from the in-progress Hugging Face Transformers integration
(PR #47662, revision 0c5e12f18a5f).
Assisted-by: Codex
* mtmd : preserve Apertus audio capacity on allocation failure
Update graph capacity only after buffer and scheduler growth succeeds.
Assisted-by: Codex
* mtmd : align Apertus image preprocessing with HF training pipeline
Read pixel limits from either processor metadata layout.
Match the resize policy confirmed in Transformers PR #47662.
Assisted-by: Codex
* apertus : clean up comments and naming after upstream merge
Remove duplicate test includes and align the embedding-width variable
with the mmproj naming.
Assisted-by: Codex
* mtmd : use extended batches for discrete media decoding
Replace deprecated batch calls and preserve post-decode token callbacks.
Validate media position counts without signedness warnings.
Assisted-by: Codex
* tests : avoid Windows macro collision in Apertus image test
Assisted-by: Codex
* apertus : separate converters and keep architecture tests generic
Remove model-specific usage documentation and align projector constants.
Assisted-by: Codex
* apertus : defer multimodal support to a separate PR
Keep text conversion, inference, chat and related tests in this PR.
Assisted-by: Codex
* apertus : align formatting with surrounding code
Assisted-by: Codex