LLM Pre-Training Tools

Free, open-source code to pre-train language models from scratch: tiny single-GPU harnesses for learning, large-scale distributed training frameworks, and the kernels and data loaders they rely on.

17 links checked · Last updated Dec 3, 2026 · Independent list, not affiliated with any project listed

Small & educational training harnesses

Large-scale training frameworks

Kernels & data loading

Every link goes to the project's own GitHub repo or official site. Check each project's license and docs before you use it. Licenses are as reported by GitHub or the repo's README/LICENSE on Dec 3, 2026. Pre-training needs a lot of GPU time, so start with the small harnesses; free GPU options are on freegpunotebooks. Megatron-LM, torchtitan, litgpt, DeepSpeed and Liger-Kernel are on llmfinetuningtools, and data pipelines are on llmdatasettools.