Commit ba167fd
committed
Update on "Making ops c10-full: Generator arguments"
I don't know why this works. I know, this is never a good way to start a PR description :P
I know that Generator is a dispatch relevant argument when called from an unboxed API and is ignored
for dispatch purposes when called from a boxed API. This should break something, but maybe we don't
have test cases for that.
We likely need to align the unboxed and boxed dispatch behavior before landing this.
The best solution would be to make Generator not dispatch relevant in unboxing. But that might be a bigger change.
An acceptable solution could be to make Generator dispatch relevant in boxing, but that needs perf measurements.
This PR needs further discussion.
Differential Revision: [D25394998](https://our.internmc.facebook.com/intern/diff/D25394998/)
[ghstack-poisoned]File tree
122 files changed
+2859
-1992
lines changed- .circleci
- cimodel/data
- simple/util
- scripts
- verbatim-sources
- build-parameters
- job-specs
- .jenkins/pytorch
- win-test-helpers
- installation-helpers
- android/pytorch_android/src/main/cpp
- aten/src
- ATen
- cpu/vec256
- cuda
- detail
- native
- cpu
- cuda
- metal/mpscnn
- mkl
- quantized/cpu
- sparse/cuda
- templates
- THC
- generic
- TH
- benchmarks/operator_benchmark
- c2
- pt
- binaries
- c10
- core
- util
- caffe2/contrib/fakelowp/test
- docs/source
- test
- backward_compatibility
- cpp/jit
- distributed
- _pipeline/sync
- distributions
- fx
- third_party
- tools
- autograd
- torch
- _C
- csrc
- autograd
- cuda
- jit
- passes
- quantization
- python
- serialization
- cuda
- distributed
- _pipeline/sync
- balance
- skip
- algorithms/ddp_comm_hooks
- distributions
- fx
- experimental
- lib/c10d
- nn/modules
- testing
- _internal
- distributed/nn/api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
122 files changed
+2859
-1992
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
| 740 | + | |
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| |||
8077 | 8077 | | |
8078 | 8078 | | |
8079 | 8079 | | |
8080 | | - | |
| 8080 | + | |
8081 | 8081 | | |
8082 | 8082 | | |
8083 | 8083 | | |
| |||
8086 | 8086 | | |
8087 | 8087 | | |
8088 | 8088 | | |
8089 | | - | |
| 8089 | + | |
8090 | 8090 | | |
8091 | 8091 | | |
8092 | 8092 | | |
| |||
8099 | 8099 | | |
8100 | 8100 | | |
8101 | 8101 | | |
8102 | | - | |
| 8102 | + | |
8103 | 8103 | | |
8104 | 8104 | | |
8105 | 8105 | | |
| |||
8112 | 8112 | | |
8113 | 8113 | | |
8114 | 8114 | | |
8115 | | - | |
| 8115 | + | |
8116 | 8116 | | |
8117 | 8117 | | |
8118 | 8118 | | |
| |||
8121 | 8121 | | |
8122 | 8122 | | |
8123 | 8123 | | |
8124 | | - | |
| 8124 | + | |
8125 | 8125 | | |
8126 | 8126 | | |
8127 | 8127 | | |
| |||
8140 | 8140 | | |
8141 | 8141 | | |
8142 | 8142 | | |
8143 | | - | |
| 8143 | + | |
8144 | 8144 | | |
8145 | 8145 | | |
8146 | 8146 | | |
| |||
8204 | 8204 | | |
8205 | 8205 | | |
8206 | 8206 | | |
8207 | | - | |
| 8207 | + | |
8208 | 8208 | | |
8209 | 8209 | | |
8210 | 8210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
| 8 | + | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
| 49 | + | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 40 | + | |
44 | 41 | | |
45 | | - | |
| 42 | + | |
46 | 43 | | |
47 | | - | |
48 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
49 | 47 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments