Commit graph

1,883 commits

Author SHA1 Message Date
Daniel Han
f0de41756d Update vision.py 2025-03-18 01:27:39 -07:00
Daniel Han
7fcda1a26e Update __init__.py 2025-03-18 01:10:14 -07:00
Daniel Han
aed7d20c46 Update __init__.py 2025-03-18 01:10:04 -07:00
Daniel Han
23bac1dae5 Update pyproject.toml 2025-03-18 01:09:51 -07:00
Daniel Han
50c98b5d90 Update _utils.py 2025-03-18 01:05:58 -07:00
Daniel Han
4756979ae9 Update vision.py 2025-03-18 01:01:46 -07:00
Kareem
0e54be4c44
fix error message (#2046) 2025-03-17 21:46:20 -07:00
Isaac Breen
420380d829
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
e2dc4b37fa Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly 2025-03-17 21:44:00 -07:00
Daniel Han
997fa41db2 Update _utils.py 2025-03-17 21:43:51 -07:00
Xander Hawthorne
457fc127db
Ensure trust_remote_code propegates down to unsloth_compile_transformers (#2075) 2025-03-17 21:43:47 -07:00
Daniel Han
984273a405 move float32 2025-03-17 19:42:49 -07:00
Daniel Han
d3eaf9e10c Fix forced float32 2025-03-17 19:24:21 -07:00
Daniel Han
0cf990f53e disable bfloat16 2025-03-17 18:28:46 -07:00
Daniel Han
07ea763472 Update _utils.py 2025-03-17 16:57:14 -07:00
Daniel Han
78e85e3c16 move print 2025-03-17 04:51:28 -07:00
Daniel Han
3cf8d07875 Update _utils.py 2025-03-17 04:49:26 -07:00
Daniel Han
5ca4f5c381 Update _utils.py 2025-03-17 04:47:58 -07:00
Daniel Han
12de176afd Update _utils.py 2025-03-17 04:45:49 -07:00
Daniel Han
9f558850f0 Update _utils.py 2025-03-17 04:42:50 -07:00
Daniel Han
9a356a7f79 move forced float32 2025-03-17 04:41:44 -07:00
Daniel Han
6d596da2aa Update vision.py 2025-03-17 04:17:59 -07:00
Daniel Han
28b4128c2b Update _utils.py 2025-03-16 23:37:46 -07:00
Daniel Han
682de7427e Update vision.py 2025-03-16 23:27:59 -07:00
Daniel Han
82debd25cc Update vision.py 2025-03-16 23:20:43 -07:00
Daniel Han
df554bcfb7 LoRA 16bit fix 2025-03-16 23:18:57 -07:00
Daniel Han
301f7fd699 Update loader.py 2025-03-16 22:15:54 -07:00
Daniel Han
f358b793bf more prints 2025-03-16 22:13:57 -07:00
Daniel Han
19c69280b7 Update vision.py 2025-03-16 22:10:36 -07:00
Daniel Han
60b3da5fe5 Update pyproject.toml 2025-03-16 20:31:54 -07:00
Daniel Han
64c29182a7 Update pyproject.toml 2025-03-16 20:30:46 -07:00
Daniel Han
97c2a88f41 Update loader.py 2025-03-16 20:18:53 -07:00
Kareem
ce4558bf55
fix (#2051) 2025-03-16 15:19:58 -07:00
Mukkesh Ganesh
b1ec22ddf2
bug fix #2008 (#2039) 2025-03-16 15:19:14 -07:00
Daniel Han
cfa846e54e Update llama.py 2025-03-15 23:34:52 -07:00
Daniel Han
ee07fb9930 Update llama.py 2025-03-15 22:39:09 -07:00
Daniel Han
69659f6a44 Update pyproject.toml 2025-03-15 19:40:02 -07:00
Daniel Han
e50fb7401b Version 2025-03-15 19:22:44 -07:00
Daniel Han
48a33ad1fc Merge branch 'main' into nightly 2025-03-15 19:15:26 -07:00
Daniel Han
8ab8c6c120 Update _utils.py 2025-03-15 17:58:14 -07:00
Michael Han
6f7c8c6d0a
Update README.md 2025-03-15 17:47:25 -07:00
Daniel Han
0f0e6eb194 Update rl.py 2025-03-15 17:13:18 -07:00
Daniel Han
2b8c15cd9a Merge branch 'main' into nightly 2025-03-15 16:36:18 -07:00
Daniel Han
5df2a0ce2a
Update README.md (#2028) 2025-03-14 22:06:53 -07:00
Daniel Han
5174a675a2
Gemma 3 readme (#2019)
* Update README.md

* Update README.md

* Update README.md

---------

Co-authored-by: Michael Han <107991372+shimmyshimmer@users.noreply.github.com>
2025-03-14 11:12:02 -07:00
Daniel Han
aff2cf2125 Update _utils.py 2025-03-14 10:04:10 -07:00
Daniel Han
c62a05bc6b Update save.py 2025-03-14 09:54:48 -07:00
Daniel Han
ae43909f1f Precision issues 2025-03-14 08:33:33 -07:00
Daniel Han
99a591a862 Update vision.py 2025-03-14 08:19:02 -07:00
Daniel Han
23683e1d34 Update _utils.py 2025-03-14 08:17:49 -07:00