TenSet: 一个用于学习型张量编译器的大规模程序性能数据集 TenSet 是一个大规模的多平台张量程序性能数据集,用于研究张量编译器的性能。
TenSet: 一个用于学习型张量编译器的大规模程序性能数据集 TenSet 是一个大规模的多平台张量程序性能数据集,用于研究张量编译器的性能。
TenSet is a large-scale multi-platform tensor program performance dataset. TenSet contains 52 million program performance records collected from 6 hardware platforms. This repo is based on a fork of TVM.
Statics
| Item | Number |
|---|---|
| Networks | 120 |
| Hardware Platforms | 6 |
| Tasks | 13,848 |
| Measurement records | 51,577,248 |
Hardware Platforms
| Hardware Platform | Cloud Instance | Other Comments |
|---|---|---|
| Intel Platinum 8272CL @ 2.60GHz (16 cores) | Azure D32s_v4 | AVX-512 |
| Intel E5-2673 v4 @ 2.30GHz (8 cores) | Azure F16s | AVX-2 |
| AMD EPYC 7452 @ 2.35GHz (4 cores) | Azure D16as_v4 | AVX-2 |
| ARM Graviton2 (16 cores) | AWS c6g.4xlarge | Neon |
| NVIDIA Tesla K80 | AWS p2.xlarge | Kepler Architecture |
| NVIDIA Tesla T4 | AWS g4dn.xlarge | Turing Architecture |
Follow the above tutorial to download the dataset. The dataset is stored under tenset/scripts/dataset folder.
dataset/network_info: The metadata for networks*.relay.pkl: The relay IR of a network. One network per file.(resnet_50,[(1,3,224,224)]).relay.pkl contains the relay IR of resnet_50 with input shape (1, 3, 224, 224).*.task.pkl: The tasks and their weights in a network. One (network, targte) pair per file.((resnet_50,[(1,3,224,224)]),llvm).task.pkl contains all tasks of resnet_50 on llvm backend.all_tasks.pkl: A file containing all tasks. It is used an an index for all tasks.dataset/to_measure_programs: The generated random programs for measurement.*.json: The randomly generated programs (schedules) for measurement. One file per task.dataset/measure_records: Collected measurement records.e5-2666/*.json: measurement records collected on an Intel e5-2673. One file per task.platinum-8272/*.json: measurement records collected on an Intel platinum-8272. One file per task....: other hardware platformsFollow the above tutorial to download the dataset. You can then inspect the tasks and programs in the dataset
Print a task
cd scripts
python3 print_all_tasks.py --idx 1264output:
…Print a program
cd scripts
python3 print_programs.py --filename 'dataset/measure_records/e5-2673/([12b88bedece6984af589a28b43e0f3c4,1,56,56,64,3,3,64,128,1,1,1,128,1,28,28,128],llvm).json' --idx 31output:
…@inproceedings{zheng2021tenset,
title={Tenset: A large-scale program performance dataset for learned tensor compilers},
author={Zheng, Lianmin and Liu, Ruochen and Shao, Junru and Chen, Tianqi and Gonzalez, Joseph E and Stoica, Ion and Ali, Ameer Haj},
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1)},
year={2021}
}The code is licensed under an Apache-2.0 license.
The dataset is licensed under a CC BY 4.0 license.
暂无开放 Issues,或尚未同步最近议题。