Skip to content

Commit

Permalink
fix perf test(#11295)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnwang04 authored Jun 13, 2024
1 parent 220151e commit 986af21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/llm/dev/benchmark/all-in-one/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def run_transformer_int4_gpu(repo_id,
if fp16:
torch_dtype = torch.float16
else:
torch_dtype = 'auto'
torch_dtype = torch.float32
st = time.perf_counter()
origin_repo_id = repo_id.replace("-4bit", "")
if origin_repo_id in CHATGLM_IDS:
Expand Down

0 comments on commit 986af21

Please sign in to comment.