Commit 6fda940
Migrate pybind11 external deps to regular third-party deps (#8837)
Summary:
Pull Request resolved: #8837
```
>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: D702613521 parent 19a3002 commit 6fda940
File tree
5 files changed
+16
-28
lines changed- backends
- apple/coreml
- qualcomm/aot/python
- exir/verification
- extension
- pytree
- training/pybindings
5 files changed
+16
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 81 | | |
85 | 82 | | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
100 | 98 | | |
101 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
0 commit comments