[GH-ISSUE #3538] [Engine] Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3… #1455

Closed
opened 2026-11-04 01:51:24 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @momomobinx on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3538

Image

Issue title: [Bug]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue

Strata version: 0.1.41

What happened

On the strata engine (Niko1221/Strata, v0.1.41) running Qwen3.8-Flash-Next (IQ3_S quantization), I tested whether the model preserves date formatting with a shell-style input:

Input:

echo "2026/10/21"

Expected the model to preserve the slash format (2026/10/21), but it replied:

2026-10-21

The model automatically changed the date separator from / to -. This caused a real problem when I asked it to download a file: the download URL contained a date path with slashes, and when the model called the download tool it rewrote the date in the arguments to dash format, so the download request pointed at the wrong URL.

Reproduces almost 100% of the time, not intermittent. Wondering whether other users have hit the same behavior, and whether it's related to IQ3_S quantization precision.

Environment

  • Strata version: 0.1.41
  • Strata engine path: /data/env/strata/Strata/engine/strata
  • Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S (two-shard GGUF, IQ3_S quantization)
  • Config: --max-context 262144, --kv int8, --spec 4, --spec-min-p 0.5, --resident-experts, --vision, --pool-workers 15
  • Env vars: STRATA_ADAPT_LAG=2, STRATA_EXCHANGE_ROTATE=1, STRATA_PF_FUSED=1
  • GPU: dual card (gpu: [0, 1]), parallel: 4
  • Full config JSON attached below

Steps to reproduce

  1. Start the strata engine (v0.1.41) with the config above.
  2. Send the model: echo "2026/10/21"
  3. Observe output: the model returns 2026-10-21 instead of preserving 2026/10/21.
  4. In a tool-calling scenario, if the model is asked to build a URL containing 2026/10/21 and call the download tool, it rewrites the date in the arguments to 2026-10-21, causing the download to fail.

Additional info

  • I suspect this is related to precision loss from IQ3_S quantization, but I'm not sure whether it's a tokenizer-level deviation in handling digits/symbols or model behavior degradation at this quantization level.
  • If it would help to compare against a non-quantized version, or if you need the engine log (strata-iq3_s.log), let me know.
  • I don't currently have the setup to test whether this also occurs at other quantization levels (e.g. Q4, Q5) or BF16 — would appreciate confirmation from anyone who can.

Full environment config

{
 "exe": "/data/env/strata/Strata/engine/strata",
 "args": [
  "--pack", "/data/env/strata/Strata-data/packs/iq3_s",
  "--native", "/data/env/strata/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",
  "--ple-gguf", "/data/env/strata/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",
  "--expert-profile", "/data/env/strata/Strata/data/expert-profile.bin",
  "--expert-cache", "auto",
  "--prefill", "auto",
  "--spec", "4",
  "--spec-min-p", "0.5",
  "--mtp", "/data/env/strata/Strata-data/mtp/rt",
  "--max-context", "262144",
  "--kv", "int8",
  "--resident-experts",
  "--vision",
  "--pool-workers", "15"
 ],
 "cwd": "/data/env/strata/Strata",
 "tokenizer": "/data/env/strata/Strata-data/packs/iq3_s/tokenizer",
 "model_name": "qwen3-coder",
 "env": {
  "STRATA_ADAPT_LAG": "2",
  "STRATA_EXCHANGE_ROTATE": "1",
  "STRATA_PF_FUSED": "1"
 },
 "gpu": [0, 1],
 "parallel": 4,
 "host": "172.16.0.1",
 "port": 8000
}
Originally created by @momomobinx on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3538 <img width="2880" height="1461" alt="Image" src="https://github.com/user-attachments/assets/c39f9318-e8ec-4bcb-b796-10353f607bb5" /> **Issue title**: `[Bug]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue` **Strata version**: `0.1.41` **What happened** On the `strata` engine (`Niko1221/Strata`, v0.1.41) running Qwen3.8-Flash-Next (IQ3_S quantization), I tested whether the model preserves date formatting with a shell-style input: Input: ``` echo "2026/10/21" ``` Expected the model to preserve the slash format (`2026/10/21`), but it replied: ``` 2026-10-21 ``` The model automatically changed the date separator from `/` to `-`. This caused a real problem when I asked it to download a file: the download URL contained a date path with slashes, and when the model called the download tool it rewrote the date in the arguments to dash format, so the download request pointed at the wrong URL. Reproduces almost 100% of the time, not intermittent. Wondering whether other users have hit the same behavior, and whether it's related to IQ3_S quantization precision. **Environment** - Strata version: `0.1.41` - Strata engine path: `/data/env/strata/Strata/engine/strata` - Model: `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S` (two-shard GGUF, IQ3_S quantization) - Config: `--max-context 262144`, `--kv int8`, `--spec 4`, `--spec-min-p 0.5`, `--resident-experts`, `--vision`, `--pool-workers 15` - Env vars: `STRATA_ADAPT_LAG=2`, `STRATA_EXCHANGE_ROTATE=1`, `STRATA_PF_FUSED=1` - GPU: dual card (`gpu: [0, 1]`), `parallel: 4` - Full config JSON attached below **Steps to reproduce** 1. Start the strata engine (v0.1.41) with the config above. 2. Send the model: `echo "2026/10/21"` 3. Observe output: the model returns `2026-10-21` instead of preserving `2026/10/21`. 4. In a tool-calling scenario, if the model is asked to build a URL containing `2026/10/21` and call the download tool, it rewrites the date in the arguments to `2026-10-21`, causing the download to fail. **Additional info** - I suspect this is related to precision loss from IQ3_S quantization, but I'm not sure whether it's a tokenizer-level deviation in handling digits/symbols or model behavior degradation at this quantization level. - If it would help to compare against a non-quantized version, or if you need the engine log (`strata-iq3_s.log`), let me know. - I don't currently have the setup to test whether this also occurs at other quantization levels (e.g. Q4, Q5) or BF16 — would appreciate confirmation from anyone who can. **Full environment config** ```json { "exe": "/data/env/strata/Strata/engine/strata", "args": [ "--pack", "/data/env/strata/Strata-data/packs/iq3_s", "--native", "/data/env/strata/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", "--ple-gguf", "/data/env/strata/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", "--expert-profile", "/data/env/strata/Strata/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "/data/env/strata/Strata-data/mtp/rt", "--max-context", "262144", "--kv", "int8", "--resident-experts", "--vision", "--pool-workers", "15" ], "cwd": "/data/env/strata/Strata", "tokenizer": "/data/env/strata/Strata-data/packs/iq3_s/tokenizer", "model_name": "qwen3-coder", "env": { "STRATA_ADAPT_LAG": "2", "STRATA_EXCHANGE_ROTATE": "1", "STRATA_PF_FUSED": "1" }, "gpu": [0, 1], "parallel": 4, "host": "172.16.0.1", "port": 8000 } ```
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 2026):

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

<!-- gh-comment-id:6307535427 --> @github-actions[bot] commented on GitHub (Oct 21, 2026): 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6307551300 --> @github-actions[bot] commented on GitHub (Oct 21, 2026): Thanks, this follows the format now.
Author
Owner

@split-n commented on GitHub (Oct 25, 2026):

I have the same issue in my environment with both Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S and Unsloth UD-Q4_K_XL. With the same input on Q4, the date separator was incorrectly rewritten from '/' to '-' in 7/10 attempts.

POST /v1/chat/completions

{
  "model": "qwen3.8-flash-next-ud-q4_k_xl",
  "messages": [{"role": "user", "content": "echo \"2026/10/21\""}],
  "max_tokens": 4096
}

In my task of extracting URLs containing year/month paths (like https://example.com/2026/10/123456) from the DOM, it failed (like https://example.com/2026-10-123456) in 10/10 attempts.

Environment:

  • Docker image: ghcr.io/niko1221/strata:0.2.3-cuda13; native engine 0.1.48 (CUDA 13).
  • Model: unsloth/Qwen3.8-Flash-Next-GGUF, UD-Q4_K_XL, revision 38bb39ee97821de2c9009abb7e93950eec396e66
  • GPU: RTX 5060 Ti 16 GB; NVIDIA driver 595.91.07.
  • Host: Ubuntu 26.04.1 LTS
{
  "exe": "component:strata-engine",
  "cwd": "/opt/strata/terminal",
  "args": [
    "--pack", "/data/Strata-data/packs/ud_q4_k_xl",
    "--native", "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",
    "--ple-gguf", "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00002-of-00004.gguf",
    "--resident-budget-gib", "54",
    "--expert-profile", "/opt/strata/terminal/data/expert-profile.bin",
    "--expert-cache", "auto",
    "--prefill", "auto",
    "--spec", "4",
    "--spec-min-p", "0.5",
    "--mtp", "/data/Strata-data/mtp/qwen3.8-flash-next-rt",
    "--max-context", "131072",
    "--kv", "int8",
    "--kv-resident", "32768",
    "--vram-reserve-mib", "1536",
    "--vision",
    "--conversation-cache-mib", "8192",
    "--conversation-cache-slots", "4",
    "--memory-limit-mib", "81920"
  ],
  "gpu": 0,
  "model_name": "qwen3.8-flash-next-ud-q4_k_xl",
  "tokenizer": "/data/Strata-data/packs/ud_q4_k_xl/tokenizer",
  "log": "/data/install/strata-model.log",
  "api_monitor": true,
  "env_to_user": true,
  "tool_call_recovery": true,
  "lazy_load": true,
  "idle_unload_s": 900,
  "vision": {
    "exe": "/opt/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata-vision",
    "gpu": false,
    "threads": 8,
    "max_tokens": 300,
    "mmproj": "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/mmproj-Qwen3.8-Flash-Next-BF16.gguf",
    "model": "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf"
  }
}
<!-- gh-comment-id:6393786785 --> @split-n commented on GitHub (Oct 25, 2026): I have the same issue in my environment with both Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S and Unsloth UD-Q4_K_XL. With the same input on Q4, the date separator was incorrectly rewritten from '/' to '-' in 7/10 attempts. POST /v1/chat/completions ```json { "model": "qwen3.8-flash-next-ud-q4_k_xl", "messages": [{"role": "user", "content": "echo \"2026/10/21\""}], "max_tokens": 4096 } ``` In my task of extracting URLs containing year/month paths (like https://example.com/2026/10/123456) from the DOM, it failed (like https://example.com/2026-10-123456) in 10/10 attempts. Environment: - Docker image: ghcr.io/niko1221/strata:0.2.3-cuda13; native engine 0.1.48 (CUDA 13). - Model: unsloth/Qwen3.8-Flash-Next-GGUF, UD-Q4_K_XL, revision 38bb39ee97821de2c9009abb7e93950eec396e66 - GPU: RTX 5060 Ti 16 GB; NVIDIA driver 595.91.07. - Host: Ubuntu 26.04.1 LTS ```json { "exe": "component:strata-engine", "cwd": "/opt/strata/terminal", "args": [ "--pack", "/data/Strata-data/packs/ud_q4_k_xl", "--native", "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf", "--ple-gguf", "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00002-of-00004.gguf", "--resident-budget-gib", "54", "--expert-profile", "/opt/strata/terminal/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "/data/Strata-data/mtp/qwen3.8-flash-next-rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "32768", "--vram-reserve-mib", "1536", "--vision", "--conversation-cache-mib", "8192", "--conversation-cache-slots", "4", "--memory-limit-mib", "81920" ], "gpu": 0, "model_name": "qwen3.8-flash-next-ud-q4_k_xl", "tokenizer": "/data/Strata-data/packs/ud_q4_k_xl/tokenizer", "log": "/data/install/strata-model.log", "api_monitor": true, "env_to_user": true, "tool_call_recovery": true, "lazy_load": true, "idle_unload_s": 900, "vision": { "exe": "/opt/strata/components/engine/0.1.48-linux-x86_64-cuda-cuda13/strata-vision", "gpu": false, "threads": 8, "max_tokens": 300, "mmproj": "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/mmproj-Qwen3.8-Flash-Next-BF16.gguf", "model": "/data/Strata-data/models/Unsloth-UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf" } } ```
bsakaguchi changed title from [GH-ISSUE #3538] [Engine] Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3… to [GH-ISSUE #3538] [Engine] Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3… 2026-11-07 14:35:44 +07:00
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659548749 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
bsakaguchi changed title from [GH-ISSUE #3538] [Engine] Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3… to [GH-ISSUE #3538] [Engine] Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3_S quantization precision issue]: Model rewrites slash-separated dates to dash-separated format after echo input — suspected IQ3… 2026-11-07 15:28:26 +07:00
Author
Owner

@split-n commented on GitHub (Nov 7, 2026):

Re-tested on 0.2.11: still reproduces.

Environment

  • Docker image ghcr.io/niko1221/strata:0.2.11-cuda13 (engine 0.1.57, CUDA 13)
  • Model: unsloth/Qwen3.8-Flash-Next-GGUF UD-IQ3_XXS
  • GPU: RTX 5060 Ti 16 GB, driver 595.91.07;
  • Host: Ubuntu 26.04

Request (10 runs, one at a time)
POST /v1/chat/completions
{"messages": [{"role": "user", "content": "echo "2026/10/21""}], "max_tokens": 4096}

Result: 9 of 10 replies rewrote the date as 2026-10-21.

  • 8 replies were the plain text 2026-10-21.
  • 1 reply was a tool call whose argument was rewritten: echo "2026-10-21".
  • 1 reply kept 2026/10/21.
<!-- gh-comment-id:6704062311 --> @split-n commented on GitHub (Nov 7, 2026): Re-tested on 0.2.11: still reproduces. **Environment** - Docker image `ghcr.io/niko1221/strata:0.2.11-cuda13` (engine 0.1.57, CUDA 13) - Model: unsloth/Qwen3.8-Flash-Next-GGUF UD-IQ3_XXS - GPU: RTX 5060 Ti 16 GB, driver 595.91.07; - Host: Ubuntu 26.04 **Request** (10 runs, one at a time) POST /v1/chat/completions {"messages": [{"role": "user", "content": "echo \"2026/10/21\""}], "max_tokens": 4096} **Result: 9 of 10 replies rewrote the date as `2026-10-21`.** - 8 replies were the plain text `2026-10-21`. - 1 reply was a tool call whose argument was rewritten: `echo "2026-10-21"`. - 1 reply kept `2026/10/21`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1455
No description provided.