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

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-06-27 07:26:16 +00:00
commit 060425d1a8

View file

@ -3865,7 +3865,6 @@ def _unsloth_save_compressed_tensors(
# merge and quantization, matching the normal push path). create_repo is idempotent.
if push_to_hub:
from huggingface_hub import HfApi
api = HfApi(token = token)
api.create_repo(
repo_id = repo_id,