Skip to content

Commit a4e445d

Browse files
committed
minor fix
1 parent b33bec1 commit a4e445d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph_net/torch/graph_decomposer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def __call__(self, rel_model_path):
215215
or len(split_results[rel_model_path]["split_positions"]) == 0
216216
):
217217
sys.stderr.write(f"Error: {rel_model_path} has no split positions.\n")
218-
os._exit(1)
218+
return
219219
split_positions = split_results[rel_model_path]["split_positions"]
220220
if self.config["resume"] and self._is_model_handled(
221221
rel_model_path, split_positions

0 commit comments

Comments
 (0)