Commit graph

1,903 commits

Author SHA1 Message Date
Daniel Han
98020933fe Update rl_replacements.py 2025-03-18 05:09:35 -07:00
Daniel Han
1b7ca6e3e1 Update vision.py 2025-03-18 05:01:27 -07:00
Daniel Han
3851ce78f9 Update rl_replacements.py 2025-03-18 04:59:01 -07:00
Daniel Han
aaf5003bad Update vision.py 2025-03-18 04:51:06 -07:00
Daniel Han
e24059fb03 Update vision.py 2025-03-18 04:50:18 -07:00
Daniel Han
f0fc74cd9b Update vision.py 2025-03-18 04:49:35 -07:00
Daniel Han
5d5602d260 Update vision.py 2025-03-18 03:45:55 -07:00
Daniel Han
b1e451249f Update vision.py 2025-03-18 02:27:20 -07:00
Daniel Han
8f6fcf8f52 Update rl_replacements.py 2025-03-18 02:26:50 -07:00
Daniel Han
fe73b86c61 Update rl_replacements.py 2025-03-18 02:23:03 -07:00
Daniel Han
442d3170e8 Update rl_replacements.py 2025-03-18 02:05:49 -07:00
Daniel Han
dd54005c74 Update rl_replacements.py 2025-03-18 02:05:30 -07:00
Daniel Han
965880360f Update vision.py 2025-03-18 01:59:39 -07:00
Daniel Han
0fcfce3d21 Update vision.py 2025-03-18 01:53:52 -07:00
Daniel Han
f0d2475e60 Update vision.py 2025-03-18 01:44:50 -07:00
Daniel Han
ee75d8b552 Update vision.py 2025-03-18 01:43:34 -07:00
Daniel Han
15a3d91675 Update vision.py 2025-03-18 01:42:28 -07:00
Daniel Han
abc50d7def Update vision.py 2025-03-18 01:33:38 -07:00
Daniel Han
dddd5de8f3 Update vision.py 2025-03-18 01:33:29 -07:00
Daniel Han
94e73495d1 Update vision.py 2025-03-18 01:28:49 -07:00
Daniel Han
afb2cfa36d Update vision.py 2025-03-18 01:27:39 -07:00
Daniel Han
7aaf36eefd Update __init__.py 2025-03-18 01:10:14 -07:00
Daniel Han
b130ae5e76 Update __init__.py 2025-03-18 01:10:04 -07:00
Daniel Han
acfee8ebfe Update pyproject.toml 2025-03-18 01:09:51 -07:00
Daniel Han
a7f984e22e Update _utils.py 2025-03-18 01:05:58 -07:00
Daniel Han
44f3ab88aa Update vision.py 2025-03-18 01:01:46 -07:00
Kareem
50e94d383a fix error message (#2046) 2025-03-17 21:46:20 -07:00
Isaac Breen
f80cc13149 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
46b3986304 Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly 2025-03-17 21:44:00 -07:00
Daniel Han
8373a00139 Update _utils.py 2025-03-17 21:43:51 -07:00
Xander Hawthorne
0738eac901 Ensure trust_remote_code propegates down to unsloth_compile_transformers (#2075) 2025-03-17 21:43:47 -07:00
Daniel Han
4fff3a484f move float32 2025-03-17 19:42:49 -07:00
Daniel Han
5ac30c10b0 Fix forced float32 2025-03-17 19:24:21 -07:00
Daniel Han
8766b15f9b disable bfloat16 2025-03-17 18:28:46 -07:00
Daniel Han
85cd214363 Update _utils.py 2025-03-17 16:57:14 -07:00
Daniel Han
311bdd6b63 move print 2025-03-17 04:51:28 -07:00
Daniel Han
308dcd703c Update _utils.py 2025-03-17 04:49:26 -07:00
Daniel Han
77670ab5f0 Update _utils.py 2025-03-17 04:47:58 -07:00
Daniel Han
5f04f870aa Update _utils.py 2025-03-17 04:45:49 -07:00
Daniel Han
0aadae45eb Update _utils.py 2025-03-17 04:42:50 -07:00
Daniel Han
c257d3f259 move forced float32 2025-03-17 04:41:44 -07:00
Daniel Han
d43b339ebd Update vision.py 2025-03-17 04:17:59 -07:00
Daniel Han
9ff6fde1f0 Update _utils.py 2025-03-16 23:37:46 -07:00
Daniel Han
dc83e76e32 Update vision.py 2025-03-16 23:27:59 -07:00
Daniel Han
5f841dd1e1 Update vision.py 2025-03-16 23:20:43 -07:00
Daniel Han
1bfea6966f LoRA 16bit fix 2025-03-16 23:18:57 -07:00
Daniel Han
9a96779887 Update loader.py 2025-03-16 22:15:54 -07:00
Daniel Han
af2959aa05 more prints 2025-03-16 22:13:57 -07:00
Daniel Han
0783472061 Update vision.py 2025-03-16 22:10:36 -07:00
Daniel Han
a2fcdadca7 Update pyproject.toml 2025-03-16 20:31:54 -07:00