Skip to content

ai-rm protocol v0.1: AcceleratorProfile, airm_* metrics and placement in the console - #1

Merged
gspark-etri merged 3 commits into
mainfrom
airm/v0.1
Oct 19, 2026
Merged

gspark-etri merged 3 commits into
mainfrom
airm/v0.1

Conversation

@gspark-etri

Copy link
Copy Markdown
Contributor

Re-opened after the repository was recreated with sanitized public history (the previous PR did not carry over).

  • Reads the AcceleratorProfile CRD (airm.ai-computing.io/v1alpha1): vendor, model, memory, peak TFLOPS, selected device
  • Reads Prometheus airm_* series (rm-core v0.1 names/units); vendor-derived values shown as [vendor] when absent; PWR prefers airm_power_w{scope="card"}
  • Shows the airm-placement ConfigMap decision and reason
  • npu-lora training throughput: airm_tok_s{component="npu-lora"} first, deprecated npu_lora_tokens_per_second as fallback (PROTOCOL §6, review item)
  • Without the CRD, series and ConfigMap nothing changes and nothing warns

🤖 Generated with Claude Code

gspark-etri and others added 3 commits October 19, 2026 09:12
…acement

Infra > Devices gains a read-only ai-rm panel, shown only when the cluster
has an ai-rm source:
- AcceleratorProfile (airm.ai-computing.io/v1alpha1): vendor, model,
  memory, peak TFLOPS with its source; the selected device is marked.
- Prometheus airm_* series with rm-core v0.1 names/units; vendor-derived
  tok_s/req_s/power_w/accelerators shown as [vendor] when absent. The
  device PWR column prefers airm_power_w{scope="card"}.
- ConfigMap airm-placement (LMD_AIRM_NS, default llm-d): decision + reason.

Without the CRD, series and ConfigMap nothing changes and nothing warns.
ai-rm.yaml declares protocol "0.1", metrics: [].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npu-lora now reports training throughput as airm_tok_s{component="npu-lora",run_id=...}
and keeps npu_lora_tokens_per_second as a deprecated alias until protocol 0.2.
Read the shared name first and fall back to the old one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	CHANGELOG.md
#	src/ui/tests.rs
@gspark-etri
gspark-etri merged commit b1edd66 into main Oct 19, 2026
2 checks passed
@gspark-etri
gspark-etri deleted the airm/v0.1 branch October 19, 2026 03:20
gspark-etri added a commit that referenced this pull request Oct 20, 2026
ai-rm protocol v0.1: AcceleratorProfile, airm_* metrics and placement in the console
gspark-etri added a commit that referenced this pull request Oct 20, 2026
ai-rm protocol v0.1: AcceleratorProfile, airm_* metrics and placement in the console
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