[minor] rm redundant code
This commit is contained in:
parent
8368f7d6d4
commit
46cda3c3a9
|
|
@ -48,7 +48,7 @@ def hf_infer(
|
|||
"""
|
||||
device = device or ("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
model_args, data_args, _, generating_args = get_infer_args(
|
||||
model_args, data_args, _, _ = get_infer_args(
|
||||
dict(
|
||||
model_name_or_path=model_name_or_path,
|
||||
adapter_name_or_path=adapter_name_or_path,
|
||||
|
|
|
|||
Loading…
Reference in New Issue