Commit 11a231e
[c10d] P2P tensors must be dense (pytorch#163719)
Fixes pytorch#161324
by adding `is_non_overlapping_and_dense` check.
Pull Request resolved: pytorch#163719
Approved by: https://github.com/ngimel1 parent dad54ca commit 11a231e
File tree
2 files changed
+26
-1
lines changed- test/distributed
- torch/csrc/distributed/c10d
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2893 | 2893 | | |
2894 | 2894 | | |
2895 | 2895 | | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
2896 | 2915 | | |
2897 | 2916 | | |
2898 | 2917 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3217 | 3217 | | |
3218 | 3218 | | |
3219 | 3219 | | |
3220 | | - | |
| 3220 | + | |
3221 | 3221 | | |
| 3222 | + | |
3222 | 3223 | | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
3223 | 3229 | | |
3224 | 3230 | | |
3225 | 3231 | | |
| |||
0 commit comments