Skip to content

Commit

Permalink
format update
Browse files Browse the repository at this point in the history
  • Loading branch information
ATMxsp01 committed Dec 16, 2024
1 parent 696283c commit 99c7cf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
trust_remote_code=True,
optimize_model=True,
model_hub=model_hub)
model.half().to('xpu')
model = model.half().to('xpu')

# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_path,
Expand Down

0 comments on commit 99c7cf4

Please sign in to comment.