mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Rename flatbuffer_all to flatbuffers_jit (#82826)
flatbuffer_all is a bit confusing. It's actually for full jit. Rename it accordingly. For the follow up changes, will create a target for mobile only. Differential Revision: [D38412158](https://our.internmc.facebook.com/intern/diff/D38412158/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D38412158/)! Differential Revision: [D38412158](https://our.internmc.facebook.com/intern/diff/D38412158) Pull Request resolved: https://github.com/pytorch/pytorch/pull/82826 Approved by: https://github.com/qihqi
This commit is contained in:
parent
fbe8c77427
commit
684a404def
1 changed files with 3 additions and 3 deletions
|
|
@ -739,7 +739,7 @@ def get_pt_operator_registry_dict(
|
|||
third_party("glog"),
|
||||
C10,
|
||||
] + ([ROOT + ":torch_mobile_train"] if train else []) +
|
||||
([ROOT + ":torch_flatbuffer_all"] if enable_flatbuffer else []),
|
||||
([ROOT + ":flatbuffers_jit"] if enable_flatbuffer else []),
|
||||
**kwargs
|
||||
)
|
||||
|
||||
|
|
@ -1347,7 +1347,7 @@ def define_buck_targets(
|
|||
exported_preprocessor_flags = get_pt_preprocessor_flags(),
|
||||
visibility = ["PUBLIC"],
|
||||
exported_deps = [
|
||||
":torch_flatbuffer_all",
|
||||
":flatbuffers_jit",
|
||||
":torch_mobile_core",
|
||||
],
|
||||
)
|
||||
|
|
@ -1800,7 +1800,7 @@ def define_buck_targets(
|
|||
)
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
name = "torch_flatbuffer_all",
|
||||
name = "flatbuffers_jit",
|
||||
visibility = ["PUBLIC"],
|
||||
exported_deps = [
|
||||
":flatbuffer_loader",
|
||||
|
|
|
|||
Loading…
Reference in a new issue