Commit 07bdcae
committed
- Fix CUDA device mismatch in WaveletConv and ledoit_wolf
- WaveletConv.forward hardcoded self.device (defaults to cpu), ignoring the input tensor's device. ledoit_wolf didn't coerce shrink_mat to the
input device/dtype. Both caused RuntimeError when running on gpu.1 parent db1f8b6 commit 07bdcae
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
0 commit comments