Skip to content

fix: improve Metal agent usability#254

Merged
Defilan merged 4 commits intomainfrom
fix/metal-improvements
Apr 1, 2026
Merged

fix: improve Metal agent usability#254
Defilan merged 4 commits intomainfrom
fix/metal-improvements

Conversation

@Defilan
Copy link
Copy Markdown
Member

@Defilan Defilan commented Apr 1, 2026

Summary

Three fixes for Metal deployment experience discovered during TurboQuant benchmarking and demo recording:

Test plan

  • make test passes
  • Deploy with --accelerator metal shows GPU: 1 x apple
  • Start Metal agent before helm install, verify it recovers after CRDs installed
  • Run llmkube benchmark against Metal deployment without --port-forward=false

Fixes #249, #250, #251

Defilan added 4 commits March 31, 2026 19:24
…nchmark detection)

Three fixes for Metal deployment experience:

- Default GPU vendor to "apple" when accelerator is metal instead of
  showing "nvidia" in the deploy summary (#249)
- Add exponential backoff retry to the Metal agent watcher so it
  recovers when started before CRDs are installed (#250)
- Auto-detect Metal deployments in the benchmark command and skip
  port-forward, using the direct localhost endpoint instead (#251)

Signed-off-by: Christopher Maher <chris@mahercode.io>
Signed-off-by: Christopher Maher <chris@mahercode.io>
The GPU vendor CRD enum only allows nvidia/amd/intel. The previous
fix wrote "apple" to opts.gpuVendor which was then used in the CRD,
causing validation failure. Now the vendor display is overridden
only in the summary output, keeping the CRD value valid.

Signed-off-by: Christopher Maher <chris@mahercode.io>
Satisfies goconst linter by reusing the existing acceleratorMetal
constant from benchmark.go instead of repeating the "metal" string.

Signed-off-by: Christopher Maher <chris@mahercode.io>
@Defilan Defilan merged commit 149c582 into main Apr 1, 2026
16 checks passed
@Defilan Defilan deleted the fix/metal-improvements branch April 1, 2026 02:59
@github-actions github-actions bot mentioned this pull request Apr 1, 2026
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.

bug: GPU vendor displays "nvidia" when accelerator is metal

1 participant