The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1520, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 130, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 34, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1405, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 982, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 786, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1382, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1560, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
pt unknown | __key__ string | __url__ string |
|---|---|---|
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAcAAYAcGxhY2VfRF9oZXRlcm9ncmFwaC9kYXRhLnBrbEZCAgBaWoAElRoIAAAAAAA(...TRUNCATED) | DATE/placement/heterogeneous_graphs/placement_view_d_heterogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-hete(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAcAAYAcGxhY2VfQl9oZXRlcm9ncmFwaC9kYXRhLnBrbEZCAgBaWoAElW8HAAAAAAA(...TRUNCATED) | DATE/placement/heterogeneous_graphs/placement_view_b_heterogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-hete(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAcAAYAcGxhY2VfRV9oZXRlcm9ncmFwaC9kYXRhLnBrbEZCAgBaWoAElcMHAAAAAAA(...TRUNCATED) | DATE/placement/heterogeneous_graphs/placement_view_e_heterogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-hete(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAcAAYAcGxhY2VfQ19oZXRlcm9ncmFwaC9kYXRhLnBrbEZCAgBaWoAElY8GAAAAAAA(...TRUNCATED) | DATE/placement/heterogeneous_graphs/placement_view_c_heterogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-hete(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAcAAYAcGxhY2VfRl9oZXRlcm9ncmFwaC9kYXRhLnBrbEZCAgBaWoAElYQGAAAAAAA(...TRUNCATED) | DATE/placement/heterogeneous_graphs/placement_view_f_heterogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-hete(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAaAAgAcGxhY2VfRl9ob21vZ3JhcGgvZGF0YS5wa2xGQgQAWlpaWoAElYUFAAAAAAA(...TRUNCATED) | DATE/placement/homogeneous_graphs/placement_view_f_homogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-homo(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAaAAgAcGxhY2VfQl9ob21vZ3JhcGgvZGF0YS5wa2xGQgQAWlpaWoAElYsEAAAAAAA(...TRUNCATED) | DATE/placement/homogeneous_graphs/placement_view_b_homogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-homo(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAaAAgAcGxhY2VfRF9ob21vZ3JhcGgvZGF0YS5wa2xGQgQAWlpaWoAElYUFAAAAAAA(...TRUNCATED) | DATE/placement/homogeneous_graphs/placement_view_d_homogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-homo(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAaAAgAcGxhY2VfRV9ob21vZ3JhcGgvZGF0YS5wa2xGQgQAWlpaWoAElXgFAAAAAAA(...TRUNCATED) | DATE/placement/homogeneous_graphs/placement_view_e_homogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-homo(...TRUNCATED) |
"UEsDBAAACAgAAAAAAAAAAAAAAAAAAAAAAAAaAAgAcGxhY2VfQ19ob21vZ3JhcGgvZGF0YS5wa2xGQgQAWlpaWoAElccEAAAAAAA(...TRUNCATED) | DATE/placement/homogeneous_graphs/placement_view_c_homogeneous_graph | "hf://datasets/yangaonjust/R2G@3a8108ffa69809d111db91f146ddd502599b3e1c/data/r2g-date-placement-homo(...TRUNCATED) |
R2G DATE Graph Dataset
R2G is a multi-view circuit graph benchmark suite from RTL to GDSII. This dataset repository provides the ready-to-train DATE graph artifacts for placement and routing tasks in both heterogeneous and homogeneous graph formats.
The graph artifacts are distributed as compressed archives containing PyTorch
Geometric .pt files. See the R2G GitHub repository for data generation code,
training scripts, and benchmark details:
- GitHub: https://github.com/ShenShan123/R2G
- arXiv: https://arxiv.org/abs/2604.08810
- GitHub Release mirror: https://github.com/ShenShan123/R2G/releases/tag/date-graph-dataset-v1.0
Files
data/
βββ r2g-date-placement-heterogeneous-graphs.tar.gz
βββ r2g-date-placement-homogeneous-graphs.tar.gz
βββ r2g-date-routing-heterogeneous-graphs.tar.gz
βββ r2g-date-routing-homogeneous-graphs.tar.gz
Each archive extracts into a stable DATE/ tree:
DATE/
βββ placement/
β βββ heterogeneous_graphs/
β βββ homogeneous_graphs/
βββ routing/
βββ heterogeneous_graphs/
βββ homogeneous_graphs/
See MANIFEST.tsv for the file-level mapping and SHA256SUMS for checksums.
Download
from huggingface_hub import snapshot_download
dataset_dir = snapshot_download(
repo_id="yangaonjust/R2G",
repo_type="dataset",
)
print(dataset_dir)
To download a single archive:
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="yangaonjust/R2G",
repo_type="dataset",
filename="data/r2g-date-placement-heterogeneous-graphs.tar.gz",
)
print(path)
After extracting an archive, load a graph artifact with PyTorch:
import torch
graph = torch.load("DATE/placement/heterogeneous_graphs/placement_view_b_heterogeneous_graph.pt")
print(graph)
Citation
If you use this dataset, please cite the R2G paper:
@misc{r2g2026,
title = {R2G: A Multi-View Circuit Graph Benchmark Suite from RTL to GDSII},
year = {2026},
eprint = {2604.08810},
archivePrefix = {arXiv}
}
- Downloads last month
- 40