Skip to content

Why does the project initialize the static ggml_backend_registry reg; in llama_supports_rpc() #10447

Answered by slaren
Hlinbit asked this question in Q&A
Discussion options

You must be logged in to vote

The backend registry is initialized the first time it is used, and llama_supports_rpc just happens to be the first function that is called that uses the backend registry. Why did you find it strange?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Hlinbit
Comment options

Answer selected by Hlinbit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants