Commit 3406d9f
committed
fix(mlx): keep the PEFT export path free of torch imports
Exporting an embedding LoRA without base_weights_source logged through the
shared logger, which resolves on first use by importing a module that imports
torch. saving_utils is otherwise importable and usable without torch, so that
export raised ModuleNotFoundError on a torch-free Apple install. Drop the
informational log; the behaviour it described is unchanged.1 parent 0a74fe3 commit 3406d9f
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6475 | 6475 | | |
6476 | 6476 | | |
6477 | 6477 | | |
6478 | | - | |
6479 | | - | |
6480 | | - | |
6481 | | - | |
6482 | | - | |
6483 | | - | |
6484 | | - | |
| 6478 | + | |
| 6479 | + | |
| 6480 | + | |
| 6481 | + | |
6485 | 6482 | | |
6486 | 6483 | | |
6487 | 6484 | | |
| |||
0 commit comments