-
-
Notifications
You must be signed in to change notification settings - Fork 52
feat: add gpu monitoring #799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
fix: Removed untested compose.yaml files (AMD/Intel)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
14 files reviewed, 10 comments
|
Besides the Greptile feedback it looks good to me. Once thats addressed this should be fine i think. |
fix: test sh commands for compose.gpu-*.yaml fix: addressed system_handler.go gpu percentages fix: removed redundant code from system_handler.go fix: removed gpu booleans from system_handler.go
|
Need to rebuild and test. I have committed for the time being. Edit: |
|
Looks good to me the last thing ill ask of you instead of the compose examples here, can we put tjem on the website maybe? either way some docuentation surounding this feature would be nice. I am preapring ot leave for a trip here soon, so i am just a little all over the place https://github.com/ofkm/arcane-website |
as per #670, this is an updated PR from main branch, as I dismissed the previous commits to rebase.
Compounded Implementations / PR:
gcompat& added library pathing fornvidia-smifor all different architectures, testing failed when I re-tested, thus adding library pathing.examples/compose.agent-gpu-nvidia.yamlfor example for agent deployment + Intel/AMD/Nvidia. Please feel free to reject or not.frontend/src/lib/components/gpu-meter.svelteto usebytespackage. Feedback incorporated.frontend/src/routes/dashboard/+page.sveltedashboard to update based on if GPU agent is sending data or not. Feedback incorporated.Testing
frontendon ubuntu docker host (mrtimothyduong/arcane-gpu-mon:1.7.0-gpu)agent(headless) on ubuntu docker host with nvidia gpu (mrtimothyduong/arcane-gpu-mon-agent:1.7.0-gpu)Disclaimer Greptiles Reviews uses AI, make sure to check over its work
Greptile Overview
Updated On: 2025-10-30 00:31:15 UTC
Greptile Summary
This review covers only the changes made since the last review, not the entire PR. This PR implements comprehensive GPU monitoring functionality for Arcane, adding real-time GPU statistics display to the dashboard. The implementation supports multiple GPU vendors (NVIDIA, AMD, Intel) through vendor-specific command-line tools and integrates GPU metrics into the existing WebSocket-based system stats.
Key changes include: GPU detection and stats collection logic in
system_handler.gowith caching mechanisms, a newGpuMeterSvelte component for dashboard display, Docker image updates withgcompatpackage for GPU tool compatibility, comprehensive multi-architecture library path configuration, and vendor-specific Docker Compose examples for different GPU deployments. The frontend integration conditionally displays GPU metrics when available and follows existing dashboard patterns for consistency.Important Files Changed
Confidence score: 3/5
backend/internal/api/system_handler.gofor error handling patterns and potential runtime failures when GPU tools are unavailableContext used:
dashboard- .github/copilot-instructions.md file (source)