fix perf test(#11295)
This commit is contained in:
parent
220151e2a1
commit
986af21896
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue