From 265ca821774bb2c2444c86542a3557db77d526ed Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 23 Oct 2025 05:53:12 -0700 Subject: [PATCH] Versioning --- pyproject.toml | 8 ++++---- unsloth/import_fixes.py | 2 +- unsloth/models/_utils.py | 10 +--------- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fb5748f086..4ee9042459 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,11 +55,11 @@ huggingfacenotorch = [ "hf_transfer", "diffusers", "transformers>=4.51.3,!=4.52.0,!=4.52.1,!=4.52.2,!=4.52.3,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,<=4.56.2", - "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0,!=0.19.0,<=0.23.0", + "trl>=0.18.2,!=0.19.0,<=0.23.0", ] huggingface = [ "unsloth[huggingfacenotorch]", - "unsloth_zoo>=2025.10.9", + "unsloth_zoo>=2025.10.10", "torchvision", "unsloth[triton]", ] @@ -461,7 +461,7 @@ colab-ampere-torch220 = [ "flash-attn>=2.6.3 ; ('linux' in sys_platform)", ] colab-new = [ - "unsloth_zoo>=2025.10.9", + "unsloth_zoo>=2025.10.10", "packaging", "tyro", "transformers>=4.51.3,!=4.52.0,!=4.52.1,!=4.52.2,!=4.52.3,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,<=4.56.2", @@ -479,7 +479,7 @@ colab-new = [ ] colab-no-deps = [ "accelerate>=0.34.1", - "trl>=0.7.9,!=0.9.0,!=0.9.1,!=0.9.2,!=0.9.3,!=0.15.0,!=0.19.0,<=0.23.0", + "trl>=0.18.2,!=0.19.0,<=0.23.0", "peft>=0.7.1", "xformers ; ('linux' in sys_platform or sys_platform == 'win32') and (platform_machine == 'AMD64' or platform_machine == 'x86_64')", "bitsandbytes>=0.45.5,!=0.46.0,!=0.48.0", diff --git a/unsloth/import_fixes.py b/unsloth/import_fixes.py index 4deb0deb5c..d176678b7b 100644 --- a/unsloth/import_fixes.py +++ b/unsloth/import_fixes.py @@ -164,6 +164,6 @@ def patch_trackio(): # See https://github.com/unslothai/notebooks/pull/110 os.environ["TRACKIO_LOGO_LIGHT_URL"] = "https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20logo%20black%20text.png" os.environ["TRACKIO_LOGO_DARK_URL"] = "https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20logo%20white%20text.png" - os.environ["TRACKIO_PLOT_ORDER"] = "train/loss" + os.environ["TRACKIO_PLOT_ORDER"] = "train/reward" pass pass diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index fbd2f2389c..32ebf65760 100644 --- a/unsloth/models/_utils.py +++ b/unsloth/models/_utils.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2025.10.8" +__version__ = "2025.10.9" __all__ = [ "SUPPORTS_BFLOAT16", @@ -357,14 +357,6 @@ try: except: pass -# Skipping import of cpp extensions due to incompatible torch version -try: - from torchao import logger as torchao_logger - torchao_logger.addFilter(HideLoggingMessage("Skipping import")) - del torchao_logger -except: - pass - # Errors out on # Some weights of Gemma3nForConditionalGeneration were not initialized from the model checkpoint from transformers.modeling_utils import logger as transformers_logger