Commit c0b5ce1
authored
pytorch-finetuning: pin full fine-tuning model to one device (#687)
device_map=auto offloaded gemma-3-4b across GPU and CPU on halo; full
fine-tuning cannot train across that split and crashed. Pin to the GPU.
Fixes #672.1 parent 7b5ef63 commit c0b5ce1
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments