SuperAPI AI Directory

GRPO-Zero vs ColossalAI

Metrics & specs comparison

GRPO-Zero

GRPO-Zero is an open-source project that implements from scratch the GRPO algorithm used by DeepSeek R1, striving for minimal dependencies and reduced GPU memory usage. It depends almost not at all on transformers and vLLM, using only tokenizers for tokenization and PyTorch for training. The default configuration can run for several hours on a single A40 (48GB of VRAM) to achieve good results, and it also supports training on a 24GB VRAM GPU (such as an RTX 4090) by offloading the optimizer to the CPU. The project also introduces several improvements from DAPO: token-level policy gradient loss, removal of the KL divergence, filtering of overly long episodes, and training a Qwen2.5 model on the CountDown task.

ColossalAI

Colossal-AI is an open-source framework for distributed training and inference of large-scale AI models, with the goal of making large-model training cheaper, faster, and easier to use. It provides a variety of parallelism strategies such as data parallelism, pipeline parallelism, 1D/2D/2.5D/3D tensor parallelism, sequence parallelism, ZeRO, and automatic parallelism, and integrates heterogeneous memory management PatrickStar, supporting quick startup of distributed training and inference via configuration files. The project has also open-sourced implementation cases such as Open-Sora-like video generation, the Colossal-LLaMA-2 domain model solution, ColossalChat (including a complete RLHF workflow), Colossal-Inference inference acceleration, and Stable Diffusion and AlphaFold acceleration. Installation supports PyPI, source code, Docker, and DockerHub images; the official documentation states that currently only Linux is supported, and recommends Python >= 3.10 and < 3.13, and NVIDIA GPU Compute Capability >= 7.0.

DimensionGRPO-ZeroColossalAI
CategoryAI developer platformsAI developer platforms
PricingGitHub 开源项目 · 1,924 StarsGitHub 开源项目 · 41,430 Stars
GitHub stars1,924 ★41,430 ★