Skip to content

Commit f9d5db3

Browse files
authored
Update README.md
1 parent acd4430 commit f9d5db3

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# GraphNet ![](https://img.shields.io/badge/version-v0.1-brightgreen) ![](https://img.shields.io/github/issues/PaddlePaddle/GraphNet?label=open%20issues) [![](https://img.shields.io/badge/Contribute%20to%20GraphNet-blue)](https://github.com/PaddlePaddle/GraphNet/issues/98)
22

3-
43
**GraphNet** is a large-scale dataset of deep learning **computation graphs**, built as a standard benchmark for **tensor compiler** optimization. It provides 2.7K computation graphs extracted from state-of-the-art deep learning models spanning diverse tasks and ML frameworks. With standardized formats and rich metadata, GraphNet enables fair comparison and reproducible evaluation of the general optimization capabilities of tensor compilers, thereby supporting advanced research such as AI for System on compilers ([**ai4c**](https://github.com/PaddlePaddle/ai4c)).
54

65
<br>
@@ -10,8 +9,6 @@
109

1110
Compiler developers can use GraphNet samples to evaluate tensor compilers (e.g., CINN, TorchInductor, TVM) on target tasks. The figure above shows the speedup of two compilers (CINN and TorchInductor) across two tasks (CV and NLP).
1211

13-
14-
1512
## 🧱 Dataset Construction
1613

1714
To guarantee the dataset’s overall quality, reproducibility, and cross-compiler compatibility, we define the following construction **constraints**:
@@ -22,7 +19,6 @@ To guarantee the dataset’s overall quality, reproducibility, and cross-compile
2219
4. Operator names within each computation graph must be statically parseable.
2320
5. If custom operators are used, their implementation code must be fully accessible.
2421

25-
2622
### Graph Extraction & Validation
2723

2824
We provide automated extraction and validation tools for constructing this dataset.
@@ -31,7 +27,6 @@ We provide automated extraction and validation tools for constructing this datas
3127
<img src="/pics/graphnet_overview.jpg" alt="GraphNet Architecture Overview" width="65%">
3228
</div>
3329

34-
3530
**Demo: Extract & Validate ResNet‑18**
3631
```bash
3732
git clone https://github.com/PaddlePaddle/GraphNet.git
@@ -72,7 +67,6 @@ python -m graph_net.torch.validate \
7267
--model-path $GRAPH_NET_EXTRACT_WORKSPACE/model_name
7368
```
7469

75-
7670
## ⚖️ Compiler Evaluation
7771

7872
**Step 1: Benchmark**
@@ -115,7 +109,7 @@ python -m graph_net.analysis \
115109
--output-dir /path/to/save/output/figures/
116110
```
117111

118-
After executing, one summary plot of results on all compilers (as shown in "Evaluation Results Example"), as well as multiple sub-plots of results in categories (model tasks, Library...) on a single compiler.
112+
After executing, one summary plot of results on all compilers, as well as multiple sub-plots of results in categories (model tasks, Library...) on a single compiler will be exported.
119113

120114
The script is designed to process a file structure as ```/benchmark_path/compiler_name/category_name/``` (for example ```/benchmark_logs/paddle/nlp/```), and items on x-axis are identified by name of the folders. So you can modify ```read_all_speedups``` function to fit the benchmark settings on your demand.
121115

@@ -130,10 +124,8 @@ The script is designed to process a file structure as ```/benchmark_path/compile
130124

131125
## 💬 GraphNet Community:
132126

133-
134127
You can join GraphNet community via the following group chats.
135128

136-
137129
<div align="center">
138130
<table>
139131
<tr>
@@ -148,8 +140,5 @@ You can join GraphNet community via the following group chats.
148140
</table>
149141
</div>
150142

151-
152-
153143
## 🪪 License
154144
This project is released under the [MIT License](LICENSE).
155-

0 commit comments

Comments
 (0)