Skip to content

Conversation

@l-austenfeld
Copy link
Contributor

Updated the vendored copy of google/minja to the latest version.

This pulls in fixes for the SmolLM3 chat template (see: google/minja#74), namely the in operator on strings and the string.replace function.
This also fixes chat templates like Deepseek R1, which use {% if "</think>" in message["content"] %} to detect and then strip reasoning content in older assistant messages.

The other changes pulled in are google/minja#72 and google/minja#75 which fix a bug with an older version of the Qwen chat template.

Signed-off-by: Lennart Austenfeld <[email protected]>
Signed-off-by: Lennart Austenfeld <[email protected]>
@CISC
Copy link
Collaborator

CISC commented Aug 1, 2025

Thank you very much, will merge when CI goes green!

Edit: Nvm the failing webgpu one, it's out of commission atm. :)

@l-austenfeld
Copy link
Contributor Author

I mean, I managed to mess up copy pasting two files (lesson learned: installed the editorconfig plugin) so I don't know how much you should be thanking me.

Anyways, thank you for looking at this so quickly.

@CISC
Copy link
Collaborator

CISC commented Aug 1, 2025

I mean, I managed to mess up copy pasting two files (lesson learned: installed the editorconfig plugin) so I don't know how much you should be thanking me.

Nah, no worries. :)

@CISC CISC merged commit c76b420 into ggml-org:master Aug 1, 2025
46 of 47 checks passed
BradHutchings added a commit to BradHutchings/Mmojo-Server that referenced this pull request Aug 1, 2025
vendor : update vendored copy of google/minja (ggml-org#15011)
Nexesenex pushed a commit to Nexesenex/croco.cpp that referenced this pull request Aug 2, 2025
* vendor : update vendored copy of google/minja

Signed-off-by: Lennart Austenfeld <[email protected]>

* Re-remove trailing whitespace

Signed-off-by: Lennart Austenfeld <[email protected]>

* Remove another trailing whitespace

Signed-off-by: Lennart Austenfeld <[email protected]>

---------

Signed-off-by: Lennart Austenfeld <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants