You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate pybind11 external deps to regular third-party deps (#8837)
Summary:
```
>pylot run fbcode//scripts/yilei/codemods:replace_tp2_deps --tp2_project=pybind11 --replacement=fbsource//third-party/pybind11:pybind11
E0226 10:26:07.491569 2744864 Config.cpp:1179] For smc tier ''. Encountered an exception while parsing 'weight_mode'. Failed to parse WeightMode: Unknown WeightMode value 'default_sr'. Using 'LEGACY_DEFAULT'.
E0226 10:26:07.493572 2744864 Config.cpp:1179] For smc tier ''. Encountered an exception while parsing 'weight_mode'. Failed to parse WeightMode: Unknown WeightMode value 'default_sr'. Using 'LEGACY_DEFAULT'.
E0226 10:26:07.493769 2744864 Config.cpp:1179] For smc tier ''. Encountered an exception while parsing 'weight_mode'. Failed to parse WeightMode: Unknown WeightMode value 'default_sr'. Using 'LEGACY_DEFAULT'.
E0226 10:26:07.550289 2745009 Config.cpp:1179] For smc tier 'biggrep.master.trusted'. Encountered an exception while parsing 'weight_mode'. Failed to parse WeightMode: Unknown WeightMode value 'default_sr'. Using 'LEGACY_DEFAULT'.
E0226 10:26:07.556802 2745009 Config.cpp:1179] For smc tier 'biggrep.aggregator.interactive.v1'. Encountered an exception while parsing 'weight_mode'. Failed to parse WeightMode: Unknown WeightMode value 'default_sr'. Using 'LEGACY_DEFAULT'.
Found 163 TARGETS files using tp2 pybind11
[######------------------------------] 19% 00:01:39WARNING: Y2_MAGIC_STRING_FOR_BUILDOZER found in fbcode/bolt/nn/executorch/backends/targets.bzl
[###########-------------------------] 32% 00:01:28WARNING: Y2_MAGIC_STRING_FOR_BUILDOZER found in fbcode/executorch/backends/qualcomm/aot/python/targets.bzl
[###########-------------------------] 33% 00:01:27WARNING: Y2_MAGIC_STRING_FOR_BUILDOZER found in fbcode/executorch/codegen/tools/fb/targets.bzl
[####################################] 100%
```
this codemod changes pybind11 deps from external deps to regular third-party deps.
additional changes include trivial auto-formatting.
buck / autodeps warnings / errors, if any, are pre-existing.
Reviewed By: cccclai, dtolnay
Differential Revision: D70261352
0 commit comments