Skip to content

Experts tab (community patch, pending upstream review)

Latest

Choose a tag to compare

@DmNep DmNep released this 10 Nov 16:03
· 2 commits to experts-tab since this release

Experts tab (community patch, pending upstream review)

Adds a live Experts tab to Strata's own web app (next to Chat / Monitor / About): a grid of every (layer, expert) cell the adaptive expert cache tracks, colored by its historical rank, with a bright outline on whichever experts are physically resident in VRAM right now.

This is offered as a patch while the idea is discussed upstream — see Niko1221/Strata#5723. Not merged, not endorsed by the Strata maintainers yet; use at your own judgment.

No engine changes. It only reads the file --expert-profile-save (an existing, opt-in Strata feature) already writes. New code: one read-only GET /api/expert-heat endpoint in serve/server.py, and a new tab in serve/web/ (index.html, app.js, app.css, new experts.js). Themed to match Strata's own light/dark tokens.

How to try it

If you already have a Strata source checkout:

git remote add experts-tab-patch https://github.com/DmNep/Strata.git
git fetch experts-tab-patch v0.1.0-experts-tab
git cherry-pick v0.1.0-experts-tab

or download experts-tab.patch below and apply it with git am experts-tab.patch from your repo root.

Enable the data source in your model's run config (the same opt-in flags --expert-profile-save already supports):

"expert_profile_save": "data/expert-heat-live.bin",
"expert_profile_save_every": 0.5

(expert_profile_save_every is in minutes between snapshots; use a small value like 0.5 for a livelier tab, the Strata default is 10.)

Rebuild the web assets aren't needed (plain JS/CSS/HTML, served as-is) — just restart strata serve with the updated config and open the Experts tab.

Screenshot

See experts-tab-light.png below (light theme).