Skip to content

XNNPACK Backend on React-Native-Executorch #100

Answered by chmjkb
sskarz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sskarz , the XNNPACK is utilized out of the box as long as you have the model exported to XNNPACK. There is no further steeps needed from your side. If you want to integrate LLaMa into your react native apps, we highly recommend using our useLLM hook.The initializing section is all you need to get started. And if you use the constants shipped with the library, they will run on XNNPACK.
Also, the same rules apply to CoreML, if your model is exported to CoreML it will run with that backend.
If you have any more questions, feel free to ask!:D

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by chmjkb
Comment options

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

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