We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e86f4 commit b9de6dcCopy full SHA for b9de6dc
unsloth/save.py
@@ -2257,16 +2257,16 @@ def save_to_gguf_generic(
2257
private = True,
2258
token = token,
2259
)
2260
- pass
2261
2262
- from huggingface_hub import HfApi
2263
- api = HfApi(token = token)
2264
- api.upload_folder(
2265
- folder_path = save_directory,
2266
- repo_id = repo_id,
2267
- repo_type = "model",
2268
- allow_patterns = ["*.gguf*"],
2269
- )
+ from huggingface_hub import HfApi
+ api = HfApi(token = token)
+ api.upload_folder(
+ folder_path = save_directory,
+ repo_id = repo_id,
+ repo_type = "model",
+ allow_patterns = ["*.gguf*"],
+ )
+ pass
2270
return metadata
2271
pass
2272
0 commit comments