C++ LLaMA 2 example? Xcode build instructions? #35
Replies: 4 comments 3 replies
-
With a bit of grepping, I was able to determine the settings to use Xcode to successfully build the c++ tutorial example code as a command line app which links to the mlx library which is built from the Makefile which is generated for mlx by cmake. However, my goal is to use Xcode's debugger to step into the mlx code from the c++ tutorial code. So, I'd like to add all of the mlx source files to my Xcode project and then build all source files as part of that project. |
Beta Was this translation helpful? Give feedback.
-
I created a workspace with two projects: an external build system (Makefile) project for the mlx library, and a second project for tutorial.cpp. Probably I can figure out the rest of the details from here. |
Beta Was this translation helpful? Give feedback.
-
Now it's time to spend some hours in the Xcode debugger learning how mlx works. |
Beta Was this translation helpful? Give feedback.
-
To build the C++ LLaMA 2 example in Xcode, you'll need to follow these general steps:
Always refer to the specific documentation or instructions provided with the LLaMA 2 example for any additional configuration steps or peculiarities related to Xcode or C++ compilation. These steps provide a general guideline for integrating and building C++ code within an Xcode project. |
Beta Was this translation helpful? Give feedback.
-
Please provide a C++ LLaMA 2 example. And please provide Xcode build instructions.
Beta Was this translation helpful? Give feedback.
All reactions