Commit a912809
authored
model_detection: deep clone pre edited edited weights (Comfy-Org#12862)
Deep clone these weights as needed to avoid segfaulting when it tries
to touch the original mmap.1 parent c4fb027 commit a912809
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
1118 | 1119 | | |
1119 | 1120 | | |
1120 | 1121 | | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
1121 | 1125 | | |
1122 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
1123 | 1129 | | |
1124 | 1130 | | |
1125 | 1131 | | |
| |||
0 commit comments