How to use LibTorch to run a LLM on Magic Leap

Give us as much detail as possible regarding the issue you're experiencing.

ML2 OS version:
MLSDK version:
Host OS: Windows

After cloning LibTorch on my Windows computer, I don't know how to link it to my project on Android Studio. My project came from a C-api sample of mlsdk 17.0. I need to use the functions of LibTorch to run a LLM on my magic leap.

Hi @Xinyu you may want to look at some of the tutorials from LibTorch to become more familiar on how to use the library and how to build a C++ android project

Pytorch Tutorials:

https://pytorch.org/cppdocs/
https://pytorch.org/tutorials/recipes/android_native_app_with_custom_op.html

Android NDK Tutorials

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.