mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5524] [Other] nsys 2025.1.3 report converter crashes with STRATA_PREFILL_ROUTED_STREAM=1 ("Wrong event order", TraceProcessEvent Type=48) #5495
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#5495
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 @Lennier on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5524
Environment: Windows Server 2022, driver 582.16, Tesla V100-SXM2-32GB, engine 0.1.57 (Strata v0.2.11), nsys 2025.1.3.
Repro:
nsys profile --trace=cuda,nvtx --cuda-graph-trace=node --cuda-flush-interval=10000around the server withSTRATA_PREFILL_ROUTED_STREAM=1set; run one ~100K-token prefill;nsys stop.Result: stop produces only a
.qdstrm(494 MB, kept at our side) and the converter throwsQuadDCommon::InvalidArgumentExceptioninEventCollection::CheckOrder: "Wrong event order has been detected… TraceProcessEvent Type=48" (new event ~7 s older than the last one, same GlobalId). Reproduced 4/4 with RS on.Contrast: the identical capture with RS unset converts fine (same session, same flags, earlier the same day).
Variant tried:
--cuda-api-trace=off— the session dies mid-run instead ("There are no active sessions"), no file at all.Suspect: out-of-order CUPTI API records from the prefill issuer thread (deep copy queue,
--cuda-graph-trace=nodeamplifies record volume). Happy to share the qdstrm.