mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #994] [CLOSED] Isolate concurrent image positions and validate vision records #2950
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#2950
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/994
Author: @ilumn
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:feat/multimodal-slot-isolation📝 Commits (10+)
fa16567setup: an earlier config that does not parse is skipped, not a crash; configs are written atomically (#459)749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it📊 Changes
9 files changed (+278 additions, -36 deletions)
View changed files
📝
CMakeLists.txt(+17 -0)📝
docs/BATCHING.md(+3 -0)📝
include/strata/core/session.hpp(+4 -0)📝
include/strata/kernels/mrope.hpp(+10 -0)➕
include/strata/program/vision_records.hpp(+49 -0)📝
src/core/verify.cpp(+24 -9)📝
src/program/generate.cpp(+45 -27)➕
tests/core/vision_records_test.cpp(+36 -0)➕
tests/cuda/mrope_slot_graph_test.cpp(+90 -0)📄 Description
With
--batchand--vision, admitting another image or text prompt overwrites the device-wide MRoPE table still used by active slots. Their query/key and indexer rotations then use the new request's positions, so an unrelated admission can change an image reply.Give each slot a stable position table on every GPU stage and capture that slot's pointer in its rotation/indexer graphs. Slot reuse updates the contents without changing captured addresses. The same image-admission path now rejects malformed SVE1 records and checks context bounds before constructing positions.
Validation against official main
6f32ec0, using Swift IQ3_XXS on two RTX 5090s with CUDA 13.0:The two added regression tests pass. The 262K run checks allocation and short-request correctness; full-length context quality and other models/backends remain outside qualification.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.