SuperAPI AI Directory

SteptronOss

SteptronOss is a lightweight, AI-native large language model training framework open-sourced by stepfun-ai, aimed at rapid iteration, reproducible experiments, and modular configuration, covering SFT, RLVR, and evaluation workflows. It can run with only PyTorch as a dependency, while also supporting operator-level replacement for acceleration. Features include configuration-driven experiments with dynamic validation (cfshow, sanity_check), multi-task orchestration with flexible launch tools, and an extensible data/optimizer/model stack. It is suitable for researchers and engineers conducting large model training, fine-tuning, and reinforcement learning experiments.

Open website Compare
PricingOpen sourceGitHub 开源项目 · 591 Stars
GitHub stars591GitHub

Sources: GitHub

About this tool

SteptronOss (StepTronOSS) is a lightweight, AI-native training framework for large-scale language models, designed to support rapid iteration, reproducible experiments, and modular configuration across SFT, RLVR, and evaluation workflows. It can run with only PyTorch as a dependency, while also supporting operator-level replacement for acceleration.

Purpose and positioning: This framework is mainly used for training and iterative research of large language models, covering typical workflows such as supervised fine-tuning (SFT), reinforcement learning with verifiable rewards (RLVR), and evaluation. It emphasizes an "AI-native" way of working: the modular architecture facilitates validation and iterative development, and it provides AGENTS.md to guide agents in participating in code changes, making it an infrastructure-type tool for model training and experimentation.

Main capabilities:

  • Configuration-driven experiments and dynamic validation, providing the cfshow and sanity_check tools;
  • Multi-task orchestration, together with a flexible launch toolchain;
  • An extensible data, optimizer, and model stack, facilitating rapid research iteration;
  • The runtime environment supports distributed rendezvous: a Redis server is started for each experiment through a shared file system directory, STEPTRON_MEET_DIR is used to store the rendezvous file that publishes the Redis server port, and CANNOT_BE_REDIS_SERVER=1 is used to mark ranks that must not start Redis;
  • Multi-node launch script generation: use tools/build_scripts.py to generate a shell script for each replica based on resource_cfg.task_specs, with script indices accumulated within each node type (for example, all GPU tasks share a 0..N index range), and each script exports task environment variables (including task-level EXP_ID and NNODES) and calls the command assembled by mp_run; additional CLI arguments are passed through to the experiment just like in mp_run.py;
  • Optimized kernels: use only when maximizing GPU performance and kernel-level acceleration is needed; they must be installed manually and enabled in the code (all optimizations can be set at once), with reference configurations including Qwen3 8B: playground/pretrain/qwen3/qwen3_8.py and Step3.5 Flash: playground/pretrain/step3p5/step3p5_flash.py;
  • Provides an RLVR implementation and Triton kernel implementation.

Usage:

  • Using a uv virtual environment is recommended; if not in a uv environment, commands need to be prefixed with uv run.
  • For the experiment overview and sanity checks, running experiments, etc., see the documentation: Launch Guide (English) docs/LAUNCH_EXPERIMENTS.md, Launch Guide (Chinese) docs/LAUNCH_EXPERIMENTS_ZH.md; SFT Data Preparation (Chinese) docs/SFT_DATA_PREPARATION.md, SFT Data Preparation (English) docs/SFT_DATA_PREPARATION_EN.md; API module documentation docs/MODULES.md.
  • Multi-node launch scripts are generated via tools/build_scripts.py.
  • Core principles: keep configurations stateless, with runtime objects carrying state; declare configuration structures at the class level and populate values in init; use Ref("..path") for cross-node associations; call sanity_check() and to_dict() to complete validation and serialization.

Applicable scenarios: suitable for research and engineering teams that need to perform large-scale language model supervised fine-tuning, reinforcement learning with verifiable rewards, and evaluation experiments, especially scenarios where they want to rapidly iterate experiments in a configuration-driven manner, ensure experiment reproducibility, and modularly extend the training stack.

Limitations and notes: optimized kernels need to be installed manually and enabled according to the reference configuration, and are intended only for users with GPU performance requirements; the distributed rendezvous depends on a shared directory that is visible and writable to all nodes, and if all ranks set CANNOT_BE_REDIS_SERVER=1, the rendezvous will eventually time out. Regarding fees, pricing, platforms, or specific performance data, the available materials do not currently provide them.