AltHub

Lightning-AI/litgpt Alternatives

large language model training and finetuning

LitGPT is a framework for pretraining, finetuning, and deploying large language models at scale, providing from-scratch implementations with support for 20+ LLMs, distributed training, and fine-tuning techniques.

13.7kPythonApache-2.0active ยท last push 28d agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

NVIDIA/Megatron-LMGitHub

specialized large-scale transformer training framework, more complex but powerful for extreme parallelism, not a drop-in replacement

Ongoing research training transformer models at scale

17.7k
Python
NOASSERTION
active1mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

FareedKhan-dev/train-llm-from-scratchGitHub

minimal from-scratch training script for small-scale models, lacks distributed and finetuning features

A straightforward method for training your LLM, from downloading data to generating text.

9.4k
Python
MIT
active2mo ago
jingyaogong/minimindGitHub

lightweight code to train a tiny LLM on a single GPU, not for large-scale use

๐Ÿง  Train a 64M-parameter LLM from scratch in just 2h!

61.7k
Python
Apache-2.0
active24d ago

Listed as an alternative to

These projects were analysed and named litgpt among their alternatives. The relationship is not symmetric โ€” how litgpt rates them is a separate judgement, made when litgpt is analysed in its own right.

oumi-ai/oumiGitHub

calls litgpt โ€œChoose it when you want a lightning-native pretrain/finetune/serve framework with more model recipes but fewer platform orchestration features.โ€

Easily fine-tune, evaluate and deploy Qwen, Gemma, or any open weight LLM!

9.4kPythonactive
unslothai/unslothGitHub

calls litgpt โ€œFor developers who want a scriptable Python/Lightning training and inference library without a GUI.โ€

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.

76.5kPythonactive
hiyouga/LlamaFactoryGitHub

calls litgpt โ€œchoose when you want a lightweight, self-contained PyTorch codebase with pretrain/finetune recipes for a curated set of 20+ open models.โ€

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

74.9kPythonactive
jingyaogong/minimindGitHub

calls litgpt โ€œChoose this if you want a production-grade framework to pretrain/finetune larger LLMs at scale instead of educational from-scratch code.โ€

๐Ÿง  Train a 64M-parameter LLM from scratch in just 2h!

61.7kPythonactive
NVIDIA/Megatron-LMGitHub

calls litgpt โ€œLightning-based training framework with ready-made recipes, simpler than Megatron's custom parallelism.โ€

Ongoing research training transformer models at scale

17.7kPythonactive
modelscope/ms-swiftGitHub

calls litgpt โ€œChoose when you want a lightweight Lightning/Fabric-based pretrain-finetune-serve pipeline for a curated set of LLMs rather than the huge ms-swift model zoo.โ€

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM4.5v, Gemma4, Llava, Phi4, ...) (AAAI 2025).

15.7kPythonactive
PaddlePaddle/PaddleFormersGitHub

calls litgpt โ€œPyTorch/Lightning LLM pretraining/finetuning stack; pick if your stack is PyTorch, not PaddlePaddle.โ€

PaddleFormers is an easy-to-use library of pre-trained large language model zoo based on PaddlePaddle.

13.0kPythonactive
FareedKhan-dev/train-llm-from-scratchGitHub

calls litgpt โ€œChoose when you need a production-grade training/finetuning framework with many model recipes instead of hand-written educational code.โ€

A straightforward method for training your LLM, from downloading data to generating text.

9.4kPythonactive