|
45 | 45 | 03D151CF2E0E9ACB007A38BE /* text_prefiller.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03D151CE2E0E9ACB007A38BE /* text_prefiller.cpp */; };
|
46 | 46 | 03D151D02E0E9ACB007A38BE /* text_llm_runner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03D151CD2E0E9ACB007A38BE /* text_llm_runner.cpp */; };
|
47 | 47 | 03D151D12E0E9ACB007A38BE /* text_decoder_runner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03D151CC2E0E9ACB007A38BE /* text_decoder_runner.cpp */; };
|
| 48 | + 03D151D92E0E9E43007A38BE /* ExecuTorchTextLLMRunner.mm in Sources */ = {isa = PBXBuildFile; fileRef = 03D151D42E0E9E43007A38BE /* ExecuTorchTextLLMRunner.mm */; }; |
| 49 | + 03D151DA2E0E9E43007A38BE /* BUCK in Resources */ = {isa = PBXBuildFile; fileRef = 03D151D72E0E9E43007A38BE /* BUCK */; }; |
| 50 | + 03D151DB2E0E9E43007A38BE /* ExecuTorchTextLLMRunner.h in Headers */ = {isa = PBXBuildFile; fileRef = 03D151D32E0E9E43007A38BE /* ExecuTorchTextLLMRunner.h */; }; |
| 51 | + 03D151DC2E0E9E43007A38BE /* ExecuTorchLLM.h in Headers */ = {isa = PBXBuildFile; fileRef = 03D151D22E0E9E43007A38BE /* ExecuTorchLLM.h */; }; |
48 | 52 | 26A6A4282C8A3769005A761E /* ImagePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26A6A4272C8A3769005A761E /* ImagePicker.swift */; };
|
49 | 53 | 306A713D2DC1DC0F00936B1F /* token_decoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 306A713C2DC1DC0F00936B1F /* token_decoder.h */; };
|
50 | 54 | 306A713E2DC1DC0F00936B1F /* regex.h in Headers */ = {isa = PBXBuildFile; fileRef = 306A71392DC1DC0F00936B1F /* regex.h */; };
|
|
129 | 133 | 03D151CC2E0E9ACB007A38BE /* text_decoder_runner.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = text_decoder_runner.cpp; sourceTree = "<group>"; };
|
130 | 134 | 03D151CD2E0E9ACB007A38BE /* text_llm_runner.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = text_llm_runner.cpp; sourceTree = "<group>"; };
|
131 | 135 | 03D151CE2E0E9ACB007A38BE /* text_prefiller.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = text_prefiller.cpp; sourceTree = "<group>"; };
|
| 136 | + 03D151D22E0E9E43007A38BE /* ExecuTorchLLM.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExecuTorchLLM.h; sourceTree = "<group>"; }; |
| 137 | + 03D151D32E0E9E43007A38BE /* ExecuTorchTextLLMRunner.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExecuTorchTextLLMRunner.h; sourceTree = "<group>"; }; |
| 138 | + 03D151D42E0E9E43007A38BE /* ExecuTorchTextLLMRunner.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ExecuTorchTextLLMRunner.mm; sourceTree = "<group>"; }; |
| 139 | + 03D151D72E0E9E43007A38BE /* BUCK */ = {isa = PBXFileReference; lastKnownFileType = text; path = BUCK; sourceTree = "<group>"; }; |
132 | 140 | 26A6A4272C8A3769005A761E /* ImagePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagePicker.swift; sourceTree = "<group>"; };
|
133 | 141 | 306A71352DC1DC0F00936B1F /* hf_tokenizer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = hf_tokenizer.h; sourceTree = "<group>"; };
|
134 | 142 | 306A71362DC1DC0F00936B1F /* pcre2_regex.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = pcre2_regex.h; sourceTree = "<group>"; };
|
|
253 | 261 | isa = PBXGroup;
|
254 | 262 | children = (
|
255 | 263 | 0324D69B2BAACB7C00DEF36F /* Exported */,
|
| 264 | + 03D151D82E0E9E43007A38BE /* apple */, |
256 | 265 | 03729F062BB2035900152F2E /* runner */,
|
257 | 266 | 03729F0F2BB203E100152F2E /* sampler */,
|
258 | 267 | 03729F0E2BB203D700152F2E /* tokenizers */,
|
|
332 | 341 | path = ../../../../../../extension/llm/sampler;
|
333 | 342 | sourceTree = "<group>";
|
334 | 343 | };
|
| 344 | + 03D151D52E0E9E43007A38BE /* Exported */ = { |
| 345 | + isa = PBXGroup; |
| 346 | + children = ( |
| 347 | + 03D151D22E0E9E43007A38BE /* ExecuTorchLLM.h */, |
| 348 | + 03D151D32E0E9E43007A38BE /* ExecuTorchTextLLMRunner.h */, |
| 349 | + 03D151D42E0E9E43007A38BE /* ExecuTorchTextLLMRunner.mm */, |
| 350 | + ); |
| 351 | + path = Exported; |
| 352 | + sourceTree = "<group>"; |
| 353 | + }; |
| 354 | + 03D151D62E0E9E43007A38BE /* ExecuTorchLLM */ = { |
| 355 | + isa = PBXGroup; |
| 356 | + children = ( |
| 357 | + 03D151D52E0E9E43007A38BE /* Exported */, |
| 358 | + ); |
| 359 | + path = ExecuTorchLLM; |
| 360 | + sourceTree = "<group>"; |
| 361 | + }; |
| 362 | + 03D151D82E0E9E43007A38BE /* apple */ = { |
| 363 | + isa = PBXGroup; |
| 364 | + children = ( |
| 365 | + 03D151D62E0E9E43007A38BE /* ExecuTorchLLM */, |
| 366 | + 03D151D72E0E9E43007A38BE /* BUCK */, |
| 367 | + ); |
| 368 | + name = apple; |
| 369 | + path = /Users/shoumikhin/executorch/extension/llm/apple; |
| 370 | + sourceTree = "<absolute>"; |
| 371 | + }; |
335 | 372 | F292B0842D88B0D200BE6839 /* tokenizers */ = {
|
336 | 373 | isa = PBXGroup;
|
337 | 374 | children = (
|
|
383 | 420 | F292B0892D88B0D200BE6839 /* tokenizer.h in Headers */,
|
384 | 421 | F292B08B2D88B0D200BE6839 /* result.h in Headers */,
|
385 | 422 | F292B08D2D88B0D200BE6839 /* error.h in Headers */,
|
| 423 | + 03D151DB2E0E9E43007A38BE /* ExecuTorchTextLLMRunner.h in Headers */, |
| 424 | + 03D151DC2E0E9E43007A38BE /* ExecuTorchLLM.h in Headers */, |
386 | 425 | F292B08E2D88B0D200BE6839 /* bpe_tokenizer_base.h in Headers */,
|
387 | 426 | F292B08F2D88B0D200BE6839 /* log.h in Headers */,
|
388 | 427 | F292B0912D88B0D200BE6839 /* tiktoken.h in Headers */,
|
|
512 | 551 | isa = PBXResourcesBuildPhase;
|
513 | 552 | buildActionMask = 2147483647;
|
514 | 553 | files = (
|
| 554 | + 03D151DA2E0E9E43007A38BE /* BUCK in Resources */, |
515 | 555 | );
|
516 | 556 | runOnlyForDeploymentPostprocessing = 0;
|
517 | 557 | };
|
|
566 | 606 | 03729EE12BB1F93800152F2E /* LLaMARunner.mm in Sources */,
|
567 | 607 | 0372C3152C89418E00CD942A /* llava_runner.cpp in Sources */,
|
568 | 608 | 03D151CA2E0E98C4007A38BE /* sentencepiece.cpp in Sources */,
|
| 609 | + 03D151D92E0E9E43007A38BE /* ExecuTorchTextLLMRunner.mm in Sources */, |
569 | 610 | 03D151CB2E0E98C4007A38BE /* regex_lookahead.cpp in Sources */,
|
570 | 611 | 03D151CF2E0E9ACB007A38BE /* text_prefiller.cpp in Sources */,
|
571 | 612 | 03D151D02E0E9ACB007A38BE /* text_llm_runner.cpp in Sources */,
|
|
814 | 855 | "DEBUG=1",
|
815 | 856 | "ET_USE_TIKTOKEN=1",
|
816 | 857 | "SUPPORT_REGEX_LOOKAHEAD=ON",
|
| 858 | + "BUILD_WITH_XCODE=1", |
817 | 859 | );
|
818 | 860 | GENERATE_INFOPLIST_FILE = YES;
|
819 | 861 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
|
850 | 892 | DYLIB_INSTALL_NAME_BASE = "@rpath";
|
851 | 893 | ENABLE_MODULE_VERIFIER = YES;
|
852 | 894 | GCC_C_LANGUAGE_STANDARD = gnu17;
|
853 |
| - GCC_PREPROCESSOR_DEFINITIONS = "SUPPORT_REGEX_LOOKAHEAD=ON"; |
| 895 | + GCC_PREPROCESSOR_DEFINITIONS = ( |
| 896 | + "SUPPORT_REGEX_LOOKAHEAD=ON", |
| 897 | + "BUILD_WITH_XCODE=1", |
| 898 | + ); |
854 | 899 | GENERATE_INFOPLIST_FILE = YES;
|
855 | 900 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
856 | 901 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
0 commit comments