Skip to content

Commit 895331d

Browse files
committed
renamed: naive_graph_decomposer -> graph_decomposer
1 parent 3e301f5 commit 895331d

10 files changed

+8
-8
lines changed
File renamed without changes.

graph_net/subgraph_decompose_and_evaluation_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def run_decomposer_for_single_model(
186186
"decorator_path": f"{graphnet_root}/graph_net/{framework}/extractor.py",
187187
"decorator_config": {
188188
"name": model_name,
189-
"custom_extractor_path": f"{graphnet_root}/graph_net/{framework}/naive_graph_decomposer.py",
189+
"custom_extractor_path": f"{graphnet_root}/graph_net/{framework}/graph_decomposer.py",
190190
"custom_extractor_config": {
191191
"output_dir": output_dir,
192192
"split_positions": split_positions,

graph_net/test/chain_naive_graph_decomposer_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ decorator_config_json_str=$(cat <<EOF
1111
"decorator_path": "$GRAPH_NET_ROOT/torch/extractor.py",
1212
"decorator_config": {
1313
"name": "$MODEL_NAME",
14-
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/naive_graph_decomposer.py",
14+
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/graph_decomposer.py",
1515
"custom_extractor_config": {
1616
"output_dir": "/tmp/chain_naive_decompose_workspace",
1717
"split_positions": [8, 16, 32],

graph_net/test/decomposer_validator_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extractor_config_json_str=$(cat <<EOF
1616
"decorator_path": "$GRAPH_NET_ROOT/torch/extractor.py",
1717
"decorator_config": {
1818
"name": "$MODEL_NAME",
19-
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/naive_graph_decomposer.py",
19+
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/graph_decomposer.py",
2020
"custom_extractor_config": {
2121
"output_dir": "$OUTPUT_DIR/${MODEL_NAME}_decomposed",
2222
"split_positions": [8, 16, 32],

graph_net/test/naive_decomposer_and_post_extract_process_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ decorator_config_json_str=$(cat <<EOF
1212
"decorator_path": "$GRAPH_NET_ROOT/torch/extractor.py",
1313
"decorator_config": {
1414
"name": "$MODEL_NAME",
15-
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/naive_graph_decomposer.py",
15+
"custom_extractor_path": "$GRAPH_NET_ROOT/torch/graph_decomposer.py",
1616
"custom_extractor_config": {
1717
"output_dir": "/tmp/naive_decompose_workspace",
1818
"split_positions": [8, 16, 32],

graph_net/test/naive_graph_decomposer_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MODEL_NAME=resnet18
88
MODEL_PATH_IN_SAMPLES=/timm/$MODEL_NAME
99
config_json_str=$(cat <<EOF
1010
{
11-
"handler_path": "$GRAPH_NET_ROOT/torch/naive_graph_decomposer.py",
11+
"handler_path": "$GRAPH_NET_ROOT/torch/graph_decomposer.py",
1212
"handler_class_name": "NaiveDecomposerExtractor",
1313
"handler_config": {
1414
"model_path_prefix": "$GRAPH_NET_ROOT/../",

graph_net/test/typical_sequence_decomposer_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python3 -m graph_net.torch.typical_sequence_split_points \
1717

1818
decompose_config_json_str=$(cat <<EOF
1919
{
20-
"handler_path": "$GRAPH_NET_ROOT/graph_net/torch/naive_graph_decomposer.py",
20+
"handler_path": "$GRAPH_NET_ROOT/graph_net/torch/graph_decomposer.py",
2121
"handler_class_name": "RangeDecomposerExtractor",
2222
"handler_config": {
2323
"model_path_prefix": "$GRAPH_NET_ROOT",

graph_net/torch/backend/range_decomposer_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __call__(self, model: torch.nn.Module) -> torch.nn.Module:
4444
"decorator_config": {
4545
"name": model_name,
4646
"custom_extractor_path": str(
47-
self.graph_net_root / "torch/naive_graph_decomposer.py"
47+
self.graph_net_root / "torch/graph_decomposer.py"
4848
),
4949
"custom_extractor_config": {
5050
"output_dir": str(model_output_dir),

graph_net/torch/fully_fusible_subgraph_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _build_decompose_config(
8686
"decorator_path": f"{graph_net_root}/torch/extractor.py",
8787
"decorator_config": {
8888
"name": f"{self.name}",
89-
"custom_extractor_path": f"{graph_net_root}/torch/naive_graph_decomposer.py",
89+
"custom_extractor_path": f"{graph_net_root}/torch/graph_decomposer.py",
9090
"custom_extractor_config": {
9191
"output_dir": temp_dir,
9292
"split_positions": self.config["split_positions"],

0 commit comments

Comments
 (0)