mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4524] [Engine] STRATA_CKPT_ASYNC on a CUDA layer split: checkpoint copies fail (invalid resource handle), then the engine dies #2039
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#2039
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 @coryjett on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4524
Area
Engine
Desktop app, Terminal or source?
Terminal (Linux release 0.2.7, engine 0.1.52); the same engine code is on
mainat46c152a1.What happened
With
STRATA_CKPT_ASYNC=1(plusSTRATA_CKPT_POOL=1 STRATA_CKPT_THREADS=1 STRATA_PARK_TRACE=1) on a two-card CUDAlayer split, the first checkpoint copies fail and the engine ends up in a sticky CUDA error:
After the first failure every request ran 60-80 s and returned no tokens (the client saw 503s); after the
"unspecified launch failure" the server restarted the engine. The model also took 227 s to load against 91 s for the
same profile without the variables. Without
STRATA_CKPT_ASYNCthe same profile ran four other arms the same hourwithout an error.
docs/DETAILS.md (~1501) measured
STRATA_CKPT_ASYNCon one RTX 3090 (73 -> 62 ms per checkpoint). On a split thecheckpoint's K/V lives on two devices; "invalid resource handle" looks like a stream or event used on the wrong device
(unconfirmed static analysis: I have not traced the copy path). Either the option should refuse a layer split with a
reason line, as other single-GPU options do, or the stage copy needs the right device current.
Smallest steps or command that reproduce it
Serve Flash-Next IQ3_S on two NVIDIA cards (
"gpu": [0, 1],"layer_split": "25",--trim-stage-weights,conversation cache on) with
STRATA_CKPT_ASYNC=1in the engine environment; send a ~60K-token prompt followed by afew short turns on the same conversation (the first checkpoint saves trigger it).
Reproduction status
Reproduced locally, once (one sweep arm, 2 runs, both dead after the first failure). Full engine log kept. The four
variables were set together; the failing line names
STRATA_CKPT_ASYNCitself, but I have not yet run it alone. Happyto do that isolation run (about 15 minutes) if useful.
Strata version
0.2.7 (engine 0.1.52, Control 0.1.52).
Graphics card, memory and system
2x RTX 3090 24 GB (PCIe 3.0 x16, one per socket), 2x Xeon E5-2620 v3, 256 GB, Ubuntu 26.10, driver 580.178.04, CUDA 13.
Model, size and settings
Flash-Next IQ3_S, layer split 25 with
--trim-stage-weights,--expert-cache auto(arena), conversation cache40 GiB / 16 slots,
--prefill 16384, MTP--spec 4; the full profile is in #4468.Logs
The lines above; the whole engine log (about 3,000 lines) on request.
@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.