From a8a03154ea77685d98b903e896fc0efef2a3d2be Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 09:38:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- unsloth/_compressed_quantize.py | 1 - unsloth/save.py | 1 - 2 files changed, 2 deletions(-) diff --git a/unsloth/_compressed_quantize.py b/unsloth/_compressed_quantize.py index c3626e8f13..e69eb61433 100644 --- a/unsloth/_compressed_quantize.py +++ b/unsloth/_compressed_quantize.py @@ -237,7 +237,6 @@ def main(): try: from llmcompressor.core import reset_session - reset_session() except Exception: pass diff --git a/unsloth/save.py b/unsloth/save.py index 6cf6c506bb..1befbedd89 100644 --- a/unsloth/save.py +++ b/unsloth/save.py @@ -4049,7 +4049,6 @@ def _unsloth_save_compressed_tensors( if datasets: try: from huggingface_hub import metadata_update - metadata_update(repo_id, {"datasets": datasets}, overwrite = True, token = token) except Exception as meta_err: logger.warning_once(