Skip to content

Commit 54159f9

Browse files
committed
set the default value of torch_dtype to None
1 parent 2fe8942 commit 54159f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cehrbert/runners/hf_runner_argument_dataclass.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class ModelArguments:
228228
},
229229
)
230230
torch_dtype: Optional[str] = dataclasses.field(
231-
default="auto",
231+
default=None,
232232
metadata={
233233
"help": (
234234
"Override the default `torch.dtype` and load the model under this dtype. If `auto` is passed, the "

0 commit comments

Comments
 (0)