Skip to content

Detect GPU metadata from driver#92

Open
Stanley-PH wants to merge 4 commits intodevelopfrom
feature/driver-gpu-metadata
Open

Detect GPU metadata from driver#92
Stanley-PH wants to merge 4 commits intodevelopfrom
feature/driver-gpu-metadata

Conversation

@Stanley-PH
Copy link
Copy Markdown

@Stanley-PH Stanley-PH commented Apr 29, 2026

Summary

  • Detect GPU display metadata from AMDGPU driver sysfs when regenerating installer overlays.
  • Include live VRAM, visible VRAM, and GTT values in accelerator descriptions for curated and uncurated SKUs.
  • Rebuild accelerator metadata from the current hardware inventory so RAM allocation and hardware changes do not leave stale UI data.
  • Simplify detection logs so fallback product resolution does not print a misleading unknown product label.

Test plan

  • bash -n ./auplc-installer
  • ./auplc-installer detect-gpu
  • Generated a temporary offline overlay under /tmp and verified custom.accelerators.strix-halo.displayName and description include driver memory data.
  • Compared current branch output with public/develop:auplc-installer output.
  • git diff --check
  • ReadLints on auplc-installer

@Stanley-PH
Copy link
Copy Markdown
Author

Withdrawing for local review before reopening.

@Stanley-PH Stanley-PH closed this Apr 29, 2026
@Stanley-PH
Copy link
Copy Markdown
Author

Reopening after local review approval.

@Stanley-PH Stanley-PH reopened this Apr 29, 2026
@KerwinTsaiii
Copy link
Copy Markdown
Collaborator

@Stanley-PH Please sync latest python based installer and re-write this function again.

@Stanley-PH
Copy link
Copy Markdown
Author

OK I will redo this at new python based installer

@Stanley-PH Stanley-PH force-pushed the feature/driver-gpu-metadata branch from 728df45 to 74b2271 Compare May 5, 2026 17:13
Stanley Hsu and others added 4 commits May 5, 2026 17:15
Generate accelerator names and memory descriptions from live AMDGPU driver data in the Python installer so overlays reflect hardware and RAM allocation changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Flatten GPU fallback and test context managers to pass the Python lint workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
Apply Ruff formatting to the manifest-pinned GPU fallback log line.

Co-authored-by: Cursor <cursoragent@cursor.com>
Ensure explicit --gpu selections take precedence over live driver detection so scripted installer runs can force the intended target.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants