mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3539] [Engine] session files are refused under --layer-split (501), so a split restart re-reads the whole conversation #1453
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#1453
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 @xunying7860 on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3539
Summary
Session files (shipped in 0.1.40, #661) are the durable way to keep a conversation across a
process restart, but they are refused whenever the engine runs with
--layer-split/--peer-device/--batch: the server answers 501, anddocs/DETAILS.mdstates itexplicitly —
Meanwhile the RAM conversation cache does work under the split since 0.1.39 (#747):
"a parked conversation holds one image per stage" (
docs/DETAILS.md, Conversation cache). So theper-stage state mechanism already exists — session files just do not use it.
Why it matters (measured on a real box)
The layer split is not optional for anyone whose model does not fit one card, and those are
exactly the users who pay the most for a restart, because the conversation has to be re-read:
session restored … in 18644.9 ms)Parking does not cover this case: it is host-RAM state and dies with the process.
Request
Support session files under
--layer-splitthe way parking does — one file per stage, or onecontainer holding a per-stage image — so that a restart with a split does not re-read the whole
conversation. If a narrower first step is preferred: per-stage
save/restorefor--layer-split(same API, same 501 today) would already help.Environment
--conversation-cache-mib 30720 --conversation-cache-slots 2what we are moving to
@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.