Skip to content

feat: add CUDA information display and customizable device types#2

Merged
inureyes merged 4 commits into
mainfrom
feature/detailed-cuda-information
Jul 9, 2025
Merged

feat: add CUDA information display and customizable device types#2
inureyes merged 4 commits into
mainfrom
feature/detailed-cuda-information

Conversation

@inureyes

@inureyes inureyes commented Jul 8, 2025

Copy link
Copy Markdown
Member

Summary

  • Add CUDA version and driver version display in GPU list view
  • Display power consumption in current/max format when max power limit is available
  • Add customizable device_type field to support future NPU and other accelerator types
  • Expose device_type through API metrics for remote monitoring

Changes

  1. Enhanced GPU Information Display

    • Show CUDA version and driver version in GPU list (for NVIDIA/Jetson GPUs)
    • Display power consumption as "current/max W" format when max limit is available
    • Remove decimal places from power values for cleaner output
  2. Device Type Support

    • Add device_type field to GpuInfo struct (defaults to "GPU")
    • Display device type instead of hardcoded "GPU" prefix in device list
    • Prepare for future support of NPUs and other accelerator types
  3. API and Remote Monitoring

    • Add type label to all_smi_gpu_info metric in API mode
    • Update metrics parser to read device_type from remote hosts
    • Ensure mock server outputs device_type information

Test plan

  • Test local view mode with NVIDIA GPUs
  • Test remote view mode with mock server
  • Verify CUDA/driver info display
  • Verify power limit display format
  • Test API metrics output includes device_type

@inureyes inureyes self-assigned this Jul 8, 2025
@inureyes inureyes added the type:enhancement New feature or request label Jul 8, 2025
@inureyes inureyes merged commit ef0ffc0 into main Jul 9, 2025
3 checks passed
@inureyes inureyes deleted the feature/detailed-cuda-information branch July 10, 2025 17:13
@inureyes inureyes added priority:medium Medium priority issue status:done Completed feature labels Sep 10, 2025
@inureyes inureyes removed the feature label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority issue status:done Completed type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant