Commit graph

4,672 commits

Author SHA1 Message Date
Daniel Han
6b676abaad Merge branch 'main' into nightly 2025-12-17 03:32:57 -08:00
Daniel Han
1e7302cd77 Nightly (#3737)
* Update _utils.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [FIX] [Transformers] VLM input embeds fix for gradients (#3715)

* Fix get_input_embeds call for VLMs

* patch input_require_grads instead

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* cleanup old patch

* cleanup old patch

* cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestion from @danielhanchen

* use logger instead of prints

* Move unsloth present set

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Han <danielhanchen@gmail.com>

* Update rope_embedding.py

* Fixes

* Update _utils.py

* Update import_fixes.py

* Update rl_replacements.py

* fix_openenv_no_vllm

* Fix

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* logger

* Update __init__.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update __init__.py

* Update import_fixes.py

* Update __init__.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update import_fixes.py

* Update unsloth/import_fixes.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update save.py

* [fbgemm] Silence tma fbgemm (#3735)

* Silence fbgemm TMA print

Also safer .push_to_hub

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update loader.py

* Update save.py

* Update save.py

* Update _utils.py

* Update _utils.py

* Diffusers warnings

* Update pyproject.toml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Datta Nimmaturi <venkatadattasainimmaturi@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-17 03:31:48 -08:00
pre-commit-ci[bot]
ec0b96012e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-12-17 11:29:40 +00:00
Daniel Han
150f7e017e Update pyproject.toml 2025-12-17 03:26:19 -08:00
Daniel Han
37888f3e10 Diffusers warnings 2025-12-17 03:25:40 -08:00
Daniel Han
fecee1b386 Update _utils.py 2025-12-17 02:54:15 -08:00
Daniel Han
2f7132d7c9 Update _utils.py 2025-12-17 02:38:05 -08:00
Daniel Han
be4b5996d7 Update save.py 2025-12-17 02:28:03 -08:00
Daniel Han
7d82555dc8 Update save.py 2025-12-17 02:21:47 -08:00
Daniel Han
28120b8a88 Update loader.py 2025-12-17 01:51:29 -08:00
Daniel Han
b342b6cf28 Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly 2025-12-17 01:07:29 -08:00
Datta Nimmaturi
a32f28d30b [fbgemm] Silence tma fbgemm (#3735)
* Silence fbgemm TMA print

Also safer .push_to_hub

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-17 01:07:21 -08:00
Daniel Han
59ed4fce4c Update save.py 2025-12-16 23:15:31 -08:00
Daniel Han
85f361a15d Merge branch 'main' into nightly 2025-12-16 21:52:58 -08:00
Daniel Han
23a7ac5d17 Update FUNDING.yml (#3736) 2025-12-16 21:36:25 -08:00
Daniel Han
ae4208f3ae Merge branch 'main' into nightly 2025-12-16 21:07:38 -08:00
Daniel Han
9ef9b60660 Bug fixes (#3734)
* Update _utils.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [FIX] [Transformers] VLM input embeds fix for gradients (#3715)

* Fix get_input_embeds call for VLMs

* patch input_require_grads instead

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* cleanup old patch

* cleanup old patch

* cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestion from @danielhanchen

* use logger instead of prints

* Move unsloth present set

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Han <danielhanchen@gmail.com>

* Update rope_embedding.py

* Fixes

* Update _utils.py

* Update import_fixes.py

* Update rl_replacements.py

* fix_openenv_no_vllm

* Fix

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* logger

* Update __init__.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update __init__.py

* Update import_fixes.py

* Update __init__.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update import_fixes.py

* Update unsloth/import_fixes.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Datta Nimmaturi <venkatadattasainimmaturi@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-16 20:52:57 -08:00
Daniel Han
329c465245 Update unsloth/import_fixes.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-16 20:52:09 -08:00
Daniel Han
19b283459c Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly 2025-12-16 20:39:00 -08:00
Daniel Han
3fa8a363ab Update import_fixes.py 2025-12-16 20:34:34 -08:00
pre-commit-ci[bot]
c27a5beed8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-12-17 04:26:03 +00:00
Daniel Han
66c97eb1ff Update import_fixes.py 2025-12-16 20:15:22 -08:00
Daniel Han
a79766f747 Update import_fixes.py 2025-12-16 20:06:12 -08:00
Daniel Han
c74d5e4ed6 Update import_fixes.py 2025-12-16 19:59:04 -08:00
Daniel Han
967fd51990 Update import_fixes.py 2025-12-16 19:51:10 -08:00
Daniel Han
b206214bb7 Update __init__.py 2025-12-16 19:49:19 -08:00
Daniel Han
4b6afd75de Update import_fixes.py 2025-12-16 19:48:41 -08:00
Daniel Han
c69e45b32f Merge branch 'main' into nightly 2025-12-16 19:46:34 -08:00
Daniel Han
90db3f465e Update import_fixes.py 2025-12-16 16:58:03 -08:00
Daniel Han
ba3f91f72f Update import_fixes.py 2025-12-16 16:57:38 -08:00
Daniel Han
c4d44af095 Update import_fixes.py 2025-12-16 15:46:27 -08:00
Daniel Han
95ce4fa8fa Update rl.py 2025-12-15 22:43:16 -08:00
pre-commit-ci[bot]
3104fd0942 [pre-commit.ci] pre-commit autoupdate (#3731)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.8 → v0.14.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.8...v0.14.9)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-15 17:54:15 -08:00
Dan Saunders
e012936d75 nits 2025-12-15 18:46:21 -05:00
Dan Saunders
64a13cd4b5 vision config -> lora 2025-12-15 18:37:26 -05:00
Dan Saunders
1a929732f6 bugfix 2025-12-15 18:37:26 -05:00
Dan Saunders
e79b1c7832 review comments, tests, etc. 2025-12-15 18:37:26 -05:00
Dan Saunders
6e7e52fb26 add export command, nested reorg commands 2025-12-15 18:37:26 -05:00
Dan Saunders
7828f77175 fixes / cleanup 2025-12-15 18:37:26 -05:00
Dan Saunders
cf966fe98e autogen typer options from pydantic models 2025-12-15 18:37:26 -05:00
Dan Saunders
356fb08b03 add dry run 2025-12-15 18:37:26 -05:00
Dan Saunders
22f9a65772 refactor 2025-12-15 18:37:26 -05:00
Dan Saunders
4ef25032c1 add config support + example configs, etc. 2025-12-15 18:37:26 -05:00
Dan Saunders
42490cfbc4 train CLI 2025-12-15 18:37:26 -05:00
Michael Han
086ccd377f Update README.md 2025-12-13 16:44:44 -08:00
oKatanaaa
e368a0bd2a fix: add a log instead of silent exception 2025-12-13 00:06:41 +00:00
Daniel Han
3412452d76 Merge branch 'main' into nightly 2025-12-12 05:53:19 -08:00
Daniel Han
cdc95e33a9 Nightly (#3720)
* Update _utils.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [FIX] [Transformers] VLM input embeds fix for gradients (#3715)

* Fix get_input_embeds call for VLMs

* patch input_require_grads instead

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* cleanup old patch

* cleanup old patch

* cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestion from @danielhanchen

* use logger instead of prints

* Move unsloth present set

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Han <danielhanchen@gmail.com>

* Update rope_embedding.py

* Fixes

* Update _utils.py

* Update import_fixes.py

* Update rl_replacements.py

* fix_openenv_no_vllm

* Fix

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update import_fixes.py

* Update import_fixes.py

* Update import_fixes.py

* logger

* Update __init__.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update __init__.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Datta Nimmaturi <venkatadattasainimmaturi@gmail.com>
2025-12-12 05:53:08 -08:00
Daniel Han
e0ee31d814 Merge branch 'nightly' of https://github.com/unslothai/unsloth into nightly 2025-12-12 05:51:51 -08:00
Daniel Han
679a77c8f2 Update __init__.py 2025-12-12 05:51:31 -08:00