Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix pokeman
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
  • Loading branch information
changwangss committed Jun 21, 2024
1 parent 3aac3a4 commit b2e0a8d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@ def eval_func(model):
accuracy_criterion=accuracy_criterion
)
os.makedirs(args.output_dir, exist_ok=True)
model.config.torch_dtype = "int8"
model.config.save_pretrained(args.output_dir)
model = fit(model,
quantization_config,
eval_func=eval_func,
Expand Down

0 comments on commit b2e0a8d

Please sign in to comment.