mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2402] 请问怎么修改上下文,最大可以是多少? #969
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#969
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haclyok on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2402
请问怎么修改上下文,最大可以是多少?
@qiuzan2001 commented on GitHub (Oct 15, 2026):
修改上下文:重新运行 setup 并选择新的上下文长度,或者直接加参数(INSTALL.md「Options without questions」):
最大是多少:模型训练长度是 262,144(262K)。setup 还提供 384K 和 512K,属于实验性功能,会自动开启 yarn rope scaling(DETAILS.md「Context extension past 262K」)。上下文越长,KV 缓存需要的显存/内存越多(每个 token 约 13 KB);DETAILS.md 里也有一次 1M(
--max-context 1048576,yarn 4 倍)的实测。In English: run setup again (
START-HERE.bat --setup, or--context N --yes) to change the context. The model is trained on 262,144 tokens; 384K and 512K are experimental (setup turns on yarn rope scaling itself), and each token of context costs about 13 KB of KV cache.@haclyok commented on GitHub (Oct 17, 2026):
感谢,请问加大上下文会不会拖慢速度?
还有一点,我用了好多AI,使用SKILL技能时,总是会偷懒,不严格按照技能流程和标准走。也写了门禁核验等,但还是会偷懒。请问有办法让AI完全执行技能流程的规则 吗?
@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.