Skip to content

Commit

Permalink
[NPU] update convert script based on latest usage (#12617)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnwang04 authored Dec 26, 2024
1 parent ef585d3 commit d841e1d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
t0 = time.perf_counter()
model = AutoModelForCausalLM.from_pretrained(model_path,
optimize_model=True,
pipeline=True,
load_in_low_bit=args.low_bit,
max_context_len=args.max_context_len,
max_prompt_len=args.max_prompt_len,
Expand All @@ -69,7 +68,6 @@
attn_implementation="eager",
transpose_value_cache=not args.disable_transpose_value_cache,
trust_remote_code=True,
convert_model=True,
save_directory=save_dir)
t1 = time.perf_counter()

Expand Down

0 comments on commit d841e1d

Please sign in to comment.