NNIRP-dataset / croissant.json
nnirp's picture
Upload croissant.json with huggingface_hub
8f4bef6 verified
Raw History Blame Contribute Delete
15.2 kB
{
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"citeAs": "cr:citeAs",
"column": "cr:column",
"conformsTo": "dct:conformsTo",
"cr": "http://mlcommons.org/croissant/",
"rai": "http://mlcommons.org/croissant/RAI/",
"data": {
"@id": "cr:data",
"@type": "@json"
},
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"dct": "http://purl.org/dc/terms/",
"equivalentProperty": "cr:equivalentProperty",
"examples": {
"@id": "cr:examples",
"@type": "@json"
},
"extract": "cr:extract",
"field": "cr:field",
"fileProperty": "cr:fileProperty",
"fileObject": "cr:fileObject",
"fileSet": "cr:fileSet",
"format": "cr:format",
"includes": "cr:includes",
"isLiveDataset": "cr:isLiveDataset",
"jsonPath": "cr:jsonPath",
"key": "cr:key",
"md5": "cr:md5",
"parentField": "cr:parentField",
"path": "cr:path",
"recordSet": "cr:recordSet",
"references": "cr:references",
"regex": "cr:regex",
"repeated": "cr:repeated",
"replace": "cr:replace",
"samplingRate": "cr:samplingRate",
"sc": "https://schema.org/",
"separator": "cr:separator",
"source": "cr:source",
"subField": "cr:subField",
"transform": "cr:transform",
"prov": "http://www.w3.org/ns/prov#"
},
"@type": "sc:Dataset",
"name": "NNIRP Dataset: How You Split Is What You Get",
"description": "A dataset and evaluation protocol for predicting inference runtime of neural network models from their ONNX computational graphs. Contains 103,070 profiling samples from 190 source configurations spanning 6 architecture families (attention encoder, attention decoder, attention encoder-decoder, convolutional, detection, recurrent), organized into 156 clusters across 28 sub-families. Each sample includes: (1) the ONNX computational graph (lightweight export without weights), (2) a PyG (PyTorch Geometric) encoding with node features [N,14], edge features [E,18], graph-level features [1,5], operator type IDs, and regression targets [1,2] (log2 runtime in ms and log2 peak VRAM in MB), and (3) profiling statistics (runtime, VRAM, RAM) measured on an NVIDIA T4 GPU. The canonical cluster-atomic train/val/test split ensures no cluster straddles two splits. Manifests provide the full three-level taxonomy: family > sub-family > cluster > source configuration.",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"citeAs": "@inproceedings{anonymous2026nnirp,\n title = {How You Split Is What You Get: A Dataset for Evaluating Neural-Network Inference-Runtime Prediction},\n author = {Anonymous},\n booktitle = {Forty-first Conference on Neural Information Processing Systems (NeurIPS), Evaluations and Datasets Track},\n year = {2026}\n}",
"datePublished": "2026-05-01",
"keywords": [
"inference runtime prediction",
"ONNX",
"computational graph",
"graph neural network",
"PyTorch Geometric",
"GPU profiling",
"T4",
"neural network"
],
"license": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"prov:wasDerivedFrom": [
{
"@id": "https://huggingface.co/models",
"schema:name": "HuggingFace Model Hub",
"schema:description": "Pre-trained model architectures downloaded for profiling (149 HuggingFace source configurations, case IDs 900\u20131111)."
},
{
"schema:name": "Parametric Architecture Families",
"schema:description": "Six synthetic architecture families with dense hyperparameter sweeps (41 parametric source configurations, case IDs < 900). Models are constructed programmatically with randomly initialized weights."
}
],
"prov:wasGeneratedBy": [
{
"@type": "prov:Activity",
"schema:name": "ONNX Export",
"schema:description": "Lightweight ONNX export of neural network models capturing computational graph topology (operators, shapes, data types) without trained weights."
},
{
"@type": "prov:Activity",
"schema:name": "GPU Profiling",
"schema:description": "Inference runtime and peak memory profiling on an NVIDIA T4 GPU across multiple repetitions per model configuration."
},
{
"@type": "prov:Activity",
"schema:name": "PyG Feature Encoding",
"schema:description": "Conversion of ONNX computational graphs to PyTorch Geometric Data objects with structured node, edge, and graph-level features."
}
],
"rai:dataBiases": [
"Parametric source configurations account for ~22% of source configurations but ~89% of samples due to dense hyperparameter sweeps, creating a significant sample-mass imbalance between parametric and HuggingFace-derived data.",
"All profiling was performed on a single GPU type (NVIDIA T4). Runtime predictions may not transfer to other hardware without re-profiling.",
"MoE (Mixture of Experts) and SSM (State Space Model) architectures are underrepresented with only one cluster each.",
"The dataset covers PyTorch-exportable models only; architectures that cannot be traced or exported to ONNX are excluded."
],
"rai:dataCollection": "Data was collected through a three-stage automated pipeline: (1) ONNX export of neural network models using a lightweight export procedure that captures computational graph topology without trained weights, (2) GPU profiling on an NVIDIA T4 GPU measuring inference runtime, peak VRAM, and peak RAM across multiple repetitions, and (3) feature encoding converting ONNX graphs to PyTorch Geometric (PyG) Data objects with structured node, edge, and graph-level features. Parametric source configurations sweep hyperparameters (layer count, hidden dimension, batch size, precision) to generate dense scaling curves. HuggingFace source configurations profile model variants grouped by model type. All models use randomly initialized weights.",
"rai:dataCollectionRawData": "Raw data consists of ONNX model files exported from PyTorch models. Parametric models are constructed from architecture-specific code in the repository. HuggingFace models are downloaded from the HuggingFace Hub using the transformers library.",
"rai:dataCollectionType": "Automated pipeline",
"rai:dataLimitations": [
"Profiling is limited to a single GPU type (NVIDIA T4); predictions may not generalize to other hardware without adaptation.",
"ONNX export coverage is incomplete: some operators and dynamic control flow patterns are not supported by the ONNX export pipeline.",
"Runtime measurements reflect PyTorch eager-mode inference; optimized inference engines (TensorRT, ONNX Runtime) may exhibit different performance characteristics.",
"The dataset does not include training-time profiling, only inference."
],
"rai:dataSocialImpact": "This dataset enables efficient ML model deployment by predicting inference runtime from computational graph structure alone, reducing the need for exhaustive hardware profiling. This can lower the computational cost of neural architecture search and deployment planning. No known negative social impacts. The dataset contains only computational graph metadata and profiling statistics \u2014 no personal, sensitive, or copyrighted content.",
"rai:dataUseCases": [
"Training oracle models that predict inference runtime from computational graph structure, enabling hardware-aware neural architecture search and deployment planning without exhaustive profiling.",
"Studying the relationship between neural network graph topology and inference performance characteristics."
],
"rai:hasSyntheticData": true,
"rai:personalSensitiveInformation": "The dataset contains no personal or sensitive information. All data consists of computational graph topologies, numerical profiling statistics, and engineered features derived from neural network architectures.",
"url": "https://huggingface.co/datasets/nnirp/NNIRP-dataset",
"version": "1.0.0",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "hf-repository",
"name": "hf-repository",
"description": "HuggingFace dataset repository",
"contentUrl": "https://huggingface.co/datasets/nnirp/NNIRP-dataset/tree/main",
"encodingFormat": "application/x-git+directory",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"@type": "cr:FileObject",
"@id": "splits-manifest",
"name": "splits-manifest",
"description": "Canonical cluster-atomic train/val/test split definition. Maps each split to a list of source configuration IDs.",
"contentUrl": "https://huggingface.co/datasets/nnirp/NNIRP-dataset/resolve/main/manifests/splits.json",
"encodingFormat": "application/json",
"sha256": "15532da4e04a8acb5e7ab68cb698352555e293d3a9fbd6cb39a44ad364ad5e96"
},
{
"@type": "cr:FileObject",
"@id": "clusters-manifest",
"name": "clusters-manifest",
"description": "Cluster taxonomy mapping each cluster to its sub-family, family, and constituent source configuration IDs.",
"contentUrl": "https://huggingface.co/datasets/nnirp/NNIRP-dataset/resolve/main/manifests/clusters.json",
"encodingFormat": "application/json",
"sha256": "1cefd174473b50ad921ed539f9704588bcf0ac91ead04709bd245c47dcf8595e"
},
{
"@type": "cr:FileSet",
"@id": "profiling-archives",
"name": "profiling-archives",
"description": "Gzipped tar archives of profiling statistics, one per source configuration. Each archive contains JSON files with summary statistics (count, mean, median, variance, min, max) for: Runtime (ms), Peak RAM (MB), Peak VRAM (MB), Peak Disk Usage (MB), Disk Read (MB), Disk Write (MB), all measured on an NVIDIA T4 GPU.",
"containedIn": {
"@id": "hf-repository"
},
"encodingFormat": "application/x-tar",
"includes": "profiling/*.tar.gz"
},
{
"@type": "cr:FileSet",
"@id": "pyg-feature-archives",
"name": "pyg-feature-archives",
"description": "Gzipped tar archives of PyTorch Geometric (PyG) graph encodings, one per source configuration. Each archive contains zstandard-compressed .pt.zst files, each a PyG Data object with: data.x [N,14] node features, data.op_type_id [N] operator type indices (88-op vocabulary), data.edge_index [2,E] directed dataflow edges, data.edge_attr [E,18] edge features, data.u [1,5] graph-level features, data.y [1,2] regression targets (log2 runtime ms, log2 peak VRAM MB).",
"containedIn": {
"@id": "hf-repository"
},
"encodingFormat": "application/x-tar",
"includes": "pyg-features/*.tar.gz"
},
{
"@type": "cr:FileSet",
"@id": "onnx-graph-archives",
"name": "onnx-graph-archives",
"description": "Gzipped tar archives of lightweight ONNX computational graphs, one per source configuration. Each archive contains .onnx files exported without trained weights \u2014 full operator graph topology, shapes, and data types, with randomized weight tensors to minimize file size while preserving computational structure.",
"containedIn": {
"@id": "hf-repository"
},
"encodingFormat": "application/x-tar",
"includes": "onnx-graphs/*.tar.gz"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"name": "profiling-archives",
"description": "Profiling archives for 190 source configurations, each profiled on an NVIDIA T4 GPU. Each tar.gz archive contains JSON files with summary statistics (count, mean, median, variance, min, max) for Runtime (ms), Peak VRAM (MB), Peak RAM (MB), etc.",
"field": [
{
"@type": "cr:Field",
"name": "source_config_id",
"description": "Integer ID of the source configuration (archive name without .tar.gz)",
"dataType": "sc:Text",
"source": {
"fileSet": {
"@id": "profiling-archives"
},
"extract": {
"fileProperty": "fullpath"
},
"transform": {
"regex": "profiling/([0-9]+)\\.tar\\.gz"
}
}
},
{
"@type": "cr:Field",
"name": "archive",
"description": "Gzipped tar archive containing profiling JSON files for this source configuration",
"dataType": "sc:URL",
"source": {
"fileSet": {
"@id": "profiling-archives"
},
"extract": {
"fileProperty": "content"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"name": "pyg-feature-archives",
"description": "PyG feature archives. Each tar.gz contains zstandard-compressed PyTorch Geometric Data objects (.pt.zst) encoding a directed dataflow graph with node [N,14], edge [E,18], and graph-level [1,5] features plus [1,2] regression targets (log2 runtime ms, log2 peak VRAM MB).",
"field": [
{
"@type": "cr:Field",
"name": "source_config_id",
"description": "Integer ID of the source configuration (archive name without .tar.gz)",
"dataType": "sc:Text",
"source": {
"fileSet": {
"@id": "pyg-feature-archives"
},
"extract": {
"fileProperty": "fullpath"
},
"transform": {
"regex": "pyg-features/([0-9]+)\\.tar\\.gz"
}
}
},
{
"@type": "cr:Field",
"name": "archive",
"description": "Gzipped tar archive containing PyG .pt.zst files for this source configuration",
"dataType": "sc:URL",
"source": {
"fileSet": {
"@id": "pyg-feature-archives"
},
"extract": {
"fileProperty": "content"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"name": "onnx-graph-archives",
"description": "ONNX graph archives. Each tar.gz contains lightweight ONNX model files (.onnx) with the operator graph topology but without trained weights.",
"field": [
{
"@type": "cr:Field",
"name": "source_config_id",
"description": "Integer ID of the source configuration (archive name without .tar.gz)",
"dataType": "sc:Text",
"source": {
"fileSet": {
"@id": "onnx-graph-archives"
},
"extract": {
"fileProperty": "fullpath"
},
"transform": {
"regex": "onnx-graphs/([0-9]+)\\.tar\\.gz"
}
}
},
{
"@type": "cr:Field",
"name": "archive",
"description": "Gzipped tar archive containing ONNX .onnx files for this source configuration",
"dataType": "sc:URL",
"source": {
"fileSet": {
"@id": "onnx-graph-archives"
},
"extract": {
"fileProperty": "content"
}
}
}
]
}
]
}