forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llama] Build the runner with tiktoken by default
Differential Revision: D61830302 Pull Request resolved: pytorch#4921
- Loading branch information
1 parent
ff4a736
commit f99e25f
Showing
16 changed files
with
108 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") | ||
|
||
oncall("executorch") | ||
|
||
runtime.cxx_library( | ||
name = "abseil", | ||
public_include_directories = ["abseil-cpp"], | ||
srcs = glob( | ||
["abseil-cpp/absl/**/*.cc"], | ||
exclude = [ | ||
"abseil-cpp/absl/**/*test*.cc", | ||
"abseil-cpp/absl/**/*mock*.cc", | ||
"abseil-cpp/absl/**/*matchers*.cc", | ||
"abseil-cpp/absl/**/*benchmark*.cc", | ||
], | ||
), | ||
exported_linker_flags = select( | ||
{ | ||
"DEFAULT": [], | ||
"ovr_config//os:macos": ["-Wl,-framework,CoreFoundation"], | ||
}, | ||
), | ||
visibility = ["PUBLIC"], | ||
_is_external_target = True, | ||
) | ||
|
||
runtime.cxx_library( | ||
name = "re2", | ||
public_include_directories = ["re2"], | ||
srcs = glob( | ||
[ | ||
"re2/re2/**/*.cc", | ||
"re2/util/**/*.cc", | ||
], | ||
exclude = [ | ||
"re2/re2/**/*test*.cc", | ||
"re2/re2/testing/*.cc", | ||
"re2/re2/fuzzing/*.cc", | ||
"re2/re2/**/*benchmark*.cc", | ||
], | ||
), | ||
exported_deps = [ | ||
":abseil", | ||
], | ||
visibility = ["PUBLIC"], | ||
_is_external_target = True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters