SuperAPI AI Directory

GRPO-Zero vs Actor Framework

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.

Actor Framework

Actor Framework (the Actor model) is a mathematical model of concurrent computation in computer science that treats "actors" as the fundamental unit of concurrent computation. Upon receiving a message, each actor can make local decisions, create more actors, send more messages, and determine how to handle the next message. An actor can modify its own private state but can only influence other actors indirectly through message passing, thereby eliminating the need for lock-based synchronization. The model originated in 1973 and is used both for the theoretical understanding of computation and as the theoretical foundation for implementations of various concurrent systems.

DimensionGRPO-ZeroActor Framework
CategoryAI developer platformsAI developer platforms
Monthly visits—3.37B
MoM—-0.1%
Global rank—#13
Avg. visit—3m 07s
AI referrals—0.1%
PricingGitHub 开源项目 · 1,924 Stars—
GitHub stars1,924 ★—