Feat: NVIDIA Jetson GPU Backend Support#1538
Open
DanielHou315 wants to merge 3 commits intoaristocratos:mainfrom
Open
Feat: NVIDIA Jetson GPU Backend Support#1538DanielHou315 wants to merge 3 commits intoaristocratos:mainfrom
DanielHou315 wants to merge 3 commits intoaristocratos:mainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[AI generated] Split GPU_SUPPORT into vendor-specific compile definitions: - INTEL_GPU_SUPPORT: only defined on x86_64 (guards intel_gpu_top) - JETSON_GPU_SUPPORT: defined on aarch64 Linux (Tegra iGPU via sysfs) Both Makefile and CMake are updated to support the new defines. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[AI generated] Add GPU monitoring for NVIDIA Jetson platforms (Xavier, Orin, etc.) using the sysfs devfreq and thermal interfaces. Supports utilization, clock speed, and temperature. Known GPU device names: gv11b, gp10b, ga10b, gb10b (matching jetson_stats). Falls back gracefully when NVML is available (JetPack 7+). Strips null bytes from devicetree sysfs reads which include trailing \0 terminators. GPU load is always divided by 10 (Jetson reports in tenths of percent, 0-1000 range). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Closes #891.
Adds GPU monitoring for NVIDIA Jetson platforms (Xavier, Orin, Nano, TX2, etc.) up to JetPack 6. Backend ported from jetson_stats (A.K.A jtop) implementation, which is well-tested across Jetson boards and JetPack versions. Jetpack 7+ includes NVML, so no support is needed.
Tested on Jetson Xavier NX with Jetpack 5.1.1.
[AI Generated]