Commit dde2eda
Convert directory fbcode/aitemplate to use the Ruff Formatter (#1030)
Summary:
Pull Request resolved: #1030
Converts the directory specified to use the Ruff formatter in pyfmt
ruff_dog
If this diff causes merge conflicts when rebasing, please run
`hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt`
on your diff, and amend any changes before rebasing onto latest.
That should help reduce or eliminate any merge conflicts.
allow-large-files
Reviewed By: amyreese
Differential Revision: D642642181 parent 437b48a commit dde2eda
File tree
460 files changed
+498
-85
lines changed- examples
- 01_resnet-50
- 02_detectron2
- modeling/roi_heads
- predictor
- 04_vit
- 05_stable_diffusion/scripts
- fx2ait/fx2ait
- acc_tracer
- converters
- tools
- python/aitemplate
- backend
- common
- tensor
- vision_ops
- cuda
- attention
- b2b_bmm
- common
- conv2d
- conv3d
- elementwise
- gemm_epilogue_vistor
- gemm_special
- gemm_universal
- jagged
- layernorm_sigmoid_mul
- padding
- pool2d
- reduce
- softmax
- tensor
- upsample
- view_ops
- vision_ops
- nms
- roi_ops
- rocm
- attention
- common
- conv2d
- elementwise
- gemm
- normalization
- padding
- pool2d
- tensor
- upsample
- view_ops
- vision_ops
- roi_ops
- compiler
- ops
- attention
- common
- conv
- embedding
- gemm_epilogue_vistor
- gemm_special
- gemm_universal
- groupnorm
- jagged
- layernorm
- padding
- pool
- reduce
- softmax
- tensor
- upsample
- vision_ops
- nms
- roi_ops
- transform
- frontend
- nn
- conv2d
- testing
- utils
- mk_cutlass_lib
- serialization
- visualization
- tests
- lint
- unittest
- compiler
- ops
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
460 files changed
+498
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
331 | 334 | | |
332 | 335 | | |
333 | 336 | | |
334 | | - | |
335 | | - | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
466 | 469 | | |
467 | 470 | | |
468 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
923 | | - | |
924 | | - | |
| 923 | + | |
| 924 | + | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | | - | |
| 1770 | + | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| |||
0 commit comments