Skip to content

Commit 2455bc2

Browse files
FIx eval url (#941)
1 parent 84826bd commit 2455bc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

swift/llm/utils/argument.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,11 @@ class EvalArguments(InferArguments):
11901190

11911191
eval_use_cache: Optional[bool] = False
11921192

1193+
def select_dtype(self):
1194+
if self.eval_url is None:
1195+
return super().select_dtype()
1196+
return None, None, None
1197+
11931198
def set_model_type(self) -> None:
11941199
if self.eval_url is None:
11951200
super().set_model_type()

0 commit comments

Comments
 (0)