Training and fine-tuning

Tools to fine-tune, train or distill models on your own data and GPUs, from LoRA scripts to full training stacks.

peft leads with 91, ahead of trl (91) and megatron-lm (89). 126 projects ranked by score. Updated from public GitHub data.

Same topic: Model serving (129, parts to build with) · Open models (190, parts to build with) · ML frameworks and libraries (433, parts to build with) · Gateways and observability (87, parts to build with). All categories

The ranking

Training and fine-tuning: full ranking
RankProjectAdoptionFreshnessMaintenanceAgent-readyScore
1peftPython library for LoRA and other parameter-efficient fine-tuning methods Live demo ↗ (opens in a new tab)21.9k starsApache-2.0last commit Nov 202690100897091 out of 100
2trlPython library for post-training LLMs with SFT, DPO, GRPO and KTO19.9k starsApache-2.0last commit Nov 202689100917091 out of 100
3megatron-lmNVIDIA's library for training large transformer models across many GPUs18.6k starscustom licenselast commit Nov 202687100808589 out of 100
#4unslothDesktop and web app to run and fine-tune local models Live demo ↗ (opens in a new tab)80.5k starsApache-2.0last commit Nov 20269910096088 out of 100
#5deepspeedPyTorch library for distributed training of very large models with ZeRO43.4k starsApache-2.0last commit Nov 202695100824588 out of 100
#6axolotlYAML-driven framework for fine-tuning and post-training LLMs Live demo ↗ (opens in a new tab)12.8k stars+123 (+1.0%) in 30 daysApache-2.0last commit Nov 202682100887088 out of 100
#7soupCLI for fine-tuning and post-training LLMs from a single YAML config10.9k starsApache-2.0last commit Nov 202680100963086 out of 100
#8ms-swiftFine-tuning, RLHF, quantization and deployment framework for 1,000+ open LLMs16.2k starsApache-2.0last commit Nov 202685100893085 out of 100
#9verlRL post-training library for LLMs with PPO, GRPO, FSDP and Megatron24.4k starsApache-2.0last commit Nov 202691100608584 out of 100
#10wecloneBuilds a life portrait from chat history and fine-tunes a personal chat clone18.4k starsAGPL-3.0last commit Nov 20268710093084 out of 100
#11artPython RL framework that trains LLM agents with GRPO from rollout rewards10.9k stars+55 (+0.5%) in 30 daysApache-2.0last commit Nov 202679100835584 out of 100
#12torchtitanPyTorch-native training stack for pretraining, fine-tuning and RL of large models6k stars+148 (+2.5%) in 30 daysBSD-3-Clauselast commit Nov 202666100914582 out of 100
#13openrlhfRay and vLLM based RLHF training framework for LLMs and VLMs10.2k starsApache-2.0last commit Nov 202678100764581 out of 100
#14model-optimizerPython library for quantizing, pruning and distilling models for NVIDIA inference5.7k starsApache-2.0last commit Nov 202663100808581 out of 100
#15marinPython platform for training LLMs from data curation through evaluation4.2k stars+131 (+3.2%) in 30 daysApache-2.0last commit Nov 202654100868581 out of 100
#16agent-lightningReinforcement learning framework for training agents through a model proxy19k starsMITlast commit Nov 20268810078080 out of 100
#17simpletunerFine-tuning toolkit for diffusion image, video and audio models, with a web UI3k starsAGPL-3.0last commit Nov 202644100997080 out of 100
#18oumiCLI and Python toolkit for fine-tuning, evaluating and deploying foundation models9.4k starsApache-2.0last commit Nov 202677100637079 out of 100
#19arealAsynchronous reinforcement learning system for training reasoning and agentic LLMs5.9k stars+65 (+1.1%) in 30 daysApache-2.0last commit Nov 202666100698579 out of 100
#20liger-kernelTriton kernels that cut memory and raise throughput for LLM training6.7k starsBSD-2-Clauselast commit Nov 202670100764578 out of 100
#21sagemaker-python-sdkPython SDK for training, fine-tuning and deploying models on Amazon SageMaker2.3k starsApache-2.0last commit Nov 202632100998578 out of 100
#22h2o-llmstudioNo-code GUI and CLI for fine-tuning LLMs with LoRA and DPO5.2k starsApache-2.0last commit Nov 20266010096077 out of 100
#23llamafactoryFine-tuning toolkit for 100+ LLMs with a CLI and Gradio web UI Live demo ↗ (opens in a new tab)76.3k starsApache-2.0last commit Nov 202698100385576 out of 100
#24fingptLoRA fine-tuned financial LLMs, datasets and notebooks for sentiment and forecasting Live demo ↗ (opens in a new tab)21.7k starsMITlast commit Nov 2026909564075 out of 100
#25rlinfDistributed RL training framework for robot VLA policies and LLM agents5.7k starsApache-2.0last commit Nov 202663100608575 out of 100
#26fractalworkspaceFederated training and split-model inference across Android phones9.2k stars+1,527 (+20%) in 30 dayscustom licenselast commit Nov 20267610070074 out of 100
#27swanlabExperiment tracking and dashboards for ML training runs Live demo ↗ (opens in a new tab)4.4k starsApache-2.0last commit Nov 20265610090074 out of 100
#28lightlyPyTorch library for self-supervised vision pretraining and latent world models3.8k starsMITlast commit Nov 202651100834074 out of 100
#29auto-roundPost-training quantization toolkit for LLMs and VLMs, with GGUF and GPTQ/AWQ export1.7k starsApache-2.0last commit Nov 202622100928573 out of 100
#30talosHyperparameter sweeps for Keras, TensorFlow and PyTorch models1.6k starsMITlast commit Nov 2026191001007073 out of 100
#31skilloptTrains agent skill documents against a frozen model with validation-gated edits Live demo ↗ (opens in a new tab)19.4k starsMITlast commit Nov 20268810053072 out of 100
#32llm-compressorPython library that quantizes and prunes Hugging Face models for vLLM4k stars+70 (+1.8%) in 30 daysApache-2.0last commit Nov 20265310087072 out of 100
#33maxtextJAX library for pre-training and post-training LLMs on TPUs and GPUs2.5k starsApache-2.0last commit Nov 202636100933072 out of 100
#34mergekitMerge pre-trained language models in weight space from YAML configs7.5k starsLGPL-3.0last commit Oct 20267210063071 out of 100
#35veomniPyTorch distributed training framework for text, vision-language and omni models2.3k starsApache-2.0last commit Nov 202633100797071 out of 100
#36trainerKubernetes operator for distributed training and LLM fine-tuning jobs2.3k starsApache-2.0last commit Nov 202633100807071 out of 100
#37milesRL post-training framework pairing SGLang rollout with Megatron-LM training3.4k stars+192 (+5.9%) in 30 daysApache-2.0last commit Nov 202648100704570 out of 100
#38prime-rlAsynchronous RL trainer for large LLMs, built on FSDP2 and vLLM2.3k starsApache-2.0last commit Nov 202632100854570 out of 100
#39minimindTrain a 64M-parameter LLM from scratch in plain PyTorch Live demo ↗ (opens in a new tab)72.8k starsApache-2.0last commit Nov 2026988152069 out of 100
#40slimeRL post-training framework connecting Megatron training with SGLang rollout8.9k starsApache-2.0last commit Nov 202675100511569 out of 100
#41getiPlatform for annotating, training and deploying computer vision models1.4k starsApache-2.0last commit Nov 202614100888569 out of 100
#42colossalaiDistributed training library for large models with many parallelism strategies Live demo ↗ (opens in a new tab)41.4k starsApache-2.0last commit Nov 2026957062068 out of 100
#43litgptPyTorch LLM implementations with CLI recipes to pretrain, finetune and serve13.8k starsApache-2.0last commit Nov 20268310043068 out of 100
#44verl-omniRL post-training framework for diffusion and omni-modal models, built on verl1.6k starsApache-2.0last commit Nov 202618100808568 out of 100
#45nnunetSelf-configuring U-Net framework for biomedical image segmentation9.1k starsApache-2.0last commit Nov 20267670634067 out of 100
#46saelensPython library for training and analysing sparse autoencoders on language models1.6k starsMITlast commit Nov 202618100944067 out of 100
#47gymLibrary for evaluating and RL-training agents in verifiable environments1.4k starsApache-2.0last commit Nov 202613100818567 out of 100
#48pytorch/ignitePyTorch library for training and evaluating models with engines, events and metrics Live demo ↗ (opens in a new tab)4.8k starsBSD-3-Clauselast commit Nov 202658100513066 out of 100
#49gptqmodelPython toolkit for quantizing LLMs with GPTQ, AWQ, EXL3 and more1.3k starscustom licenselast commit Nov 2026101001003066 out of 100
#50ludwigYAML-configured training and fine-tuning for LLMs, multimodal and tabular models11.8k starsApache-2.0last commit Nov 20268110037065 out of 100
#51ml-agentsTrain game agents with reinforcement learning inside Unity environments19.9k starscustom licenselast commit Oct 2026897747064 out of 100
#52medicalgptTraining scripts for medical LLMs: pretraining, SFT, RLHF, DPO, GRPO5.9k starsApache-2.0last commit Sep 2026659651064 out of 100
#53rlRay-based RL post-training library for LLMs and VLMs2.2k starsApache-2.0last commit Nov 202631100558564 out of 100
#54transformerlab-appML research workbench for training, fine-tuning, evaluating and chatting with models Live demo ↗ (opens in a new tab)5.2k starsAGPL-3.0last commit Aug 20266094278562 out of 100
#55polyaxonKubernetes platform for tracking, running and tuning machine learning experiments3.8k starsApache-2.0last commit Nov 20265110056062 out of 100
#56rollRay-based reinforcement learning library for post-training LLMs on GPU clusters3.5k starsApache-2.0last commit Nov 202648100444062 out of 100
#57microduck_rlPPO training environments for the Microduck biped robot3k stars+234 (+8.5%) in 30 daysApache-2.0last commit Nov 202644100387062 out of 100
#58lycorisParameter-efficient fine-tuning library with LoRA, LoHa and LoKr for Stable Diffusion2.5k starsApache-2.0last commit Oct 20263710071062 out of 100
#59automodelPyTorch-native fine-tuning and pretraining for Hugging Face LLMs, VLMs and diffusion1.1k starsApache-2.0last commit Nov 20264100708561 out of 100
#60rl-baselines3-zooTraining and tuning scripts with tuned hyperparameters for Stable Baselines3 Live demo ↗ (opens in a new tab)2.9k starsMITlast commit Nov 20264210058060 out of 100
#61setfitFew-shot text classification by fine-tuning Sentence Transformers, no prompts2.9k starsApache-2.0last commit Oct 20264110060060 out of 100
#62rllmRL training framework for language agents, on any harness or sandbox5.9k starsApache-2.0last commit Nov 2026659730058 out of 100
#63easyeditPython toolkit for editing facts and behavior in LLMs without retraining Live demo ↗ (opens in a new tab)2.9k starsMITlast commit Nov 20264310051058 out of 100
#64gpt-neoxEleutherAI's Megatron/DeepSpeed library for pretraining large language models7.5k starsApache-2.0last commit Nov 2026727046056 out of 100
#65deepmd-kitTrain and fine-tune machine-learning interatomic potentials for molecular dynamics2.1k starsLGPL-3.0last commit Nov 202629100463056 out of 100
#66lightly-trainPython library for pretraining, distilling and fine-tuning computer vision models1.7k starsAGPL-3.0last commit Nov 20262310064056 out of 100
#67torchdistillYAML-configured PyTorch framework for knowledge distillation experiments Live demo ↗ (opens in a new tab)1.6k starsMITlast commit Nov 20262010067056 out of 100
#68nanochatMinimal PyTorch codebase to train and chat with a small GPT-2-class LLM61k starsMITlast commit Jul 2026977941555 out of 100
#69alignment-handbookTraining scripts and YAML recipes for SFT, DPO and ORPO of LLMs5.7k starsApache-2.0last commit Sep 20266310020055 out of 100
#70xtunerTraining engine for fine-tuning and RL of large MoE and dense LLMs5.2k starsApache-2.0last commit Nov 20266073471555 out of 100
#71reagentArchived Meta platform for offline reinforcement learning on PyTorch3.7k starsBSD-3-Clauselast commit Nov 20265010032055 out of 100
#72lmflowToolbox for full, LoRA and LISA finetuning of large language models8.5k starsApache-2.0last commit Aug 2026746733052 out of 100
#73onetrainerTraining tool for fine-tuning and LoRA of diffusion models, with GUI and CLI3.3k starsAGPL-3.0last commit Nov 20264610027052 out of 100
#74dlroverFault-tolerant, auto-scaling distributed training on Kubernetes or Ray1.7k starscustom licenselast commit Nov 2026218864052 out of 100
#75the_wellPyTorch datasets and benchmarks of physics simulations for PDE surrogate models4.6k stars+120 (+2.7%) in 30 daysBSD-3-Clauselast commit Oct 2026578326050 out of 100
#76angelslimQuantization, speculative decoding and sparse attention toolkit for compressing LLMs1.8k starscustom licenselast commit Nov 20262510041050 out of 100
#77easy-datasetTurns documents into LLM fine-tuning and evaluation datasets15.1k starscustom licenselast commit May 2026846443049 out of 100
#78specforgeTraining framework for speculative decoding draft models used with SGLang1.3k starsMITlast commit Nov 20261110052049 out of 100
#79xturingPython library for LoRA and INT8/INT4 fine-tuning of open LLMs2.7k starsApache-2.0last commit Sep 2026397047047 out of 100
#80tensorflow-federatedFederated learning and analytics framework for decentralized data, built on TensorFlow2.5k starsApache-2.0last commit Nov 2026357050047 out of 100
#81deepspecTraining and evaluation code for speculative-decoding draft models7.3k starsMITlast commit Jul 202671810046 out of 100
#82text-to-text-transfer-transformerReference code for the T5 text-to-text transformer, with dataset and training tooling Live demo ↗ (opens in a new tab)6.6k starsApache-2.0last commit Oct 2026697016046 out of 100
#83torchtunePyTorch library of LLM fine-tuning recipes driven by YAML configs5.8k starsBSD-3-Clauselast commit Nov 2026647016045 out of 100
#84easyr1RL post-training framework for LLMs and vision-language models, forked from veRL5.2k starsApache-2.0last commit Nov 2026607911045 out of 100
#85stable-audio-toolsTraining and inference code for diffusion-based audio generation models3.9k starsMITlast commit May 2026536533045 out of 100
#86axlearnJAX-based library for training large-scale deep learning models2.4k starsApache-2.0last commit Jul 2026348033044 out of 100
#87opacusPyTorch library for training models with DP-SGD differential privacy2k starsApache-2.0last commit Sep 2026279822044 out of 100
#88paddlenlpLLM training, fine-tuning, compression and inference toolkit on PaddlePaddle13k starsApache-2.0last commit May 2026824513042 out of 100
#89ml-hypersimSynthetic indoor-scene dataset with per-pixel labels, plus a V-Ray rendering toolkit2.1k starscustom licenselast commit Sep 20262910010042 out of 100
#90qwen-vl-series-finetuneFine-tuning scripts for Qwen2-VL, Qwen2.5-VL, Qwen3-VL and Qwen3.52k starsApache-2.0last commit Sep 20262710010041 out of 100
#91vlm-r1GRPO reinforcement-learning training for Qwen2.5-VL and InternVL models Live demo ↗ (opens in a new tab)6k starsApache-2.0last commit Jul 2026675611040 out of 100
#92nanotronLibrary for pretraining transformer models with 3D parallelism2.9k starsApache-2.0last commit Oct 2026417020040 out of 100
#93openclaw-rlAsynchronous RL framework that trains agents from live conversation feedback5.8k starsApache-2.0last commit May 202664640038 out of 100
#94autodistillLabel images with foundation models, then train small YOLO or DETR detectors Live demo ↗ (opens in a new tab)2.8k starsApache-2.0last commit Sep 2026407016038 out of 100
#95privacyDifferentially private optimizers and privacy analysis tools for TensorFlow models2k starsApache-2.0last commit Nov 2026287021036 out of 100
#96trainingMLPerf Training reference implementations for LLM, image and recommendation benchmarks1.8k starsApache-2.0last commit Oct 2026237028036 out of 100
#97katibKubernetes-native hyperparameter tuning and architecture search, now deprecated1.7k starsApache-2.0last commit Nov 2026218216036 out of 100
#98predict_lottery_ticketLSTM-CRF scripts that train and predict Chinese lottery numbers Live demo ↗ (opens in a new tab)1.1k starsno licenselast commit Nov 2026410049036 out of 100
#99karpathy/autoresearchAgent loop that edits a small GPT training script and keeps changes that lower val_bpb100.8k starsno licenselast commit Mar 202699438035 out of 100
#100snorkelPython library for programmatic labeling of machine learning training data6k starsApache-2.0last commit Apr 2026673417035 out of 100
#101modelzooReference model implementations and training CLI for Cerebras hardware1.2k starsApache-2.0last commit Sep 202681007034 out of 100
#102flagaiPyTorch toolkit for training and fine-tuning Chinese and English language models3.9k starsApache-2.0last commit Jul 202652580033 out of 100
#103plexeAgentic AutoML that builds tabular ML models from a plain-language intent Live demo ↗ (opens in a new tab)2.7k starsApache-2.0last commit Mar 2026384707033 out of 100
#104adaptersParameter-efficient fine-tuning add-on for HuggingFace Transformers models2.8k starsApache-2.0last commit Apr 202641650032 out of 100
#105graphgenKnowledge-graph-guided synthetic QA data generator for fine-tuning LLMs Live demo ↗ (opens in a new tab)1.2k starsApache-2.0last commit Nov 202698017032 out of 100
#106fairseq2PyTorch toolkit for training and fine-tuning sequence models such as LLMs and speech1.2k starsMITlast commit Sep 20266947032 out of 100
#107roboflow/maestroFine-tuning CLI and Python SDK for vision-language models2.7k starsApache-2.0last commit Jul 202639610030 out of 100
#108ttt-video-ditFine-tuning code for CogVideoX-5B with TTT layers for 63-second videos2.5k starsMITlast commit Feb 2026363233030 out of 100
#109mlx-tuneFine-tune LLMs, VLMs, speech and embedding models on Apple Silicon1.5k starsApache-2.0last commit Jun 202616820029 out of 100
#110finetrainersTraining library for LoRA and full finetuning of video and image diffusion models1.4k starsApache-2.0last commit Sep 2026137011028 out of 100
#111hugectrGPU framework for training large recommender models with huge embedding tables1.1k starsApache-2.0last commit Aug 20263860027 out of 100
#112search-r1RL framework that trains LLMs to interleave reasoning with search engine calls5.6k starsApache-2.0last commit Nov 2025no commits in a year62017024 out of 100
#113augmentoolkitGenerates training datasets from your documents and fine-tunes domain-expert LLMs1.9k starsMITlast commit Jun 202626540024 out of 100
#114tinyengramResearch code for Engram N-gram memory modules in Qwen and Stable Diffusion1.3k starsno licenselast commit May 2026126333023 out of 100
#115open-audio-opdOn-policy distillation trainer for compact ASR models, with ARK-ASR-0.6B weights Live demo ↗ (opens in a new tab)1.1k starscustom licenselast commit Jun 20265680022 out of 100
#116whisper-finetuneLoRA fine-tuning scripts for Whisper speech recognition, with fast inference export Live demo ↗ (opens in a new tab)1.2k starsApache-2.0last commit May 20268580020 out of 100
#117learning-at-home/hivemindPyTorch library for training one model across volunteer machines over the Internet2.6k starsMITlast commit Jan 202637270019 out of 100
#118agentevolverRL training framework where agents generate their own tasks and credit signals1.6k starsApache-2.0last commit Mar 202617430018 out of 100
#119voxceleb_trainerPyTorch training framework for speaker recognition on VoxCeleb1.2k starsMITlast commit Apr 20267520018 out of 100
#120modernbertResearch code for pre-training and evaluating ModernBERT encoder models1.8k starsApache-2.0last commit Mar 202624330017 out of 100
#121distilabelPython framework for building synthetic data and AI feedback pipelines3.5k starsApache-2.0last commit Dec 20254940016 out of 100
#122agentflowAgent system with an RL-trained planner, executor, verifier and generator Live demo ↗ (opens in a new tab)2.1k starsMITlast commit Jan 202630210015 out of 100
#123gaussian-splatting-lightningPyTorch Lightning trainer and web viewer for 3D Gaussian Splatting scenes1.1k starscustom licenselast commit May 20265450015 out of 100
#124captcha_trainerTrains CNN+RNN+CTC image captcha recognition models with a GUI config tool3.2k starsApache-2.0last commit Nov 2025no commits in a year4600014 out of 100
#125alphagenReinforcement-learning miner for formulaic stock alpha factors, from a KDD 2023 paper1.3k starsno licenselast commit Jun 202611680014 out of 100
#126doraOfficial PyTorch code for DoRA, a weight-decomposed alternative to LoRA fine-tuning1k starscustom licenselast commit Mar 20261420013 out of 100

Momentum, Verified build, Docs and Privacy are not measured yet; their weight goes to the signals shown. A dash means the signal is not scored for that kind of project. Hover a number for its rating in words.

Reviews

191 out of 100

peft

Python library for LoRA and other parameter-efficient fine-tuning methods

Live demo ↗ (opens in a new tab)21.9k starsApache-2.0last commit Nov 2026

PEFT wraps a pretrained model with adapter methods such as LoRA, soft prompts and IA3 through get_peft_model, so only a small set of extra parameters is trained. Adapters are saved as small checkpoints (19MB versus 11GB for T0_3B in the README) and reloaded with PeftModel.from_pretrained. It integrates with Transformers, Diffusers, Accelerate and TRL, and combines with quantization for QLoRA-style training.

Strengths

  • Adapter checkpoints are a few MB instead of GBs, per the T0_3B and Stable Diffusion examples
  • LoRA trains bigscience/mt0-xxl (12B) in 56GB GPU where full fine-tuning runs out of memory
  • Integrates with Transformers, Diffusers, Accelerate and TRL; installs with pip
  • Combines with quantization, e.g. QLoRA on Llama-2-7b with a 16GB GPU

Weaknesses

  • Library only: no training UI, you write the loop or use Trainer or TRL
  • Transformers integration lacks some PEFT features, such as merging adapters into the base model
  • Models not officially supported need manual target-module configuration
  • lora-t0-3b scored 0.863 versus 0.892 for Flan-T5 in the README's RAFT table
  • GPU optional
  • Docker
  • Needs PyTorch, Transformers
  • Models: LoRA, Soft prompts, IA3, Transformers models, Stable Diffusion
291 out of 100

trl

Python library for post-training LLMs with SFT, DPO, GRPO and KTO

19.9k starsApache-2.0last commit Nov 2026

TRL provides trainer classes (SFTTrainer, GRPOTrainer, AsyncGRPOTrainer, DPOTrainer, KTOTrainer, RewardTrainer) for post-training Hugging Face Transformers models. It builds on Accelerate for DDP, DeepSpeed and FSDP scaling, and on PEFT for LoRA/QLoRA. A `trl` CLI runs SFT, DPO and KTO without writing code.

Strengths

  • Covers SFT, DPO, KTO, GRPO and reward model training behind one trainer API
  • Scales from one GPU to multi-node via Accelerate, DDP, DeepSpeed ZeRO and FSDP
  • PEFT integration allows LoRA/QLoRA training of large models on modest hardware
  • CLI runs sft, dpo and kto jobs from the shell without code

Weaknesses

  • AsyncGRPOTrainer needs a separate vLLM server on a different GPU than the trainer
  • Features under trl.experimental may change or be removed in any release
  • Tied to the Hugging Face Transformers ecosystem and its model formats
  • accuracy_reward needs the extra math-verify install
  • GPU optional
  • Docker
  • Needs transformers, accelerate, peft, datasets, vllm (AsyncGRPOTrainer), math-verify (accuracy_reward)
  • Models: Hugging Face Transformers models, LoRA/QLoRA adapters via PEFT
389 out of 100

megatron-lm

NVIDIA's library for training large transformer models across many GPUs

18.6k starscustom licenselast commit Nov 2026

Megatron Core is a PyTorch library of transformer building blocks with tensor, pipeline, data, expert and context parallelism, plus FP16, BF16, FP8 and FP4 mixed precision. The repo also ships Megatron-LM, a reference set of pre-configured training scripts, along with distributed checkpointing and post-training tools for quantization, distillation and pruning. Hugging Face checkpoint conversion lives in the separate Megatron Bridge project.

Strengths

  • Supports TP, PP, DP, EP and CP parallelism in one library
  • Mixed precision from FP16 and BF16 down to FP8 and FP4
  • Distributed checkpointing with resharding, plus MoE and hybrid model support
  • Published throughput benchmarks, e.g. DeepSeek-V3 on 256 GB300 GPUs

Weaknesses

  • Aimed at multi-GPU clusters; no small-scale or CPU workflow described
  • Source builds can run out of memory and need MAX_JOBS tuning
  • HF checkpoint conversion is in Megatron Bridge, a separate repo for now
  • License detected as NOASSERTION while the README badge says Apache
  • GPU required
  • Docker
  • Needs PyTorch 2.6.0+, Python 3.12+, NVIDIA NGC PyTorch container (for source development)
  • Models: DeepSeek-V3, Qwen3-235B-A22B, Nemotron 3 Ultra, DeepSeek-V4 (initial, dev branch)
#488 out of 100

unsloth

Desktop and web app to run and fine-tune local models

Live demo ↗ (opens in a new tab)80.5k starsApache-2.0last commit Nov 2026

Unsloth ships as a native desktop app, a web UI (Unsloth Studio) and a Python library (Unsloth Core). It runs GGUF, MLX, diffusion, audio and embedding models, serves them over an OpenAI-compatible API, and fine-tunes them with LoRA, QLoRA, full fine-tuning, GRPO, DPO and FP8. The README claims 2x faster training with 70% less VRAM.

Strengths

  • Covers both running and fine-tuning models, with export to GGUF, NVFP4 and FP8
  • Supports NVIDIA, AMD, Intel GPUs, CPU and Vulkan on Windows, Linux, WSL and macOS
  • Free Colab and Kaggle notebooks for many models, including GRPO and TTS
  • `unsloth start` connects Claude Code, Codex and other agents to local models

Weaknesses

  • Speed and VRAM figures (2x, 70% less) are the project's own claims
  • Server-side tools are on by default; exposing it needs a password or --disable-tools
  • Three install paths (Desktop, Studio, Core) with many environment flags add complexity
  • GPU optional
  • Docker
  • Needs PyTorch, llama.cpp, Cloudflare (optional remote access), Docker (optional)
  • Models: GGUF, MLX, LLMs, diffusion, audio/TTS
  • port 8000
#588 out of 100

deepspeed

PyTorch library for distributed training of very large models with ZeRO

43.4k starsApache-2.0last commit Nov 2026

DeepSpeed is a PyTorch library that makes large-model training fit and scale across GPUs using ZeRO, ZeRO-Infinity offload, 3D parallelism, Ulysses sequence parallelism and DeepSpeed-MoE. It is configured through a JSON file and integrates with Hugging Face Transformers, Accelerate, Lightning, MosaicML Composer, Determined and MMEngine. C++/CUDA ops are built just-in-time with ninja by default.

Strengths

  • Used to train models such as BLOOM 176B and Megatron-Turing NLG 530B
  • Integrates with Hugging Face Transformers and Accelerate, Lightning, Composer and Determined
  • Supports NVIDIA, AMD, Intel Gaudi and XPU, Huawei Ascend NPU and CPU accelerators
  • Installs with pip install deepspeed; ds_report checks which ops are compatible

Weaknesses

  • PyTorch must be installed first, and a CUDA or ROCm compiler is needed for JIT ops
  • Windows lacks async IO and GDS support
  • Tested mainly on NVIDIA Pascal to Hopper and AMD MI100/MI200; other hardware is less validated
  • Training-focused; tuning requires understanding the JSON config and ZeRO stages
  • GPU optional
  • Needs PyTorch, CUDA or ROCm compiler (nvcc/hipcc), ninja
  • Models: PyTorch models, Hugging Face Transformers
#688 out of 100

axolotl

YAML-driven framework for fine-tuning and post-training LLMs

Live demo ↗ (opens in a new tab)12.8k stars+123 (+1.0%) in 30 daysApache-2.0last commit Nov 2026

Axolotl runs LLM post-training from a single YAML config covering dataset preprocessing, training, evaluation, quantization and inference. It supports full fine-tuning, LoRA/QLoRA, QAT, preference tuning (DPO, IPO, KTO, ORPO), GRPO and reward modelling, plus multimodal models. Multi-GPU and multi-node runs use FSDP2, DeepSpeed, Torchrun or Ray, and trained models can be exported to GGUF.

Strengths

  • One YAML config reused across preprocessing, training, evaluation, quantization and inference
  • Wide method coverage: full FT, LoRA/QLoRA, QAT, DPO/KTO/ORPO, GRPO, reward models
  • Multi-GPU and multi-node via FSDP2, DeepSpeed, Torchrun and Ray, with N-D parallelism
  • GGUF export via `axolotl export` for llama.cpp and Ollama

Weaknesses

  • Needs an NVIDIA (Ampere or newer for bf16/Flash Attention) or AMD GPU
  • Requires Python 3.12 or newer and a recent PyTorch, which limits older environments
  • Config-file and CLI workflow with a very large option surface; no GUI
  • Several newer features (EP, NVFP4 LoRA, Ringmaster CP) are model-specific and recent
  • GPU required
  • Compose
  • Needs PyTorch, uv, DeepSpeed (optional)
  • Models: Hugging Face Hub models, LLaMA, Mistral, Mixtral, Qwen
#786 out of 100

soup

CLI for fine-tuning and post-training LLMs from a single YAML config

10.9k starsApache-2.0last commit Nov 2026

Soup is a Python CLI that runs LoRA/QLoRA fine-tuning and preference or RL post-training (SFT, DPO, GRPO, PPO, KTO, ORPO and others) from one soup.yaml. It also covers batch inference, an OpenAI-compatible server, merge and GGUF export, and a local web dashboard. An opt-in beta layer-streaming mode trains an 8B NF4 model in about 3.3 GB peak VRAM.

Strengths

  • Many tasks in one config: SFT, DPO, GRPO, PPO, KTO, ORPO, SimPO, IPO, vision, audio
  • Layer streaming trains Llama-3.1-8B NF4 in 3.32 GB peak on a 4 GB laptop GPU
  • Same tool merges adapters, exports GGUF, serves an OpenAI-compatible API, has a web UI
  • Light install without PyTorch for data tools; 100+ ready-made model recipes

Weaknesses

  • Python 3.10-3.12 only; 3.13+ is unsupported
  • Layer streaming is opt-in and still beta; a correctness repair changed its benchmark numbers
  • Recent releases are breaking: unused settings and unknown config keys now fail at load
  • AWQ and GPTQ export are deprecated and slated for removal in v0.77
  • GPU optional
  • Docker + Compose
  • Needs PyTorch, transformers, peft, trl, HuggingFace Hub
  • Models: HuggingFace Hub causal LMs, Llama 3.x/4, Qwen 2.5/3, Gemma 3, Mistral
  • port 7860
#885 out of 100

ms-swift

Fine-tuning, RLHF, quantization and deployment framework for 1,000+ open LLMs

16.2k starsApache-2.0last commit Nov 2026

ms-swift, from the ModelScope community, is a Python framework covering pre-training, SFT, preference tuning and GRPO-family reinforcement learning for 600+ text and 400+ multimodal models. It supports LoRA/QLoRA, DeepSpeed, FSDP and Megatron parallelism, and exports quantized models (AWQ, GPTQ, FP8, BNB). Inference and deployment go through Transformers, vLLM, SGLang or LMDeploy with an OpenAI-style interface, with evaluation via EvalScope and a Gradio Web-UI.

Strengths

  • Broad training coverage: SFT, DPO/KTO/ORPO, GRPO variants, embedding and reranker tuning
  • Megatron TP/PP/CP/EP support aimed at faster MoE model training
  • Runs on NVIDIA CUDA, AMD ROCm, Ascend NPU, Apple MPS and CPU
  • Quick start fine-tunes a 4B model with LoRA in about 13GB on one GPU

Weaknesses

  • Large dependency matrix (torch, transformers, peft, trl, deepspeed, vllm) with version pins to manage
  • Downloads models and datasets from ModelScope by default; Hugging Face needs --use_hf true
  • Command-line flag surface is very large and changes between major versions (3.x to 4.x)
  • No Docker image or compose file in the repository
  • GPU optional
  • Needs PyTorch, transformers, peft, ModelScope, DeepSpeed, vLLM, SGLang, LMDeploy, EvalScope, Gradio
  • Models: Qwen3, Llama4, DeepSeek-R1, GLM4.5, Mistral
#984 out of 100

verl

RL post-training library for LLMs with PPO, GRPO, FSDP and Megatron

24.4k starsApache-2.0last commit Nov 2026

verl is the open-source implementation of the HybridFlow paper from ByteDance Seed. It runs reinforcement learning and supervised fine-tuning for LLMs, using FSDP, FSDP2 or Megatron-LM for training and vLLM, SGLang or HF Transformers for rollout generation. It covers PPO, GRPO, RLOO, ReMax and REINFORCE++ with verifiable or model-based rewards.

Strengths

  • FSDP, FSDP2 and Megatron-LM training with vLLM, SGLang or HF rollout
  • Covers PPO, GRPO, RLOO, ReMax and REINFORCE++, plus multi-turn tool-calling RL
  • README states scaling to 671B models via expert parallelism, with LoRA RL to save memory
  • Runs on NVIDIA, AMD and Huawei Ascend; Intel XPU via a plugin

Weaknesses

  • Realistic runs need multiple GPUs; not a single-machine tool
  • Fully async and one-step-off trainers moved to verl-recipe, pinned to v0.9.1
  • Several algorithms (DAPO, GSPO, PRIME) live in the separate verl-recipe repository
  • Inference engine versions matter; README warns vLLM 0.7.x has bugs causing OOMs
  • GPU required
  • Docker
  • Needs PyTorch, vLLM or SGLang, Megatron-LM (optional)
  • Models: Hugging Face Transformers, ModelScope, Qwen3.5, Qwen3, Qwen2.5
#1084 out of 100

weclone

Builds a life portrait from chat history and fine-tunes a personal chat clone

18.4k starsAGPL-3.0last commit Nov 2026

WeClone extracts a reviewable, fact-by-fact profile of you from exported chat history (Telegram today) using Codex or any OpenAI-compatible API. The portrait is exposed to assistants such as Claude Code and Codex over MCP. It also keeps the original workflow of LoRA fine-tuning Qwen2.5-7B-Instruct on your chats, served as an OpenAI-compatible API and connected to chat platforms via AstrBot or LangBot.

Strengths

  • Every portrait fact traces to its source and carries a privacy level
  • Per-domain and per-level access control for assistants reading the portrait over MCP
  • Encrypted local storage by default; training data filtered with Microsoft Presidio
  • Web UI in English and Chinese for reviewing and editing facts

Weaknesses

  • Only Telegram is supported as a data source; WhatsApp, Discord and Slack are pending
  • Portrait and extraction prompts are in Chinese; English chats untested
  • Chat content is sent to the configured model service during extraction
  • Fine-tuning needs an NVIDIA GPU; agent clone is still in development
  • GPU optional
  • Needs Python 3.12, Codex CLI or OpenAI-compatible API, uv, AstrBot or LangBot (chat bots), Telegram Desktop (data export)
  • Models: Qwen2.5-7B-Instruct (LoRA), OpenAI-compatible APIs, Codex
  • port 5175
#1184 out of 100

art

Python RL framework that trains LLM agents with GRPO from rollout rewards

10.9k stars+55 (+0.5%) in 30 daysApache-2.0last commit Nov 2026

ART wraps GRPO reinforcement learning around existing Python agent code. An OpenAI-compatible client runs rollouts and records trajectories with rewards, while a separate server runs vLLM inference and trains LoRAs on a GPU. It can also use W&B's hosted Serverless RL backend instead of local GPUs.

Strengths

  • Client/server split: run the client on a laptop, train on a remote or local GPU
  • OpenAI-compatible client drops into existing agent code, with a LangGraph integration
  • RULER automatic reward generation and notebooks for 2048, email search, MCP and SFT
  • Optional W&B Serverless RL backend avoids managing GPU infrastructure

Weaknesses

  • Inference is blocked while each training step runs
  • Gemma 3 does not appear to be supported
  • You must define rewards and rollout environments yourself, unless using RULER
  • Serverless path depends on a W&B account and API key
  • GPU required
  • Docker
  • Needs vLLM, Unsloth, W&B (optional, Serverless RL)
  • Models: vLLM/HuggingFace causal LMs, Qwen, LoRA
#1282 out of 100

torchtitan

PyTorch-native training stack for pretraining, fine-tuning and RL of large models

6k stars+148 (+2.5%) in 30 daysBSD-3-Clauselast commit Nov 2026

torchtitan is a PyTorch codebase for training large generative models, covering pretraining, SFT/LoRA and RL (TitanRL). It composes FSDP2, tensor, pipeline, context and expert parallelism through DeviceMesh and DTensor, and runs are defined as Python recipe functions. It supports Llama 3, Qwen3, DeepSeek V3, gpt-oss, Kimi and FLUX, with MXFP8 and NVFP4 low-precision training.

Strengths

  • Stacks FSDP2, TP, PP, CP and EP into N-D layouts without rewriting the model
  • Config is a Python recipe function, so runs are readable and copyable
  • TitanRL shares model definitions and kernels with vLLM, with a bitwise-parity mode
  • Reads and writes Hugging Face safetensors; async distributed checkpointing

Weaknesses

  • Needs a recent PyTorch nightly; stable releases pin nightly torch and torchao
  • Verified recipes exist for only some models; others have CI debug configs only
  • Low-precision and RL features need extra nightly installs (torchao, vLLM, Monarch)
  • Aimed at multi-GPU clusters; README shows only a debug model on one GPU
  • GPU required
  • Needs PyTorch nightly, torchao (optional), vLLM (RL), Monarch (RL), TorchStore (RL)
  • Models: Llama 3, Qwen3, Qwen3.5, DeepSeek V3, gpt-oss
#1381 out of 100

openrlhf

Ray and vLLM based RLHF training framework for LLMs and VLMs

10.2k starsApache-2.0last commit Nov 2026

OpenRLHF trains language and vision-language models with PPO, REINFORCE++, GRPO, RLOO and DPO. It uses Ray to place actor, reward, reference and critic models across GPUs, vLLM for rollout generation, and DeepSpeed ZeRO-3 for training. Rollouts run through single-turn or multi-turn agent executors, with custom reward functions or environments plugged in.

Strengths

  • Supports PPO, REINFORCE++, GRPO, RLOO and DAPO-style dynamic filtering via one estimator flag
  • Hybrid engine lets models and vLLM share GPUs, so full RLHF runs on limited hardware
  • Multi-turn agent mode with async training, custom reward functions and VLM image feedback
  • Also covers SFT, DPO and reward-model training, with LoRA/QLoRA, MoE and RingAttention

Weaknesses

  • Needs NVIDIA GPUs and a Ray, vLLM and DeepSpeed stack to set up and tune
  • RingAttention, offline clusters and drivers older than 580 need a self-built Docker image
  • README points to Molt, an NVIDIA-backed RL framework, as the recommended option
  • Many nested CLI flags make configuration heavy for small experiments
  • GPU required
  • Needs Ray, vLLM, DeepSpeed, PyTorch, Hugging Face Transformers
  • Models: Hugging Face Transformers models, VLMs (e.g. Qwen3.5), MoE models, LoRA/QLoRA
#1481 out of 100

model-optimizer

Python library for quantizing, pruning and distilling models for NVIDIA inference

5.7k starsApache-2.0last commit Nov 2026

NVIDIA Model Optimizer (ModelOpt) is a Python library that applies post-training quantization, quantization-aware training and distillation, pruning, NAS, speculative decoding and sparsity to Hugging Face, PyTorch or ONNX models. It exports quantized checkpoints (FP8, NVFP4 and others) for deployment in TensorRT-LLM, TensorRT, vLLM or SGLang. It integrates with Megatron-Bridge, Megatron-LM and Hugging Face Accelerate for techniques that need training.

Strengths

  • Covers PTQ, QAT/QAD, pruning, NAS, distillation, speculative decoding and sparsity in one library
  • Exports to TensorRT-LLM, TensorRT, vLLM and SGLang; unified HF export covers transformers and diffusers
  • Publishes pre-quantized checkpoints on Hugging Face, including NVFP4 and FP8 variants
  • Installable from PyPI as nvidia-modelopt; Apache-2.0 with per-technique examples and support matrices

Weaknesses

  • Pre-1.0 API; deprecated features are removed after about one release
  • Tuned for the NVIDIA stack; NVFP4 and TensorRT paths target NVIDIA GPUs
  • Pulls in additional third-party packages whose licenses need separate review
  • QAT, QAD and pruning workflows depend on Megatron or Accelerate setups
  • GPU required
  • Needs PyTorch, Hugging Face Transformers, ONNX, TensorRT-LLM, vLLM, SGLang, Megatron-Bridge
  • Models: Hugging Face, PyTorch, ONNX, Diffusers, FP8
#1581 out of 100

marin

Python platform for training LLMs from data curation through evaluation

4.2k stars+131 (+3.2%) in 30 daysApache-2.0last commit Nov 2026

Marin is a research program and Python framework for building foundation models: data curation, tokenization, pretraining, posttraining and evaluation. Experiments are written as dependent steps that run in topological order, like a Makefile, and scale from a tiny CPU run to GPU or TPU pods. It has produced an 8B model, a 32B model and the Delphi scaling suite.

Strengths

  • Experiments are declared as dependent steps in Python, executed in topological order
  • Scales from a CPU tutorial run to GPU or TPU pods, including multislice TPUs
  • Publishes checkpoints, training scripts, mixture pipelines and retrospectives, including failed runs
  • Tutorials cover a tiny TinyStories model and a DCLM 1B/1x run

Weaknesses

  • Research codebase tied to the project's own experiments; not a general fine-tuning tool
  • Large-scale runs need TPU or GPU clusters; no small-GPU recipe is given
  • No Docker or Compose setup in the repo
  • Current focus is a 500B+ MoE, so interfaces may shift with research needs
  • GPU optional
  • Docker
  • Needs Hugging Face datasets, Google TPU or GPU cluster for large runs
  • Models: Llama-architecture LLMs, mixture-of-experts LLMs
#1680 out of 100

agent-lightning

Reinforcement learning framework for training agents through a model proxy

19k starsMITlast commit Nov 2026

Agent Lightning v1.0 trains agents with RL while they run in their own harnesses. An API gateway proxies the agent's model requests and records them as training data, and a trainer built on verl and vLLM updates the policy. Rollouts run locally or as Kubernetes Jobs. Examples cover math, search, sandbox and coding agents.

Strengths

  • Agents run unmodified; the gateway captures training data from model calls
  • Runs rollouts as Kubernetes Jobs without an external sandbox service
  • Ships a full coding-agent pipeline: data cleaning, reward-hacking prevention, training scripts
  • Small codebase of about 3,500 lines

Weaknesses

  • Requires a verl and vLLM GPU stack; setup example targets CUDA 13.0
  • v1.0 was a full refactor; earlier releases live on a separate v0.x branch
  • RL training only; not a general agent runtime or builder
  • No Docker or compose files provided
  • GPU required
  • Needs verl, vLLM, uv, CUDA, Kubernetes (optional)
  • Models: Qwen3.5-9B, Qwen3.5-35B-A3B
#1780 out of 100

simpletuner

Fine-tuning toolkit for diffusion image, video and audio models, with a web UI

3k starsAGPL-3.0last commit Nov 2026

SimpleTuner trains LoRA, LyCORIS and full-rank fine-tunes of diffusion and flow-matching models, including Flux, SDXL, SD3, Wan, LTX Video, Qwen Image and ACE-Step. It supports multi-GPU training, DeepSpeed and FSDP2, disk caching of embeddings, aspect bucketing and S3 datasets, and runs from a web UI or the command line. A multi-user mode adds SSO, role-based access, quotas and a job queue.

Strengths

  • Covers about 40 model families across image, video and audio, with a quickstart per model
  • Memory options: int8/fp8/nf4 quantization, DeepSpeed, FSDP2; most models train on 24G
  • Multi-user mode with LDAP/OIDC SSO, RBAC, quotas and audit logging, all free
  • pip install with extras for CUDA, ROCm and Apple Silicon

Weaknesses

  • AGPL-3.0 license carries copyleft obligations for modified network-served versions
  • Many supported base models have non-commercial or restricted licenses, varying by checkpoint
  • AMD uses more memory than NVIDIA; Apple needs M3 Max with 24GB+ unified memory
  • Multi-user and worker orchestration docs sit under an experimental path
  • GPU required
  • Docker + Compose
  • Needs PyTorch, Hugging Face Accelerate, DeepSpeed (optional)
  • Models: Flux.1, Flux.2, Stable Diffusion XL, Stable Diffusion 3, Wan Video
#1879 out of 100

oumi

CLI and Python toolkit for fine-tuning, evaluating and deploying foundation models

9.4k starsApache-2.0last commit Nov 2026

Oumi covers the model lifecycle from one YAML-driven CLI: data synthesis with LLM judges, training (SFT, LoRA, QLoRA, DPO, GRPO), evaluation, and inference through vLLM, SGLang or commercial APIs. Recent versions add tool-calling SFT, executable tool environments and GRPO via verl. Jobs can run locally or be launched on AWS, Azure, GCP, Lambda, Modal or Slurm. The README labels it beta.

Strengths

  • Ready-made YAML recipes for many model families (Qwen, Gemma, Llama, gpt-oss, Phi)
  • Supports SFT, LoRA, QLoRA, DPO, KTO and GRPO, with FSDP, DeepSpeed and DDP
  • `oumi launch` runs jobs on AWS, Azure, GCP, Lambda and Slurm
  • Includes eval, LLM-as-judge, data synthesis and an `oumi-mcp` MCP server

Weaknesses

  • README says beta; some advanced features may change
  • Broad scope means many dependencies (Transformers, TRL, vLLM, verl) to keep aligned
  • GPU extras needed for most real training; hardware requirements not stated
  • Dedicated endpoint deploy targets specific providers (Fireworks, Parasail)
  • GPU optional
  • Docker
  • Needs PyTorch, Transformers, TRL, vLLM, SGLang, verl
  • Models: Llama, Gemma, Qwen, DeepSeek, GLM
#1979 out of 100

areal

Asynchronous reinforcement learning system for training reasoning and agentic LLMs

5.9k stars+65 (+1.1%) in 30 daysApache-2.0last commit Nov 2026

AReaL trains LLMs with reinforcement learning using a fully asynchronous rollout and training loop. It ships GRPO, PPO, DAPO, GSPO, DPO, SFT and related algorithms, with SGLang or vLLM for inference and Megatron or PyTorch FSDP for training. Agentic RL works with black-box agents by pointing them at an AReaL endpoint through base_url.

Strengths

  • Asynchronous RL; setting max_head_offpolicyness=0 gives the synchronous variant
  • Many algorithms with example configs: GRPO, GSPO, PPO, DAPO, RLOO, M2PO, DPO, SFT
  • Agentic RL for existing agents by swapping base_url; examples for SWE, search and tau2
  • Backends: SGLang or vLLM inference; Megatron, FSDP or Archon training; Ray and local schedulers

Weaknesses

  • Needs CUDA GPUs; install requires a matching flash-attn wheel
  • Model support varies by training backend; other Hugging Face LLMs only on FSDP
  • 2.0 microservice refactor and v1/v2 options add configuration complexity
  • Ascend NPU support lives on a separate branch
  • GPU required
  • Docker
  • Needs SGLang or vLLM, Megatron or PyTorch FSDP, flash-attn, Ray (optional)
  • Models: Qwen2/3, Qwen3-MoE, Qwen3.5, Qwen2.5-VL, Qwen3-VL
#2078 out of 100

liger-kernel

Triton kernels that cut memory and raise throughput for LLM training

6.7k starsBSD-2-Clauselast commit Nov 2026

Liger Kernel is a PyTorch library of Triton kernels for RMSNorm, RoPE, SwiGLU, CrossEntropy and FusedLinearCrossEntropy, plus chunked post-training losses such as DPO, ORPO, SimPO, KTO and JSD. A one-line patch swaps them into Hugging Face models. The README reports about 20% higher multi-GPU throughput and 60% lower memory on LLaMA 3-8B, with exact (non-approximated) computation.

Strengths

  • One-line patching of Hugging Face models; also usable as standalone modules
  • Works with FSDP, DeepSpeed and DDP, and integrates with Axolotl, LLaMA-Factory and TRL
  • Exact computation, checked by unit and convergence tests against runs without Liger
  • Chunked post-training losses (DPO, ORPO, SimPO, KTO) claim up to 80% memory savings

Weaknesses

  • Benchmarks come from one setup: LLaMA 3-8B on 8 A100s with FSDP1
  • Model patching APIs need transformers >= 5.0.0, and per-model support varies
  • cuTile and CuTe DSL backends are opt-in and CUDA-only, with newer-GPU targets (Hopper, Blackwell)
  • Training-side only; it does not serve or run inference
  • GPU required
  • Needs torch >= 2.1.2, triton >= 2.3.1, transformers >= 5.0.0 (optional)
  • Models: Hugging Face transformers models, LLaMA 3, Qwen2-VL, Llama 3.2-Vision
#2178 out of 100

sagemaker-python-sdk

Python SDK for training, fine-tuning and deploying models on Amazon SageMaker

2.3k starsApache-2.0last commit Nov 2026

Python library that wraps the SageMaker APIs to run training jobs, host endpoints, and manage pipelines, processing, tuning and model registry. V3 replaces Estimator/Model/Predictor with ModelTrainer and ModelBuilder, and adds SFT, DPO, RLAIF and RLVR trainers for foundation-model fine-tuning with LoRA or full tuning. It splits into sagemaker-core, -train, -serve and -mlops packages.

Strengths

  • Unified ModelTrainer and ModelBuilder classes replace many framework-specific V2 classes
  • Fine-tuning trainers (SFT, DPO, RLAIF, RLVR) with LoRA or full tuning and MLflow metrics
  • Modular PyPI packages: sagemaker-core, sagemaker-train, sagemaker-serve, sagemaker-mlops
  • Covers pipelines, hyperparameter tuning, model registry, Clarify and batch transform; local mode available

Weaknesses

  • Tied to AWS: training and hosting run on SageMaker and need IAM roles and S3
  • V3 breaks V2 interfaces (Estimator, Model, Predictor); existing code needs migration
  • Supports Unix/Linux and macOS only; tested on Python 3.10 to 3.12
  • Telemetry is on by default and must be disabled through SDK defaults config
  • GPU optional
  • Needs AWS account, Amazon SageMaker, Amazon S3, AWS IAM role
  • Models: PyTorch, Apache MXNet, Hugging Face, SageMaker JumpStart, SparkML (MLeap)
#2277 out of 100

h2o-llmstudio

No-code GUI and CLI for fine-tuning LLMs with LoRA and DPO

5.2k starsApache-2.0last commit Nov 2026

H2O LLM Studio is a Python framework with an H2O Wave web GUI and a CLI for fine-tuning LLMs on your own datasets. It supports LoRA, 8-bit training, DPO/IPO/KTO optimization, and classification and regression problem types, with DeepSpeed or DDP for multi-GPU runs. Experiments can be tracked and compared in the UI, chatted with, and exported to the Hugging Face Hub.

Strengths

  • GUI covers dataset import, experiment tracking, comparison, chat and Hugging Face export
  • Supports LoRA, 8-bit training, DPO/IPO/KTO, plus causal classification and regression
  • Multi-GPU via DDP or DeepSpeed; YAML-configured CLI for scripted runs
  • Official Docker image on Docker Hub and a ready RunPod template

Weaknesses

  • Requires an NVIDIA GPU with drivers >= 580; no CPU or non-NVIDIA path documented
  • Backwards compatibility not guaranteed; README advises pinning versions
  • DeepSpeed needs NVLink and a system CUDA Toolkit install
  • RLHF was removed; reinforcement learning is limited to DPO/IPO/KTO
  • GPU required
  • Docker
  • Needs NVIDIA drivers >= 580, CUDA 13 (PyTorch), H2O Wave, uv, Python 3.12, nvidia-container-toolkit (Docker)
  • Models: Hugging Face LLMs, LoRA, 8-bit training, DPO/IPO/KTO
  • port 10101
#2376 out of 100

llamafactory

Fine-tuning toolkit for 100+ LLMs with a CLI and Gradio web UI

Live demo ↗ (opens in a new tab)76.3k starsApache-2.0last commit Nov 2026

LlamaFactory fine-tunes LLMs and multimodal models through YAML-driven CLI runs or the LLaMA Board Gradio UI. It covers pre-training, SFT, reward modeling, PPO, DPO, KTO and ORPO, with full-tuning, freeze, LoRA and 2 to 8-bit QLoRA. Trained models can be served through an OpenAI-style API using vLLM or SGLang workers.

Strengths

  • Covers SFT, reward modeling, PPO, DPO, KTO and ORPO in one framework
  • Supports QLoRA via AQLM, AWQ, GPTQ, LLM.int8, HQQ and EETQ
  • Integrates FlashAttention-2, Unsloth, Liger Kernel, GaLore, BAdam, APOLLO and Muon
  • Web UI plus OpenAI-style API with vLLM or SGLang inference backends

Weaknesses

  • Official documentation is marked WIP in the README
  • Many features are toggled through YAML flags, so you need to know the options
  • Newer backends such as Megatron-core are documented mainly through PR links
  • GPU required
  • Docker + Compose
  • Needs PyTorch, Hugging Face Transformers, vLLM (optional), SGLang (optional)
  • Models: LLaMA, LLaVA, Mistral, Mixtral-MoE, Qwen3
#2475 out of 100

fingpt

LoRA fine-tuned financial LLMs, datasets and notebooks for sentiment and forecasting

Live demo ↗ (opens in a new tab)21.7k starsMITlast commit Nov 2026

FinGPT is a collection of LoRA adapters, instruction datasets and training notebooks for financial NLP tasks such as sentiment analysis, relation extraction, headline classification, NER and stock-movement forecasting. Adapters are published on Hugging Face for Llama2, Falcon, BLOOM, MPT, ChatGLM2 and Qwen bases. The README reports a Llama2-13B sentiment adapter trained on one RTX 3090 in about 17 hours.

Strengths

  • Published LoRA adapters and datasets on Hugging Face for several base models
  • Notebooks fine-tune on a single RTX 3090 in 8-bit or int4 QLoRA
  • Benchmark table reports weighted F1 on FPB, FiQA-SA, TFNS and NWGI with cost per run
  • Forecaster has a hosted Hugging Face Space demo, so no install is needed to try it

Weaknesses

  • Forecaster is trained on US DOW 30 data only; other markets need your own data and fine-tuning
  • Most releases date from 2023 and use older bases such as Llama2 and ChatGLM2
  • Research and notebook code, not a packaged app or service; no Docker setup
  • Cost comparisons with BloombergGPT rely on the project's own GPU-hour assumptions
  • GPU optional
  • Needs Hugging Face Transformers, PEFT, OpenAI API (optional cloud provider)
  • Models: Llama2-7B, Llama2-13B, Falcon-7B, BLOOM-7B1, MPT-7B
#2575 out of 100

rlinf

Distributed RL training framework for robot VLA policies and LLM agents

5.7k starsApache-2.0last commit Nov 2026

RLinf is a Python RL training infrastructure for embodied and agentic AI. It runs PPO, GRPO, SFT, DAgger and related methods on VLA policies (OpenPI π₀/π₀.₅, GR00T, OpenVLA-OFT), world models and LLMs, in simulators such as LIBERO, RoboTwin and Isaac Lab, and on real robots. It supports several accelerator backends and Megatron-based actor training, and installs from PyPI.

Strengths

  • Covers simulated and real-robot RL, including teleoperation, SFT and deployment pipeline
  • Wide model support: π₀/π₀.₅, GR00T, OpenVLA-OFT, Cosmos3, Wan2.2, Moonlight-16B
  • Eight accelerator backends, including AMD ROCm, Ascend CANN, Moore Threads and MetaX
  • Adopted by Isaac Lab v3.0.0; installable from PyPI; docs in English and Chinese

Weaknesses

  • Each model and simulator integration has its own setup; the feature set is large
  • No Docker or compose files detected in the repository
  • Aimed at robotics and RL researchers, not general LLM fine-tuning
  • Real-robot workflows depend on specific supported hardware such as Franka
  • GPU required
  • Docker
  • Needs PyTorch, Megatron, SGLang, Simulators (LIBERO, RoboTwin, Isaac Lab)
  • Models: OpenPI π₀ / π₀.₅, π₀-FAST, OpenVLA-OFT, GR00T-N1.6/N1.7, Cosmos3
#2674 out of 100

fractalworkspace

Federated training and split-model inference across Android phones

9.2k stars+1,527 (+20%) in 30 dayscustom licenselast commit Nov 2026

Fractal pairs a Python Flask control plane (FractalCore) with a Kotlin Android node app. The server splits datasets into segments, aggregates checkpoint deltas with FedAvg, and slices models such as Llama 3 8B or TinyLlama into INT4 .pte partitions of 150MB or less that phones run as a pipeline over Wi-Fi. Nodes pause when battery is under 50%, not charging, or battery temperature exceeds 40 C.

Strengths

  • Covers both on-device federated training and layer-sliced inference across phones
  • Raw datasets stay on devices; only checkpoint deltas go to the server
  • Explicit limits: 150MB partitions, 4,100-byte activation frames, single-use task_Id
  • Per-tenant storage isolation and X-Auth-Token auth on tenant and admin routes

Weaknesses

  • Proprietary non-commercial license; commercial use needs written authorization
  • Requires a Firebase project with Firestore for the token and reward ledger
  • Needs a physical Android device (API 24+); no iOS or desktop nodes documented
  • No release published; README gives no benchmarks or latency figures
  • Needs Firebase Firestore, Android Studio, Python 3.10+, Docker Compose, TFLite, ExecuTorch, torchao, XNNPACK
  • Models: Llama 3 8B, TinyLlama, TFLite (.tflite), ExecuTorch (.pte)
  • port 5000
#2774 out of 100

swanlab

Experiment tracking and dashboards for ML training runs

Live demo ↗ (opens in a new tab)4.4k starsApache-2.0last commit Nov 2026

SwanLab is a Python SDK and dashboard for tracking ML training runs, similar in role to Weights & Biases. You call swanlab.init and swanlab.log to record metrics, hyperparameters, media and hardware stats, then compare experiments in a web UI. It integrates with PyTorch, Transformers, LLaMA Factory, veRL, Ultralytics and others, and offers a self-hosted community edition via Docker or Kubernetes.

Strengths

  • Two-call integration: swanlab.init and swanlab.log, installed with pip install swanlab
  • Hardware monitoring covers Nvidia, AMD, Ascend, Cambricon, Kunlunxin, Hygon, MetaX, Moore Threads and Iluvatar
  • Integrations for many training frameworks, including veRL, trl, LLaMA Factory, Ultralytics and TensorBoard
  • Logs scalars, images, audio, video, text, 3D point clouds and molecules, plus custom Echarts charts

Weaknesses

  • Main README and docs are Chinese-first; English README is a separate file
  • Default workflow needs a swanlab.cn account and API key for the cloud
  • Self-hosted community edition is described as offline dashboard viewing; feature limits vs cloud not detailed
  • Self-host setup lives in external docs; no compose file detected in the repo
  • Needs Docker or Kubernetes (self-hosting)
  • Models: PyTorch, HuggingFace Transformers, PyTorch Lightning, LLaMA Factory, veRL
#2874 out of 100

lightly

PyTorch library for self-supervised vision pretraining and latent world models

3.8k starsMITlast commit Nov 2026

LightlySSL is a Python framework of modular building blocks (loss functions, model heads, transforms) for self-supervised pretraining of computer vision models. It ships PyTorch and PyTorch Lightning examples for about 25 methods, including SimCLR, MoCo, BYOL, DINO, DINOv2, MAE and LeJEPA, plus LeWM for training world models and planning with them. Custom backbones are supported, and distributed training goes through PyTorch Lightning.

Strengths

  • Covers MoCo (2019) through LeJEPA and Pixio (2025), each with docs and Colab notebooks
  • Modular losses and heads that can be mixed with custom backbones
  • PyTorch and PyTorch Lightning examples, including distributed, for every listed model
  • Adds LeWM for training a world model from frames and actions, with a tutorial

Weaknesses

  • Computer vision only; no text or speech pretraining
  • Docker support and one-command pretraining are in the commercial edition
  • Library only: no UI, serving layer or pretrained model hub
  • LeWM requires PyTorch 2.0+ and the timm extra
  • Needs PyTorch 2.0+, timm, PyTorch Lightning
  • Models: MoCo, SimCLR, BYOL, SwAV, DINO
#2973 out of 100

auto-round

Post-training quantization toolkit for LLMs and VLMs, with GGUF and GPTQ/AWQ export

1.7k starsApache-2.0last commit Nov 2026

AutoRound quantizes LLMs and vision-language models after training using SignRound-based rounding optimization, via a CLI or a Python API. It supports W2A16 to W8A16, MXFP4, NVFP4, and FP8 schemes, and exports to AutoRound, AutoGPTQ, AutoAWQ, llm-compressor, and GGUF formats. Quantized models load in Transformers, vLLM, and SGLang on Intel CPUs/XPUs, Gaudi, and NVIDIA GPUs.

Strengths

  • Exports to AutoRound, AutoGPTQ, AutoAWQ, llm-compressor and GGUF from one tool
  • Recipes trade speed for accuracy, from pure RTN to a slower fully tuned recipe
  • AutoScheme generates mixed-bit recipes with about 1.1-1.5x the BF16 model size in RAM
  • Runs on Intel CPU/XPU, Gaudi and CUDA; 7B models quantize in about 10 minutes on one GPU

Weaknesses

  • Several features are marked experimental or WIP, including RRQ, algorithm composition and the MoE speedup
  • MXFP4 has no real inference kernels, per the README
  • Highest-accuracy recipe is 3-5x slower than the default
  • Default calibration dataset is under review, so results may shift between releases
  • GPU optional
  • Needs PyTorch, Transformers
  • Models: LLMs, VLMs, GGUF, GPTQ, AWQ
#3073 out of 100

talos

Hyperparameter sweeps for Keras, TensorFlow and PyTorch models

1.6k starsMITlast commit Nov 2026

Talos runs hyperparameter experiments around a model and training code you already wrote in Keras, TensorFlow or PyTorch. It offers a notebook Scan interface, plus single-file experiment definitions with manifests and a CLI. It records trial histories and checkpoints and can restore trained models. Talos 2 supports Python 3.11-3.13; the 1.x line stays available for Python 3.10/3.11.

Strengths

  • You keep your own model, data splits and training loop; Talos wraps them
  • Content-addressed manifests and recorded trial histories support reproducible experiments
  • Grid and sampled searches, reducers and custom strategies
  • Same executor serves notebooks, single-file definitions and a CLI

Weaknesses

  • Talos 1.x uses a legacy TensorFlow 2.14.1 dependency set with known advisories
  • Talos 2 needs Python 3.11 or newer; older environments must stay on 1.4
  • Tuning only: no serving, data tooling or training stack included
  • Moving from 1.x to Talos 2 requires following a separate migration guide
  • GPU optional
  • Needs Python 3.11-3.13, Keras, TensorFlow, PyTorch
  • Models: Keras, TensorFlow/tf.keras, PyTorch

Reviews for the top 30 of 126. Every project below them is ranked in the table above and has its own page with its review.

Written from each project's README and checked facts. Spot something wrong? Report it on GitHub (opens in a new tab).