Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ml/backend/ggml: use HIP for VRAM query#14543

Open
fcui-amd wants to merge 1 commit intoollama:mainfrom
fcui-amd:vram_size_wsl
Open

ml/backend/ggml: use HIP for VRAM query#14543
fcui-amd wants to merge 1 commit intoollama:mainfrom
fcui-amd:vram_size_wsl

Conversation

@fcui-amd
Copy link

@fcui-amd fcui-amd commented Mar 2, 2026

WSL does not expose amdgpu sysfs entries, so VRAM size cannot be read from sysfs.
Switch device memory reporting to HIP runtime APIs to get per-device total/free memory directly.

WSL does not expose amdgpu sysfs entries, so VRAM size cannot be read
from sysfs.
Switch device memory reporting to HIP runtime APIs to get per-device
total/free memory directly.

Signed-off-by: Flora Cui <[email protected]>
@atsetoglou
Copy link

atsetoglou commented Mar 2, 2026

Thanks @fcui-amd. This should fix issue #5275

cc @dhiltgen

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