We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents faa5d8b + 71493fc commit 9fa624dCopy full SHA for 9fa624d
multimodal/vl2l/src/mlperf_inference_multimodal_vl2l/cli.py
@@ -121,7 +121,8 @@ class TestSettings(BaseModel):
121
122
@field_validator("min_duration", mode="before")
123
@classmethod
124
- def parse_min_duration(cls, value: timedelta | float | str) -> timedelta | str:
+ def parse_min_duration(cls, value: timedelta |
125
+ float | str) -> timedelta | str:
126
"""Parse timedelta from seconds (int/float/str) or ISO 8601 format."""
127
if isinstance(value, timedelta):
128
return value
0 commit comments