Skip to content

model: Align Laguna-S-2.1 chat template to huggingface - #26232

Merged
aldehir merged 2 commits into
ggml-org:masterfrom
crusaderky:laguna-s-2-chat-template
Aug 10, 2026
Merged

aldehir merged 2 commits into
ggml-org:masterfrom
crusaderky:laguna-s-2-chat-template

Conversation

@crusaderky

@crusaderky crusaderky commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Align embedded chat template for Laguna-S-2.1 to the latest version (179ee67cf0fff5391c67fe1a392ea849fa6d643f) on https://huggingface.co/poolside/Laguna-S-2.1/blob/main/chat_template.jinja and update unit tests to match.

Additional information

The template is consumed by:

  • tests/test-chat-auto-parser.cpp
  • llama-template-analysis
  • anyone passing --chat-template-file models/templates/poolside-Laguna-S-2.1.jinja

Note: this change has no impact on inference for anyone NOT passing --chat-template-file; the version from GGUF wins, and that's already up-to-date as long as you're auto-syncing with -hf.

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: YES. This PR was lightly AI-assisted and fully reviewed by myself before opening.

@crusaderky
crusaderky marked this pull request as ready for review July 28, 2026 14:29
@crusaderky
crusaderky requested a review from ggerganov as a code owner July 28, 2026 14:29
@github-actions github-actions Bot added the testing Everything test related label Jul 28, 2026
@ggml-gh-bot

This comment was marked as resolved.

@crusaderky
crusaderky marked this pull request as draft July 28, 2026 14:34
@crusaderky
crusaderky marked this pull request as ready for review July 28, 2026 14:37
@crusaderky

Copy link
Copy Markdown
Contributor Author

CC @joerowell

@crusaderky

Copy link
Copy Markdown
Contributor Author

To the best of my understanding the template is now respected.
This PR goes in pair with #26233.

@crusaderky

Copy link
Copy Markdown
Contributor Author

@aldehir is there anything outstanding here that prevents merging?

@aldehir aldehir added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Aug 10, 2026
@aldehir

aldehir commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Nothing on my end, it just needs another maintainer's approval.

@aldehir
aldehir merged commit a52077c into ggml-org:master Aug 10, 2026
22 of 28 checks passed
@crusaderky
crusaderky deleted the laguna-s-2-chat-template branch August 10, 2026 11:18
@joerowell

Copy link
Copy Markdown
Contributor

Hey thank you @crusaderky for this! It somehow got buried in my GH inbox, but I'm very grateful for the PR :)

huaxel pushed a commit to huaxel/strix-llama.cpp that referenced this pull request Aug 12, 2026
brittlewis12 pushed a commit to brittlewis12/llama.cpp that referenced this pull request Aug 17, 2026
thecodacus pushed a commit to thecodacus/llama.cpp that referenced this pull request Sep 7, 2026
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants