[minor] rm redundant code

This commit is contained in:
WinterShiver 2025-11-04 10:46:31 +08:00 committed by GitHub
parent 8368f7d6d4
commit 46cda3c3a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,