Commit 7ec9988
Add shim_et nlohmann-json shim for OSS buck2 build
The tokenizers submodule bump (#20472) moved the
fbsource//third-party/nlohmann-json dependency onto the tokenizers :headers
target, which is reachable from the OSS buck2 CI build (multimodal_runner_lib
-> text_token_generator -> tokenizers:headers). Since fbsource aliases to
shim_et, this requires a shim_et//third-party/nlohmann-json package, which did
not exist (only re2 had one).
Add the shim, mirroring shim_et//third-party/re2, aliasing nlohmann-json to the
header-only nlohmann_json target added to the tokenizers submodule
(meta-pytorch/tokenizers#201), and bump the submodule pin to include it.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 45a14b9 commit 7ec9988
3 files changed
Lines changed: 13 additions & 1 deletion
Submodule tokenizers updated 1 file
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments