Skip to content

feat: add TokenSpeed engine support - #1655

Merged
cquil11 merged 4 commits into
mainfrom
feat/tokenspeed-engine-support
Nov 5, 2026
Merged

cquil11 merged 4 commits into
mainfrom
feat/tokenspeed-engine-support

Conversation

@cquil11

@cquil11 cquil11 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

TokenSpeed runs already contain server metrics, but the app does not recognize their metric names, leaving KV utilization and request queue charts empty. Add the TokenSpeed mappings and framework family across dashboard filters, embeds, and read-only inference and historical views, including unofficial overlays.

Preserve TokenSpeed KV samples through streamed ingest and recompute captured server metrics during aggregate backfills. Bump the chart and aggregate cache versions so previously ingested results can refresh. Metrics the engine does not export remain missing. The display-name change landed separately in #1676.

Companion to InferenceX#4781 and the Qwen3.8-Flash-Next GB300 AgentX configuration in InferenceX#4780.

Validated the actual c1 and c8 artifacts from full sweep 42070390280 through the chart reader: c8 changes from empty KV/queue series to 3,643 KV samples and 3,642 queue samples, including warmup.


Note

Medium Risk
Touches shared filter classification, stored aggregate/chart versioning, and backfill recomputation paths that affect cached agentic trace data across engines, not just UI labels.

Overview
Adds TokenSpeed as a first-class inference engine (tokenspeed in FW_REGISTRY) and framework family, wired through dashboard quick filters, embeds, read-only inference/historical views, and updated entity-ingest docs.

Trace and agentic pipelines now ingest TokenSpeed Prometheus metrics (tokenspeed:kv_cache_usage_perc, running/waiting request gauges) into chart series and aggregate stats, with prefix-cache and token-throughput series left empty when the engine does not export them. Chart series version 20 and aggregate stats version 10 trigger recomputation; aggregate backfill always re-reads server metrics on stats upgrades so KV interpretation changes are not missed.

Public API docs and the inferencex skill guide document TokenSpeed filtering parity (official + overlay points) and trace-server-metrics behavior; contract source digests were added/updated for framework and chart-series modules.

Reviewed by Cursor Bugbot for commit 33cc0f5. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
inferencemax-app Ready Ready Preview Nov 5, 2026 7:57pm UTC

Request Review

@blacksmith-sh

blacksmith-sh Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
TCO calculator — unofficial run overlay › late overlay arrival/
keeps a GPU filter the user set before the run landed
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6e5a1c9. Configure here.

@cquil11
cquil11 merged commit 7633858 into main Nov 5, 2026
43 checks passed
@cquil11
cquil11 deleted the feat/tokenspeed-engine-support branch November 5, 2026 20:00

This branch was successfully deployed

1 active deployment
Preview — 33cc0f59 Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant