mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2732] 2x2080Ti 44G 64G RAM UD-IQ4 512K 配置 KV 复用 #1094
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#1094
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 @lingopen on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2732
Strata 配置留档(2026-10-16,主机 192.168.1.6:/home/sunny/Strata)
一、引擎配置 strata-unsloth-ud-iq4_xs.json
KV 复用相关的关键参数(升级后重点核对)
--conversation-cache-min-free-mib--conversation-cache-min-tokens--conversation-cache-mib--conversation-cache-slots--kv-resident二、启动脚本 run-unsloth-ud-iq4_xs.sh
启动方式:
cd /home/sunny/Strata && setsid nohup ./run-unsloth-ud-iq4_xs.sh > /tmp/strata-run.log 2>&1 < /dev/null &三、serve/frontend.py 补丁(升级必重打!)
升级会覆盖
serve/frontend.py,KV 复用的根因修复在里面。重打方法:在
/home/sunny/Strata下执行:补丁位置参考(2026-10-16 版本 frontend.py):
_canonical_tools()模块级函数(在class ChatTemplate之前)ChatTemplate.render()开头,**kwargs) -> str:之后加两行,对tools做规范化验证补丁生效
当前版本备份位置(服务器上)
serve/frontend.py.bak-20261016(补丁前原始版)strata-unsloth-ud-iq4_xs.json.bak-20261016-opt(改配置前原始版)@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.