mirror of https://github.com/InternLM/InternLM
Update test_hf_model.py
parent
626f2c096f
commit
127808cada
|
@ -397,7 +397,7 @@ class TestXcomposer2d5Model:
|
||||||
'/mnt/petrelfs/qa-caif-cicd/github_runner/examples/screenshot.jpg'
|
'/mnt/petrelfs/qa-caif-cicd/github_runner/examples/screenshot.jpg'
|
||||||
]
|
]
|
||||||
with torch.autocast(device_type='cuda', dtype=torch.float16):
|
with torch.autocast(device_type='cuda', dtype=torch.float16):
|
||||||
response = model.resume_2_webpage(query,
|
response = model.screen_2_webpage(query,
|
||||||
image,
|
image,
|
||||||
seed=202,
|
seed=202,
|
||||||
repetition_penalty=3.0)
|
repetition_penalty=3.0)
|
||||||
|
|
Loading…
Reference in New Issue