Repository navigation
Commit 8739d28
authored
Remove duplicate fuse_batch_norm_with_linear target (#24213)
`backends/transforms/targets.bzl` defines the
`fuse_batch_norm_with_linear` `python_library` twice (lines 138 and
152). The first copy comes from #24192. The second came in with the
squash of #24193, whose branch picked up the block again when it was
merged with `main`.
Buck refuses to register the same target twice, so any command that
loads `//backends/transforms/...` fails:
```
error: Attempted to register target root//backends/transforms:fuse_batch_norm_with_linear twice
```
This breaks `unittest-buck` on `main` and on open PRs.
This change deletes the second, identical definition. No other targets
in the file are duplicated.
### Test plan
- Checked that `targets.bzl` now defines each target name once.
- CI: `unittest-buck` should get past the `buck2 query` step.1 parent e683360 commit 8739d28
1 file changed
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 151 | | |
166 | 152 | | |
167 | 153 | | |
| |||
0 commit comments