[PR #3091] [CLOSED] monitor: show every parallel request + fixed-height slot dots (#465) #4448

Closed
opened 2026-11-07 15:35:58 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3091
Author: @superlee-terry
Created: 10/18/2026
Status: ❌ Closed

Base: main ← Head: feat/monitor-slots


📝 Commits (2)

  • 5d84fc1 monitor: show every parallel request - the Model state card renders one row per batch slot (reading progress / decoding tokens+tok/s+elapsed / idle-held), plus solo-path, waiting-for-slot and queued counts; the single progress bar only ever showed the newest request (#465)
  • d9961b3 monitor: batch-slot dots on the state-card head row - one dot per slot (idle/reading/generating/queued), right-aligned, no text, fixed height; the slot-extra line under the grid made the card jump between single and parallel load (#465 follow-up)

📊 Changes

3 files changed (+60 additions, -0 deletions)

View changed files

📝 serve/web/app.css (+19 -0)
📝 serve/web/app.js (+39 -0)
📝 serve/web/index.html (+2 -0)

📄 Description

What

Two web-monitor commits (previously part of #2738, now split out; all engine changes from that PR are dropped — see the closing comment there for the 2x3090 A/B data).

1. Show every parallel request (#465). With --batch N, the Model state card's single progress bar only ever showed the newest request, so concurrent streams were invisible. The card now renders one row per batch slot: reading progress, decoding (tokens, tok/s, elapsed), or idle with the tokens it holds for the next turn — plus solo-path / waiting-for-slot / queued counts.

2. Slot dots on the head row. The extra-counts line under the grid appeared and disappeared with load, so the card height jumped between single and parallel requests. It is replaced by one dot per slot on the state-card head row, right-aligned, text-free: grey = idle, blue = reading, green = generating, yellow = queued/waits, red = error; hovering a dot shows what that slot is doing. The card height is now constant.

Dot and row counts come from /metrics' live.slots (the server reports one entry per --batch slot), so they follow parallel/--batch dynamically — 2 slots render 2 dots, 4 render 4. --spec is the MTP budget and is unrelated to slots.

Test

Live on 2x RTX 3090, batch 3: 3 concurrent streams render 3 generating rows + 3 green dots; idle returns to grey; state card height measured constant (197px) across idle/parallel transitions. serve/web static files only — no server, engine, or protocol changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3091 **Author:** [@superlee-terry](https://github.com/superlee-terry) **Created:** 10/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/monitor-slots` --- ### 📝 Commits (2) - [`5d84fc1`](https://github.com/Niko1221/Strata/commit/5d84fc191878f77455eec0df8bf6bf7f749db3d7) monitor: show every parallel request - the Model state card renders one row per batch slot (reading progress / decoding tokens+tok/s+elapsed / idle-held), plus solo-path, waiting-for-slot and queued counts; the single progress bar only ever showed the newest request (#465) - [`d9961b3`](https://github.com/Niko1221/Strata/commit/d9961b3fc2eb41c68e15848fcd5653659587b5a9) monitor: batch-slot dots on the state-card head row - one dot per slot (idle/reading/generating/queued), right-aligned, no text, fixed height; the slot-extra line under the grid made the card jump between single and parallel load (#465 follow-up) ### 📊 Changes **3 files changed** (+60 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `serve/web/app.css` (+19 -0) 📝 `serve/web/app.js` (+39 -0) 📝 `serve/web/index.html` (+2 -0) </details> ### 📄 Description ## What Two web-monitor commits (previously part of #2738, now split out; all engine changes from that PR are dropped — see the closing comment there for the 2x3090 A/B data). **1. Show every parallel request (#465).** With `--batch N`, the Model state card's single progress bar only ever showed the newest request, so concurrent streams were invisible. The card now renders one row per batch slot: reading progress, decoding (tokens, tok/s, elapsed), or idle with the tokens it holds for the next turn — plus solo-path / waiting-for-slot / queued counts. **2. Slot dots on the head row.** The extra-counts line under the grid appeared and disappeared with load, so the card height jumped between single and parallel requests. It is replaced by one dot per slot on the state-card head row, right-aligned, text-free: grey = idle, blue = reading, green = generating, yellow = queued/waits, red = error; hovering a dot shows what that slot is doing. The card height is now constant. Dot and row counts come from `/metrics`' `live.slots` (the server reports one entry per `--batch` slot), so they follow `parallel`/`--batch` dynamically — 2 slots render 2 dots, 4 render 4. `--spec` is the MTP budget and is unrelated to slots. ## Test Live on 2x RTX 3090, batch 3: 3 concurrent streams render 3 generating rows + 3 green dots; idle returns to grey; state card height measured constant (197px) across idle/parallel transitions. `serve/web` static files only — no server, engine, or protocol changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:35:58 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4448
No description provided.