From 1c075d8d219b5fd2bfeba1b4bad8f912b22a26da Mon Sep 17 00:00:00 2001 From: Maya Eary Date: Tue, 28 Mar 2023 20:43:50 +0300 Subject: [PATCH] Fix typo --- modules/GPTQ_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/GPTQ_loader.py b/modules/GPTQ_loader.py index 351d658d..1fdd23c0 100644 --- a/modules/GPTQ_loader.py +++ b/modules/GPTQ_loader.py @@ -65,7 +65,7 @@ def load_quantized(model_name): model_type = shared.args.model_type.lower() if model_type == 'llama' and shared.args.pre_layer: - oad_quant = llama_inference_offload.load_quant + load_quant = llama_inference_offload.load_quant elif model_type in ('llama', 'opt', 'gptj'): load_quant = _load_quant else: