Daniel Han
a8f24ea882
Update vision.py
2025-03-18 04:51:06 -07:00
Daniel Han
cc0b7135e3
Update vision.py
2025-03-18 04:50:18 -07:00
Daniel Han
fad1ad9122
Update vision.py
2025-03-18 04:49:35 -07:00
Daniel Han
aca62cfa01
Update vision.py
2025-03-18 03:45:55 -07:00
Daniel Han
141084e7a1
Update vision.py
2025-03-18 02:27:20 -07:00
Daniel Han
16237517de
Update rl_replacements.py
2025-03-18 02:26:50 -07:00
Daniel Han
0c91c02196
Update rl_replacements.py
2025-03-18 02:23:03 -07:00
Daniel Han
a3f76fb4ad
Update rl_replacements.py
2025-03-18 02:05:49 -07:00
Daniel Han
9a60fdce08
Update rl_replacements.py
2025-03-18 02:05:30 -07:00
Daniel Han
f906b6de13
Update vision.py
2025-03-18 01:59:39 -07:00
Daniel Han
043c9f12b8
Update vision.py
2025-03-18 01:53:52 -07:00
Daniel Han
28f80c8957
Update vision.py
2025-03-18 01:44:50 -07:00
Daniel Han
1f12ce24c8
Update vision.py
2025-03-18 01:43:34 -07:00
Daniel Han
1ce93de34b
Update vision.py
2025-03-18 01:42:28 -07:00
Daniel Han
f095c5d51d
Update vision.py
2025-03-18 01:33:38 -07:00
Daniel Han
f9dee6fd1f
Update vision.py
2025-03-18 01:33:29 -07:00
Daniel Han
e1470efb3d
Update vision.py
2025-03-18 01:28:49 -07:00
Daniel Han
6b7f14f5b1
Update vision.py
2025-03-18 01:27:39 -07:00
Daniel Han
4f78da7e93
Update __init__.py
2025-03-18 01:10:14 -07:00
Daniel Han
91bfdca738
Update __init__.py
2025-03-18 01:10:04 -07:00
Daniel Han
3cf27c1039
Update pyproject.toml
2025-03-18 01:09:51 -07:00
Daniel Han
098692bd96
Update _utils.py
2025-03-18 01:05:58 -07:00
Daniel Han
28b96e7e77
Update vision.py
2025-03-18 01:01:46 -07:00
Kareem
5d87090e4d
fix error message ( #2046 )
2025-03-17 21:46:20 -07:00
Isaac Breen
7eba1b9708
Show both peft_error and autoconfig_error, not just autoconfig_error ( #2080 )
...
When loading a PEFT model fails, only the `autoconfig_error` is shown. Instead of the `peft_error`, which is what really matters when we're trying to load a PEFT adapter, the user will see something like this:
```
RuntimeError: Unrecognized model in my_model. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert, align, altclip, ...
```
This PR just changes it so `autoconfig_error` and `peft_error` are both displayed.
2025-03-17 21:45:29 -07:00
Daniel Han
a22a6ba6bc
Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly
2025-03-17 21:44:00 -07:00
Daniel Han
1bd7c733a6
Update _utils.py
2025-03-17 21:43:51 -07:00
Xander Hawthorne
04bcab022c
Ensure trust_remote_code propegates down to unsloth_compile_transformers ( #2075 )
2025-03-17 21:43:47 -07:00
Daniel Han
ebf2a4abb6
move float32
2025-03-17 19:42:49 -07:00
Daniel Han
56a8dc6067
Fix forced float32
2025-03-17 19:24:21 -07:00
Daniel Han
a731e2fb6c
disable bfloat16
2025-03-17 18:28:46 -07:00
Daniel Han
7dd9817bd0
Update _utils.py
2025-03-17 16:57:14 -07:00
Daniel Han
845a253ed4
move print
2025-03-17 04:51:28 -07:00
Daniel Han
f8d198a947
Update _utils.py
2025-03-17 04:49:26 -07:00
Daniel Han
96f4073208
Update _utils.py
2025-03-17 04:47:58 -07:00
Daniel Han
5a2c87fa5d
Update _utils.py
2025-03-17 04:45:49 -07:00
Daniel Han
d247f1e20d
Update _utils.py
2025-03-17 04:42:50 -07:00
Daniel Han
3679194e0e
move forced float32
2025-03-17 04:41:44 -07:00
Daniel Han
947f201856
Update vision.py
2025-03-17 04:17:59 -07:00
Daniel Han
47a2492f87
Update _utils.py
2025-03-16 23:37:46 -07:00
Daniel Han
d50f42a8b4
Update vision.py
2025-03-16 23:27:59 -07:00
Daniel Han
74fc293c99
Update vision.py
2025-03-16 23:20:43 -07:00
Daniel Han
268930e2cd
LoRA 16bit fix
2025-03-16 23:18:57 -07:00
Daniel Han
3c1dfe2f58
Update loader.py
2025-03-16 22:15:54 -07:00
Daniel Han
ce2884f563
more prints
2025-03-16 22:13:57 -07:00
Daniel Han
f01757601f
Update vision.py
2025-03-16 22:10:36 -07:00
Daniel Han
1eafb4a3b3
Update pyproject.toml
2025-03-16 20:31:54 -07:00
Daniel Han
35caede8ea
Update pyproject.toml
2025-03-16 20:30:46 -07:00
Daniel Han
4824e17063
Update loader.py
2025-03-16 20:18:53 -07:00
Kareem
136837e5cc
fix ( #2051 )
2025-03-16 15:19:58 -07:00