Skip to content

Commit 79ef31b

Browse files
committed
updated function name
Signed-off-by: Suguna Velury <[email protected]>
1 parent 0c81fa1 commit 79ef31b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/llm_qat/export.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
mto.enable_huggingface_checkpointing()
3535

3636

37-
def get_lora_model(
37+
def get_model(
3838
ckpt_path: str,
3939
device="cuda",
4040
):
@@ -66,7 +66,7 @@ def get_lora_model(
6666

6767
def main(args):
6868
# Load model
69-
model = get_lora_model(args.pyt_ckpt_path, args.device)
69+
model = get_model(args.pyt_ckpt_path, args.device)
7070
tokenizer = AutoTokenizer.from_pretrained(args.pyt_ckpt_path)
7171
is_qlora = hasattr(model, "peft_config")
7272

0 commit comments

Comments
 (0)