git404hub

what is graphnet fr?

paddlepaddle/graphnet — explained in plain English

Analysis updated 2026-07-06 · repo last pushed 2026-05-22

95PythonAudience · researcherComplexity · 2/5MaintainedSetup · easy

tl;dr

GraphNet is a benchmark dataset of over 2,700 real neural network computation graphs, designed to help researchers test and fairly compare how well different tensor compilers optimize deep learning model performance.

vibe map

mindmap
  root((repo))
    What it does
      2700 plus real graphs
      Standardized test cases
      Fair compiler comparison
    Metrics
      Raw speedup score
      Reliability with errors
    Use cases
      AI for Compilers
      Hardware regression tests
      Optimization validation
    Audience
      Compiler researchers
      Hardware companies
    Tech stack
      Python
      PyTorch
      PaddlePaddle

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Test a tensor compiler against 2,700+ real models to measure average speedup and identify failure cases.

VIBE 2

Use the dataset as a regression suite to verify that a new hardware chip works well with existing compilers.

VIBE 3

Train a machine learning model to predict which compiler optimizations work best for specific computation graphs.

what's the stack?

PythonPyTorchPaddlePaddle

how it stacks up fr

paddlepaddle/graphnetrecursive-org/first-steps-toward-automated-ai-researchai272/speaker
Stars959594
LanguagePythonPythonPython
Last pushed2026-05-22
MaintenanceMaintained
Setup difficultyeasyhardmoderate
Complexity2/55/52/5
Audienceresearcherresearcherpm founder

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

in plain english

GraphNet is a benchmark dataset for researchers working on tensor compilers, the behind-the-scenes tools that make deep learning models run faster on hardware. It collects over 2,700 "computation graphs" (essentially blueprints of how a neural network processes data) extracted from real, state-of-the-art models across natural language processing, computer vision, and other tasks. The goal is to give compiler researchers a shared, standardized set of test cases so they can fairly compare how well different compilers optimize performance. When a deep learning model runs, a tensor compiler translates its computation graph into efficient machine code. Different compilers, like PyTorch's TorchInductor or PaddlePaddle's CINN, take different approaches, and until now there hasn't been a large, common dataset to evaluate them against. GraphNet fills that gap by providing models in a standardized format with rich metadata, so researchers can run a compiler across all 2,700+ graphs, measure speedup against a baseline, and see where it shines or struggles. The project also introduces two custom metrics: one that scores raw speedup, and another that factors in compilation or runtime errors, giving a more realistic picture of a compiler's practical reliability. The primary audience is tensor compiler developers and researchers, particularly those exploring "AI for Compilers", using machine learning to automatically improve compiler optimization strategies. A hardware company testing whether their new chip works well with existing compilers could use this dataset as a regression test suite. A compiler team deciding whether a new optimization actually helps across diverse models, or a researcher training a model to predict good optimization strategies, would also find it valuable. The roadmap includes expanding to 10,000+ graphs, adding multi-GPU scenarios, and enabling subgraph-level analysis, pointing toward increasingly granular and large-scale evaluation.

prompts (copy fr)

prompt 1
Write a script that loads the GraphNet dataset of 2,700 computation graphs and runs my tensor compiler on each one, recording execution time and any compilation errors.
prompt 2
Help me calculate the two GraphNet metrics, raw speedup score and reliability-adjusted speedup, from my compiler's output logs across the dataset.
prompt 3
I want to train a graph neural network on the GraphNet dataset to predict which optimization strategy will yield the best speedup for an unseen computation graph. How should I structure the training pipeline?
prompt 4
Create a benchmarking report that runs PaddlePaddle CINN and PyTorch TorchInductor across the GraphNet dataset and compares their speedups using the custom metrics.

Frequently asked questions

what is graphnet fr?

GraphNet is a benchmark dataset of over 2,700 real neural network computation graphs, designed to help researchers test and fairly compare how well different tensor compilers optimize deep learning model performance.

What language is graphnet written in?

Mainly Python. The stack also includes Python, PyTorch, PaddlePaddle.

Is graphnet actively maintained?

Maintained — commit in last 6 months (last push 2026-05-22).

How hard is graphnet to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is graphnet for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.