Closed merrymercy closed 3 years ago
dataset_v3.1.zip
following the instructions above.python3 make_dataset.py --preset batch-size-1 --sample-in-files 500
python3 train_model.py
python3 tune_network.py --network resnet_50 --n-trials 100 --target "llvm -mcpu=skylake-avx512" --cost-model xgb-no-update --load-model xgb.pkl
Folder | Hardware platform | VM instance type |
---|---|---|
platinum-8272 | Intel platinum-8272 | Azure D32s_v4 |
e5-2673 | Intel e5-2673 | Azure F16s |
epyc-7452 | AMD epyc-7452 | Azure D16as_v4 |
k80 | NVIDIA K80 | AWS p2 |
The dataset file is not available for download now.
@catmaohphp This issue is outdated. see https://github.com/tlc-pack/tenset/blob/main/docs/get_started_with_cost_model_experiments.md
Thank you for your quick response!
Get started
This tutorial contains a minimal example of training a cost model and using it for search.
Dataset
Install and Download
dataset_v3.1.zip
undertvm-cost-model/scripts
and rununzip dataset_v3.1.zip
A new folderdataset
will appear intvm-cost-model/scripts
.Dataset Content
see this readme
Example experiment
Train a cost model and use it for search
Go to
tvm-cost-model/scripts
.References