[GH-ISSUE #1944] Long story creation leads to single token responses when context grows #770

Closed
opened 2026-11-04 01:45:43 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @RobinMeyer on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1944

I used a story generator with strata 0.1.42, which sends a request for every section with the content of all earlier request as context and there it happened, that after about 12000 tokens, the responses are cut in the middle and all following responses return only one token anymore.
I'm using RTX5070ti 16GB, 7950X3d and 64GB RAM. The configuration is:
"--expert-cache",
"auto",
"--prefill",
"auto",
"--spec",
"4",
"--mtp",
"D:\AI\Strata-data\mtp\rt",
"--max-context",
"131072",
"--kv",
"int8",
"--kv-resident",
"32768",
"--spec-min-p",
"0.5",
"--pool-workers",
"8",
"--adapt-every",
"1",
"--adapt-swaps",
"160",
"--adapt-decay",
"0.97"
With strata 0.1.39, the error seems not to happen. There, I just wrote a 90000 character story without any broken chapters with the same config.

Originally created by @RobinMeyer on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1944 I used a story generator with strata 0.1.42, which sends a request for every section with the content of all earlier request as context and there it happened, that after about 12000 tokens, the responses are cut in the middle and all following responses return only one token anymore. I'm using RTX5070ti 16GB, 7950X3d and 64GB RAM. The configuration is: "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--mtp", "D:\\AI\\Strata-data\\mtp\\rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "32768", "--spec-min-p", "0.5", "--pool-workers", "8", "--adapt-every", "1", "--adapt-swaps", "160", "--adapt-decay", "0.97" With strata 0.1.39, the error seems not to happen. There, I just wrote a 90000 character story without any broken chapters with the same config.
Author
Owner

@RobinMeyer commented on GitHub (Oct 11, 2026):

Sorry, now the same error happened also with v0.1.39, when creating another story, while the same strata was still running.
If you want to test the behavior: https://github.com/RobinMeyer/AI_Story_Generator

<!-- gh-comment-id:6108334127 --> @RobinMeyer commented on GitHub (Oct 11, 2026): Sorry, now the same error happened also with v0.1.39, when creating another story, while the same strata was still running. If you want to test the behavior: https://github.com/RobinMeyer/AI_Story_Generator
Author
Owner

@RobinMeyer commented on GitHub (Oct 11, 2026):

I made another test with 200k context and q4_0. There, a story with about 30k token was correctly finished. Another story creation without closing the program and strata ended after about 20k token. So it may help to increase the context.

<!-- gh-comment-id:6111497115 --> @RobinMeyer commented on GitHub (Oct 11, 2026): I made another test with 200k context and q4_0. There, a story with about 30k token was correctly finished. Another story creation without closing the program and strata ended after about 20k token. So it may help to increase the context.
Author
Owner

@RobinMeyer commented on GitHub (Oct 15, 2026):

Today, I made a story of about 45k token with these settings:

"--expert-cache",
  "auto",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--mtp",
  "D:\\AI\\Strata-data\\mtp\\rt",
  "--max-context",
  "65536",
  "--kv",
  "k8v4",
  "--kv-resident",
  "32768",
  "--vram-reserve-mib",
  "1500",
  "--pcie-frac",
  "1.00",
  "--spec-min-p",
  "0.70",
  "--pool-workers",
  "10",
  "--adapt-every",
  "1",
  "--adapt-swaps",
  "160",
  "--adapt-decay",
  "0.97"

with strata 0.1.44.1 and IQ3-XXS. It worked well and the story was consistent. The main change was doubling the VRAM reserve, but I don't know, if this is really the issue.

<!-- gh-comment-id:6200768605 --> @RobinMeyer commented on GitHub (Oct 15, 2026): Today, I made a story of about 45k token with these settings: ``` "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--mtp", "D:\\AI\\Strata-data\\mtp\\rt", "--max-context", "65536", "--kv", "k8v4", "--kv-resident", "32768", "--vram-reserve-mib", "1500", "--pcie-frac", "1.00", "--spec-min-p", "0.70", "--pool-workers", "10", "--adapt-every", "1", "--adapt-swaps", "160", "--adapt-decay", "0.97" ``` with strata 0.1.44.1 and IQ3-XXS. It worked well and the story was consistent. The main change was doubling the VRAM reserve, but I don't know, if this is really the issue.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. 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:6270718548 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. 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).
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#770
No description provided.