-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Introduce backend GUIDs #743
Conversation
Initial proposed implementation of backend GUIDs (Discussed in ggerganov#741) Hardcoded CPU backend GUID (for now) Change ggml_backend_is_cpu logic to use GUID
Remove redundant functions `ggml_backend_i::get_name` and `ggml_backend_guid` which are not desired for future expansion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to keep the helper function ggml_backend_guid
, just returning the value from the struct instead.
Co-authored-by: slaren <[email protected]>
Co-authored-by: slaren <[email protected]>
Co-authored-by: slaren <[email protected]>
OK adding it back, it just seemed like this was redundant in the same ways the other things you wanted removed were. I'm just trying to follow the style of the project and your comments; personally I would have done things very differently so I'm going off your guidance. |
Initial proposed implementation of backend GUIDs
(Discussed in #741)
Hardcoded CPU backend GUID (for now)
Change ggml_backend_is_cpu logic to use GUID