Skip to content
Python

fixed save quantized

deepbeepmeepb22d70940391
diff --git a/requirements.txt b/requirements.txt
index db9f5f0..3036275 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -61,8 +61,8 @@ ftfy
piexif
nvidia-ml-py
misaki
-gitdb>=4.0.11
-gitpython>=3.1.44
+gitdb==4.0.12
+gitpython==3.1.45
# Optional / commented out
# transformers==4.46.3 # for llamallava pre-patch
diff --git a/wgp.py b/wgp.py
index bf7e4cb..8d2dd40 100644
--- a/wgp.py
+++ b/wgp.py
@@ -2737,7 +2737,7 @@ def save_model(model, model_type, dtype, config_file, submodel_no = 1, is_mod
saved_finetune_def = json.load(reader)
update_model_def = False
- model_filename_path = os.path.join(fl.get_download_folder(), model_filename)
+ model_filename_path = os.path.join(fl.get_download_location(), model_filename)
quanto_dtypestr= "bf16" if dtype == torch.bfloat16 else "fp16"
if ("m" + dtypestr) in model_filename:
dtypestr = "m" + dtypestr