Skip to content

Commit 69d2313

Browse files
Merge pull request #205 from hexinw-nvidia/regression
Allowed ft_launcher to run with default FaultToleranceConfig
2 parents c26242d + 6e67e93 commit 69d2313

File tree

1 file changed

+0
-4
lines changed
  • src/nvidia_resiliency_ext/fault_tolerance

1 file changed

+0
-4
lines changed

src/nvidia_resiliency_ext/fault_tolerance/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,6 @@ def from_args(args: argparse.Namespace):
229229
ft_cfg._fix_log_level_type()
230230
ft_cfg._fix_rank_termination_signal_type()
231231

232-
# If we didn't read from file and no CLI args were provided, raise an error
233-
if not (is_read_from_file or cli_ft_args):
234-
raise ValueError("No fault tolerance configuration provided.")
235-
236232
return ft_cfg
237233

238234
def to_yaml_file(self, cfg_path: str) -> None:

0 commit comments

Comments
 (0)