Skip to content

[Engine] Inkling 2 leaks <|message_model|> / <|end_message|> tags and loops when the thinking budget is reached  #283

Backlog

Description

@AmirSabani

Problem

After today's update I get bad response formatting in PolyStrata. It affected inkling mini and tiel-coder (I tested both).
The model's Inkling control tags show in the reply, and the model gets stuck in repetitive thinking.

Example:

<|message_model|> there! Happy to explain.
SQL (Structured Query Language)
SQL is a standard language ...
PostgreSQL
...
SQLite
...
In short:

  • SQL = the language
  • PostgreSQL = a powerful, server-based database that uses SQL
  • SQLite = a lightweight, file-based database that also uses SQL
    Want me to go deeper into any of these, or compare them for a specific use case?<|end_message|>

Here the model tags <|message_model|> and <|end_message|> are visible, and the thinking was stuck/repetitive.

Screenshots:

Screenshot From 2026-11-23 21-35-39
Screenshot From 2026-11-23 21-36-26

My config for this model:

"env": {
"STRATA_INK_FLASH": "1",
"STRATA_INK_KERNEL_TABLES": "1",
"STRATA_ROUTE_TAIL_SKIP": "0",
"STRATA_FAST_ATTN": "1"
},
"args": [
"--model", "/home/PolyStrata-data/models/inkling-UD-Q4_K_XL/Inkling-2-Mini-UD-Q4_K_XL.gguf",
"--max-context", "131072",
"--kv", "fp8",
"--expert-profile", "/home/PolyStrata-data/packs/inkling-ud-q4_k_xl/expert-profile.txt",
"--threads", "9",
"--window", "8"
]

Activity

  1. added
    needs-format
    on Nov 23, 2026
  2. github-actions commented on Nov 23, 2026

    @github-actions

    Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

    • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

    Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

    Details: CONTRIBUTING.md

  3. chubblineb-del commented on Nov 23, 2026

    @chubblineb-del

    "sampling": { "temperature": 1.0, "top_p": 1.0, "top_k": 0, "min_p": 0.0 }
    the recommend sampling of inkling mini
    but when i try it, polystrata said only accept top_k value from 1-64

  4. changed the title [-]Bad Formating on inkling mini[/-] [+][Engine] Inkling 2 leaks <|message_model|> / <|end_message|> tags and loops when the thinking budget is reached [/+] on Nov 23, 2026
  5. removed
    needs-format
    on Nov 23, 2026
  6. github-actions commented on Nov 23, 2026

    @github-actions

    Thanks, this follows the format now.

  7. AmirSabani commented on Nov 23, 2026

    @AmirSabani
    Author

    Formating after update.
    Here are simple example:

    -SQL
    SQL**:
    SELECT * FROM users; — fetch all rows from a users table.
    -'s a, SQL**:- SQL:
    -:
    SELECT name, email FROM users WHERE age > 18;` —es.
    -s.
    -.
    Lite:
    *FROM users; SELECT * users;SELECT name, FROM users WHERE > 18 — fetch rows from ausers.
    ****: `SELECT name, users WHERE age 18; — fetch users older than 18.
    :
    SELECT email FROM users age > ;—. -SQLite**SQLite: -:SELECT FROM users WHERE18;fetch users older 18.**: name, email users WHERE age18;es. SQLite**Lite**:-SQLite:-SQSQLite****:-Lite**:SQLite** SQLite -SQ**: FROM users WHERE;— -SQ:SELECT users WHERE age;—-SQLite SQLite-SQLite-Lite** Lite**:Lite**:**: users WHERE age — fetch. -Lite**-SQLiteSQLite**-SQLite**SQ**:SELECT name,18;.
    -SQSQSQLite:SQLiteSQ: name, email18;-SQLite:SQ**: users WHERE age — fetch users than 18 -SQSQLite:Lite** **:18;-SQLite SELECT name name, email;—SQLite**Lite:SELECT18;SQLite**SQ: name18;Lite**:: SELECT;—Lite**:;—**: `` — fetch -SQLite name, FROM18;**: SELECT — fetch-SQLiteSELECT name,; — fetchSQLiteLite
    -Lite: name; —es
    -SQSQSQSQLiteSQSQLiteLite**:SELECT18; — SQLite**:SQSQLiteSQLite:SQSQSQSQSQLiteLiteSQLiteSQSQSQSQSQSQLiteSQLiteSQLiteLiteLiteSQSQLiteLiteLiteSQSQLiteSQSQSQSQSQSQLiteLiteLiteLiteLite-SQSQLiteSQLiteLiteSQSQSQSQSQSQLiteSQSQLiteLiteSQSQLiteSQLiteSQSQSQSQSQSQLiteLiteSQLiteLiteSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQSQ 
    
  8. VecSzn commented on Nov 23, 2026

    @VecSzn
    Collaborator

    Poly.4 is out and it fixes one of the way the tags showed in the reply, the garbled text we could not get it to show here yet. Please tell us your graphics card and which version you used before update. Also try again without STRATA_INK_FLASH, STRATA_INK_KERNEL_TABLES and STRATA_FAST_ATTN, and then with the default --window and tell us after which step it is normal.

  9. VecSzn commented on Nov 23, 2026

    @VecSzn
    Collaborator

    Found the garbled text. It's just with some experts on the CPU. The fix is on main now, until there's a release with it you can just use --window 1 and you'll be fine.

  10. VecSzn commented on Nov 24, 2026

    @VecSzn
    Collaborator

    v0.2.20-poly.4-hotfix is out with the fix, please update and try again.

  11. VecSzn commented on Nov 24, 2026

    @VecSzn
    Collaborator

    Linux package is up now.

  12. AmirSabani commented on Nov 24, 2026

    @AmirSabani
    Author

    Hi @VecSzn @okada-shogo, i am reopening this issues since its not fixed.

    Seems like this is not Inkling-2-mini issue only.
    So in process of updating support to inklin-2-mini Tiel-Coder and qwen 3.6 are aslo affected with following issues:
    -Repeated thinking loop. (before inkling support for 1 mth i had 0 issues)
    -Repeating same char/token until it breaks.
    -Eating words, letters.
    -Extreme slowdown of Tiel-Coder in my case, from 96-100 tok/s back to 60 tok/s. and even droping on 40 with context above 100k.

    This is an Tiel-Coder issue on screenshoot.
    Screenshot From 2026-11-24 21-13-57

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions