deftdawg-detect-gpu #2

Closed
deftdawg wants to merge 3 commits from deftdawg/bitsandbytes-rocm:deftdawg-detect-gpu into stale
First-time contributor

Detect the GPU using rocm_agent_enumerator instead of hard coding it.

NOTE: this will detect gfx000 if no AMD card is detected...

Detect the GPU using `rocm_agent_enumerator` instead of hard coding it. *NOTE:* this will detect `gfx000` if no AMD card is detected...
deftdawg added 3 commits 2023-04-25 05:03:09 +00:00
Author
First-time contributor

Should use rocminfo | grep -oE "gfx.*" | grep -v gfx000 | sort -u -t 'x' -k 2n | tail -1 instead, rocm_agent_enumerator seems to report all available compiled targets, not what's present on the system.

Should use `rocminfo | grep -oE "gfx.*" | grep -v gfx000 | sort -u -t 'x' -k 2n | tail -1` instead, `rocm_agent_enumerator` seems to report all available compiled targets, not what's present on the system.
deftdawg closed this pull request 2023-04-25 23:09:23 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/bitsandbytes-rocm#2
No description provided.