Commit bac4cfd
Fix mp serialization for integer nn.Parameter on CUDA (pytorch#56529)
Summary:
Fixes pytorch#56342
Pull Request resolved: pytorch#56529
Reviewed By: albanD
Differential Revision: D27896094
Pulled By: ngimel
fbshipit-source-id: fe817781eb7139ea57c78acfd56e7c11b61eb4ed1 parent febff45 commit bac4cfd
File tree
2 files changed
+27
-5
lines changed- test
- torch/multiprocessing
2 files changed
+27
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
836 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
837 | 849 | | |
838 | 850 | | |
839 | | - | |
| 851 | + | |
840 | 852 | | |
841 | 853 | | |
842 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
843 | 860 | | |
844 | 861 | | |
845 | 862 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | | - | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
0 commit comments