Python
fixed save quantized
deepbeepmeepb22d70940391
diff --git a/requirements.txt b/requirements.txtindex db9f5f0..3036275 100644--- a/requirements.txt+++ b/requirements.txt@@ -61,8 +61,8 @@ ftfypiexifnvidia-ml-pymisaki-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-patchdiff --git a/wgp.py b/wgp.pyindex 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_modsaved_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