-
Notifications
You must be signed in to change notification settings - Fork 118
Add ability to select backend devices #861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MarcusDunn
merged 12 commits into
utilityai:main
from
kusaanko:selectable-backend-devices
Nov 14, 2025
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a138498
Add ability to select backend devices
kusaanko f93eb1b
Add device type to LlamaBackendDevice
kusaanko 750ed12
Rename LlamaBackendDeviceType enums to PascalCase
kusaanko 7d12f30
Fix invalid device type convertion to Gpu
kusaanko 99ad808
Split unsafe block into small parts in list_llama_ggml_backend_devices
kusaanko d364092
Refactor LlamaSplitMode parsing to use TryFrom with error
kusaanko 3468ae7
Implement Default for LlamaSplitMode
kusaanko e2a3b57
Refactor LlamaSplitMode to use explicit integer values
kusaanko b61e448
Use llama_cpp_sys_2 constants for LlamaSplitMode values
kusaanko 6c1a58e
Define LLAMA_SPLIT_MODE constants to resolve u32 or i32
kusaanko 86e1fc5
Use LLAMA_SPLIT_MODE constants defined in params.rs
kusaanko 86b1996
Fix split_mode assert
kusaanko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.