feat: add ROCm powered-by banner with version to GPU section#33
Merged
simonCatBot merged 9 commits intomasterfrom Apr 7, 2026
Merged
feat: add ROCm powered-by banner with version to GPU section#33simonCatBot merged 9 commits intomasterfrom
simonCatBot merged 9 commits intomasterfrom
Conversation
added 9 commits
April 6, 2026 23:09
Backend (api/system/metrics):
- Expose rocmDetected (boolean) and rocmRuntimeVersion (string) in the
metrics response — only populated when rocmGpus.length > 0
Frontend (SystemMetricsDashboard):
- Insert ROCm powered-by section above "Hardware Details" in primary GPU card
- Shows AMD ROCm logo (public/amd/rocgfx-logo.png) with styled text fallback
- Displays "Powered by ROCm v{runtimeVersion}" badge
- Graceful degradation: text badge shown if logo image is absent
To add the logo: place amd-rocgfx-logo.png in public/amd/ (see public/amd/README.txt)
…tar URL - The SystemMetricsDashboard fetches from /api/gateway-metrics, not /api/system/metrics. Added rocmDetected/rocmRuntimeVersion to the correct gateway-metrics route instead. - Fixed rocmInfo scope: moved out of try block so runtimeVersion is accessible at the return statement. - Updated Image src to https://avatars.githubusercontent.com/u/16900649 (AMD ROCm GitHub org avatar).
…stead
The avatars.githubusercontent.com image is white-on-transparent, invisible
on light backgrounds. Replaced with a red AMD ROCm text badge that reads
'AMD ROCm v{version}' with a subtle red tint — works on both light/dark.
Combine into single 'AMD ROCm v{version}' badge at text-xs size
instead of fragmented multi-line display. Cleaner, more readable.
- Re-add next/image with avatars.githubusercontent.com remote pattern
- Display logo at 80x32px with object-contain
- Show 'Powered by ROCm v{version}' text beside logo
- Removed broken text-only badge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a "Powered by ROCm v{version}" badge to the GPU section of the system metrics dashboard, shown only when AMD ROCm GPUs are detected.
Backend —
src/app/api/system/metrics/route.tsrocmDetected: booleanandrocmRuntimeVersion: stringto theSystemMetricsinterface and response payloadrocmGpus.length > 0;rocmRuntimeVersionfalls back torocmInfo.runtimeVersion ?? ""Frontend —
src/components/SystemMetricsDashboard.tsx/amd/rocgfx-logo.png) with a styled fallback text badge if the image is absentLogo
public/amd/README.txtdocuments where to downloadamd-rocgfx-logo.pngVisual