forked from LostRuins/koboldcpp
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
vulkaninfo
for AMD gpu heuristics on Windows
* Change exception paths for gpu heuristics function to return a two part tuple like the non-exception paths, rather than a three part one with `False`on the end. This prevents the caller from blowing up with an extra exception. * Added a path to get the AMD devices via vulkaninfo if we are on windows as we will not have have rocminfo there even if the rocm SDK is installed (windows rocm SDK 🤷), and we don't require the windows SDK anyway, so we can't use hipinfo either. * The new code path, uses the existing AMD device/memory list to get the memory info, and only returns devices that are on that list.
- Loading branch information
1 parent
8080c01
commit dbd1523
Showing
1 changed file
with
71 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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