@@ -57,7 +57,7 @@ function generate_op_names() {
5757 "handler_path": "$GRAPH_NET_ROOT /graph_net/torch/typical_sequence_split_points.py",
5858 "handler_class_name": "OpNamesExtractor",
5959 "handler_config": {
60- "resume": true ,
60+ "resume": ${RESUME} ,
6161 "model_path_prefix": "$GRAPH_NET_ROOT ",
6262 "output_dir": "${OP_NAMES_OUTPUT_DIR} "
6363 }
@@ -93,7 +93,7 @@ function range_decompose() {
9393 "handler_path": "$GRAPH_NET_ROOT /graph_net/torch/graph_decomposer.py",
9494 "handler_class_name": "RangeDecomposerExtractor",
9595 "handler_config": {
96- "resume": true ,
96+ "resume": ${RESUME} ,
9797 "model_path_prefix": "$GRAPH_NET_ROOT ",
9898 "output_dir": "${RANGE_DECOMPOSE_OUTPUT_DIR} ",
9999 "split_results_path": "$DECOMPOSE_WORKSPACE /split_results_${OP_RANGE} ops.json",
@@ -117,7 +117,7 @@ function rename_decomposed_subgraph() {
117117 "handler_class_name": "GraphVariableRenamer",
118118 "handler_config": {
119119 "device": "cuda",
120- "resume": true ,
120+ "resume": ${RESUME} ,
121121 "model_path_prefix": "${RANGE_DECOMPOSE_OUTPUT_DIR} ",
122122 "data_input_predicator_filepath": "$GRAPH_NET_ROOT /graph_net/torch/constraint_util.py",
123123 "data_input_predicator_class_name": "NaiveDataInputPredicator",
@@ -149,7 +149,7 @@ function rewrite_device() {
149149 "handler_class_name": "DeviceRewriteSamplePass",
150150 "handler_config": {
151151 "device": "cuda",
152- "resume": true ,
152+ "resume": ${RESUME} ,
153153 "model_path_prefix": "${DEDUPLICATED_OUTPUT_DIR} ",
154154 "output_dir": "${DEVICE_REWRITED_OUTPUT_DIR} "
155155 }
@@ -225,7 +225,7 @@ function rename_fusible_subgraph() {
225225 "handler_class_name": "GraphVariableRenamer",
226226 "handler_config": {
227227 "device": "cuda",
228- "resume": true ,
228+ "resume": ${RESUME} ,
229229 "model_path_prefix": "${FUSIBLE_SUBGRAPH_SAMPLES_DIR} ",
230230 "data_input_predicator_filepath": "$GRAPH_NET_ROOT /graph_net/torch/constraint_util.py",
231231 "data_input_predicator_class_name": "RenamedDataInputPredicator",
@@ -262,7 +262,7 @@ function generate_unittests() {
262262 "device": "cuda",
263263 "generate_main": false,
264264 "try_run": true,
265- "resume": true ,
265+ "resume": ${RESUME} ,
266266 "data_input_predicator_filepath": "$GRAPH_NET_ROOT /graph_net/torch/constraint_util.py",
267267 "data_input_predicator_class_name": "RenamedDataInputPredicator"
268268 }
0 commit comments