33
44MIN_SEQ_OPS=${1:- 4}
55MAX_SEQ_OPS=${2:- 64}
6- GPU_ID=${3:- 0 }
6+ GPU_ID=${3:- 7 }
77
88OP_RANGE=$MIN_SEQ_OPS -$MAX_SEQ_OPS
99
@@ -12,7 +12,8 @@ export CUDA_VISIBLE_DEVICES="${GPU_ID}"
1212GRAPH_NET_ROOT=$( python3 -c " import graph_net; import os; print(os.path.dirname(os.path.dirname(graph_net.__file__)))" )
1313RESUME=" true"
1414
15- DECOMPOSE_WORKSPACE=/tmp/subgraph_dataset_workspace
15+ # DECOMPOSE_WORKSPACE=/tmp/subgraph_dataset_workspace
16+ DECOMPOSE_WORKSPACE=/work/graphnet_test_workspace/subgraph_dataset_20260203
1617OUTPUT_DIR=$DECOMPOSE_WORKSPACE /outputs
1718DB_PATH=$OUTPUT_DIR /GraphNet.db
1819
@@ -682,19 +683,19 @@ function generate_database() {
682683}
683684
684685function main() {
685- do_common_generalzation_and_decompose
686+ # do_common_generalzation_and_decompose
686687
687688 sample_type=" fusible_graph"
688689 generate_fusible_subgraphs
689- cp -rf $DTYPE_GENERALIZED_FUSIBLE_SUBGRAPH_DIR $OUTPUT_DIR /$sample_type
690- cp -rf $dtype_generalized_subgraphs_list $OUTPUT_DIR /$sample_type /sample_list.txt
690+ # cp -rf $DTYPE_GENERALIZED_FUSIBLE_SUBGRAPH_DIR $OUTPUT_DIR/$sample_type
691+ # cp -rf $dtype_generalized_subgraphs_list $OUTPUT_DIR/$sample_type/sample_list.txt
691692
692693 sample_type=" typical_graph"
693694 generate_typical_subgraphs
694- cp -rf $DTYPE_GENERALIZED_TYPICAL_SUBGRAPH_DIR $OUTPUT_DIR /$sample_type
695- cp -rf $dtype_generalized_typical_subgraph_list $OUTPUT_DIR /$sample_type /sample_list.txt
695+ # cp -rf $DTYPE_GENERALIZED_TYPICAL_SUBGRAPH_DIR $OUTPUT_DIR/$sample_type
696+ # cp -rf $dtype_generalized_typical_subgraph_list $OUTPUT_DIR/$sample_type/sample_list.txt
696697
697- generate_database
698+ # generate_database
698699}
699700
700701function summary() {
0 commit comments