Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | H A D | 25-Apr-2025 | 782 | 15 | 9 | |
gen_data_pad_mm.py | H A D | 25-Apr-2025 | 4.6 KiB | 150 | 117 | |
gen_pad_mm_a100.sh | H A D | 25-Apr-2025 | 111 | 6 | 2 | |
gen_pad_mm_h100.sh | H A D | 25-Apr-2025 | 111 | 6 | 2 | |
generate_heuristic_pad_mm.sh | H A D | 25-Apr-2025 | 959 | 31 | 15 | |
get_padmm_dataset.sh | H A D | 25-Apr-2025 | 199 | 9 | 6 | |
test_pad_mm.py | H A D | 25-Apr-2025 | 5.5 KiB | 138 | 120 | |
train_decision_pad_mm.py | H A D | 25-Apr-2025 | 752 | 28 | 17 | |
train_pad_mm.py | H A D | 25-Apr-2025 | 725 | 28 | 17 | |
train_regression_pad_mm.py | H A D | 25-Apr-2025 | 717 | 28 | 17 |
README.md
1If you just want to re-generate existing heuristics with already collected data for pad_mm for A100, run the following scripts: 2 3`bash get_padmm_dataset.sh # Downloads A100` 4`bash gen_pad_mm_a100.sh # Generates A100 heuristic` 5 6If you want to collect new data, or generate a heuristic for another GPU, use the `generate_heuristic_pad_mm.sh` script: 7First, go into the generate_heuristic_mm.sh and modify the variables according to the comments. Then, run the script to perform benchmarks and collect training data: 8 9`bash generate_heuristic_pad_mm.sh collect` 10 11This will collect training data on random inputs. Depending on how many GPUs you are using, this might take a day. 12Afterwards, run the script in order to learn the heuristic: 13 14`bash generate_heuristic_pad_mm.sh generate` 15