speedrunning TFM pretraining
See the codeDisclaimer: The training code has gotten a bit crowded. For a simpler starting point, check out commit b0f29b7 (
git log --oneline -- train_nano.py)
This repository hosts the nanoTabPFN speedrun, in which we (collaboratively|competitively) search for the fastest way to use 1 NVIDIA L40S to train a tabular foundation model (nanoTabPFN) that beats Random Forest on TabArena datasets.
The code is derived from nanoTabPFN with the inspiration of modded-nanogpt.
This repo now contains a training algorithm which attains the target performance in:
This improvement in training speed has been brought about by the following techniques:
To run the current record, run the following commands.
git clone https://github.com/borawhocodess/modded-nanotabpfn.git
cd modded-nanotabpfn
uv sync
./run.sh
The following is the historical progression of speed records for the following competitive task:
Pretrain a neural network to ≤0.8068462330697953 validation average ROC AUC on subsampled TabArena using 1 NVIDIA L40S.
Note: The 0.8068462330697953 target was selected to match the performance of Random Forest on the same subsampled TabArena evaluation.
| # | Record time | Date | Description | Links | Contributors |
|---|---|---|---|---|---|
| 1 | 74.32 minutes | 31/01/26 | Baseline | log,read,X | @borawhocodess, nanotabpfn contributors |
| 2 | 54.41 minutes | 02/02/26 | Muon optimizer | log,read,PR,X | @borawhocodess |
| 3 | 10.10 minutes | 04/02/26 | SDPA, bf16, higher LR, wider embeddings, fewer heads | log,read,PR,X | @carterprince |
| 4 | 9.26 minutes | 08/02/26 | Batched Muon, compiled forward | log,read,PR,X | @carterprince |
| 5 | 7.57 minutes | 16/03/26 | Exponential decay of residual stream | log,read,PR,X | @borawhocodess |
| 6 | 3.88 minutes | 28/03/26 | RMSNorm, ThinkingRows | log,read,PR,X | @borawhocodess |
| 7 | 3.48 minutes | 02/04/26 | LAWA, AdamW weight decay | log,read,PR,X | @borawhocodess |
| 8 | 2.15 minutes | 11/04/26 | Repeated feature grouping | log,read,PR,X | @borawhocodess |
| 9 | 0.92 minutes | 06/05/26 | autoresearch HPO, Muon weight decay, mean feature pooling | log,read,PR,X | @borawhocodess |
| 10 | 0.79 minutes | 15/08/26 | Shape-grouped Newton-Schulz, producer-thread dataloader, single datapoint SDPA | log,read,PR,X | @tjeong117 |
New records must:
Other than that, anything and everything is fair game!
Evaluation is on all of 38 TabArena classification tasks.
This repo now has an accompanying paper, Speedrunning Tabular Foundation Model Pretraining (arXiv), accepted (OpenReview) at the FM4SD workshop at ICML 2026.
@misc{ozturk2026speedrunningtabularfoundationmodel,
title={Speedrunning Tabular Foundation Model Pretraining},
author={Salih Bora Ozturk and Alexander Pfefferle and Frank Hutter},
year={2026},
eprint={2606.03681},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2606.03681},
}
torch.nn.functional.scaled_dot_product_attention.torch.autocast).torch.set_float32_matmul_precision.torch.compile.500 commits
Python
45.6%
TeX
35.4%
HTML
14.5%
BibTeX Style
4.3%
speedrunning TFM pretraining
See the codeDisclaimer: The training code has gotten a bit crowded. For a simpler starting point, check out commit b0f29b7 (
git log --oneline -- train_nano.py)
This repository hosts the nanoTabPFN speedrun, in which we (collaboratively|competitively) search for the fastest way to use 1 NVIDIA L40S to train a tabular foundation model (nanoTabPFN) that beats Random Forest on TabArena datasets.
The code is derived from nanoTabPFN with the inspiration of modded-nanogpt.
This repo now contains a training algorithm which attains the target performance in:
This improvement in training speed has been brought about by the following techniques:
To run the current record, run the following commands.
git clone https://github.com/borawhocodess/modded-nanotabpfn.git
cd modded-nanotabpfn
uv sync
./run.sh
The following is the historical progression of speed records for the following competitive task:
Pretrain a neural network to ≤0.8068462330697953 validation average ROC AUC on subsampled TabArena using 1 NVIDIA L40S.
Note: The 0.8068462330697953 target was selected to match the performance of Random Forest on the same subsampled TabArena evaluation.
| # | Record time | Date | Description | Links | Contributors |
|---|---|---|---|---|---|
| 1 | 74.32 minutes | 31/01/26 | Baseline | log,read,X | @borawhocodess, nanotabpfn contributors |
| 2 | 54.41 minutes | 02/02/26 | Muon optimizer | log,read,PR,X | @borawhocodess |
| 3 | 10.10 minutes | 04/02/26 | SDPA, bf16, higher LR, wider embeddings, fewer heads | log,read,PR,X | @carterprince |
| 4 | 9.26 minutes | 08/02/26 | Batched Muon, compiled forward | log,read,PR,X | @carterprince |
| 5 | 7.57 minutes | 16/03/26 | Exponential decay of residual stream | log,read,PR,X | @borawhocodess |
| 6 | 3.88 minutes | 28/03/26 | RMSNorm, ThinkingRows | log,read,PR,X | @borawhocodess |
| 7 | 3.48 minutes | 02/04/26 | LAWA, AdamW weight decay | log,read,PR,X | @borawhocodess |
| 8 | 2.15 minutes | 11/04/26 | Repeated feature grouping | log,read,PR,X | @borawhocodess |
| 9 | 0.92 minutes | 06/05/26 | autoresearch HPO, Muon weight decay, mean feature pooling | log,read,PR,X | @borawhocodess |
| 10 | 0.79 minutes | 15/08/26 | Shape-grouped Newton-Schulz, producer-thread dataloader, single datapoint SDPA | log,read,PR,X | @tjeong117 |
New records must:
Other than that, anything and everything is fair game!
Evaluation is on all of 38 TabArena classification tasks.
This repo now has an accompanying paper, Speedrunning Tabular Foundation Model Pretraining (arXiv), accepted (OpenReview) at the FM4SD workshop at ICML 2026.
@misc{ozturk2026speedrunningtabularfoundationmodel,
title={Speedrunning Tabular Foundation Model Pretraining},
author={Salih Bora Ozturk and Alexander Pfefferle and Frank Hutter},
year={2026},
eprint={2606.03681},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2606.03681},
}
torch.nn.functional.scaled_dot_product_attention.torch.autocast).torch.set_float32_matmul_precision.torch.compile.500 commits
Python
45.6%
TeX
35.4%
HTML
14.5%
BibTeX Style
4.3%