Commit bb19cea
Francisco
feat(training): add live progress feedback to fine-tuning pipeline
- Add ProgressEmitter callback to unsloth_train.py — emits structured
PROGRESS:{...} lines to stdout on every logging step containing
step, total_steps, epoch, loss, and learning_rate
- Update worker.py stdout loop to parse PROGRESS: lines and write
metrics to job.metrics with db.commit() on each step — users polling
client.training.retrieve(job_id) now get live feedback instead of
no visibility between dispatch and completion
- Fix HF_HUB_OFFLINE comment — clarified that current value 0 permits
downloads; sovereignty guard comment was contradicting the code
- Update CI workflow — add Rust toolchain install, cargo cache, and
maturin develop --release build step to test job so fc_parser
extension is available during unit tests on both Python 3.11 and 3.121 parent 682dcf2 commit bb19cea
3 files changed
Lines changed: 79 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
126 | 145 | | |
127 | 146 | | |
128 | 147 | | |
| |||
193 | 212 | | |
194 | 213 | | |
195 | 214 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | 215 | | |
203 | 216 | | |
204 | 217 | | |
| |||
524 | 537 | | |
525 | 538 | | |
526 | 539 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | 540 | | |
533 | 541 | | |
534 | 542 | | |
| |||
540 | 548 | | |
541 | 549 | | |
542 | 550 | | |
543 | | - | |
544 | 551 | | |
545 | 552 | | |
546 | 553 | | |
| |||
559 | 566 | | |
560 | 567 | | |
561 | 568 | | |
562 | | - | |
563 | 569 | | |
564 | | - | |
565 | 570 | | |
566 | 571 | | |
567 | 572 | | |
568 | 573 | | |
569 | | - | |
570 | 574 | | |
571 | 575 | | |
572 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
40 | 68 | | |
41 | 69 | | |
42 | 70 | | |
| |||
138 | 166 | | |
139 | 167 | | |
140 | 168 | | |
| 169 | + | |
141 | 170 | | |
142 | 171 | | |
143 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
133 | 145 | | |
134 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
135 | 161 | | |
136 | 162 | | |
137 | 163 | | |
| |||
142 | 168 | | |
143 | 169 | | |
144 | 170 | | |
145 | | - | |
146 | 171 | | |
147 | 172 | | |
148 | 173 | | |
| |||
0 commit comments