Skip to content

Commit

Permalink
Use .bin extension for tokenizer. (#5907)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #5907
overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: executorch

Differential Revision: D63927363

fbshipit-source-id: 1f929925a01fa9fd64e00e1f936ae4e6fefa93f6
  • Loading branch information
shoumikhin authored and facebook-github-bot committed Oct 4, 2024
1 parent 1052e3b commit 2f9f94a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions extension/apple/Benchmark/Benchmark.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
Expand All @@ -543,7 +542,7 @@
PRODUCT_NAME = Benchmark;
REGISTER_APP_GROUPS = NO;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
Expand All @@ -555,7 +554,6 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
Expand All @@ -578,7 +576,7 @@
PRODUCT_NAME = Benchmark;
REGISTER_APP_GROUPS = NO;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
Expand All @@ -603,7 +601,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = NO;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -629,7 +627,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = NO;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 1 addition & 1 deletion extension/apple/Benchmark/Tests/LLaMA/LLaMATests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ @implementation LLaMATests
return [filename hasSuffix:@".pte"] && [filename containsString:@"llama"];
},
@"tokenizer" : ^BOOL(NSString *filename) {
return [filename isEqual:@"tokenizer.model"];
return [filename isEqual:@"tokenizer.bin"];
},
};
}
Expand Down

0 comments on commit 2f9f94a

Please sign in to comment.