Releases: agentscope-ai/Trinity-RFT
Release list
v0.6.0
Overview
⭐️ Highlights
Trinity-RFT v0.6.0 adds SGLang support, optimizes fully asynchronous parameter synchronization and scheduling to reduce bubbles, improves MoE training stability, and upgrades the veRL backend to v0.8.0.
Explorer
- Add SGLang inference engine support, including SGLang OpenAI API responses with
prompt_token_ids,token_ids, androuted_experts. - Upgrade vLLM to v0.23.0 and SGLang to v0.5.13.
- Refactor rollout model creation and management to support cross-node deployment of rollout models.
- Optimize fully asynchronous parameter synchronization with partial rollouts.
- Refactor weight synchronization with vLLM's
WeightTransferEngine. - Improve MoE rollout support by returning routed experts from vLLM/SGLang OpenAI API paths.
- Add data, pipeline, and expert parallel settings for rollout models to improve rollout performance.
- Enhance multi-turn and multi-modal rollout support.
- Add rollout performance benchmarking tools.
Trainer
- Upgrade veRL to v0.8.0 while keeping v0.7.1 supported.
- Improve Qwen3.5 compatibility with FSDP and Megatron backends.
- Improve MoE model training stability and reduce OOM risk in FSDP/Megatron training paths.
Buffer
- Refactor Buffer with an asynchronous implementation.
- Update the SQL schema and add filtering support to the Experience Viewer.
- Optimize the Experience Viewer.
Others
- Add Connect the Dots (CoD) example.
- Add InterCode-SQL example/benchmark.
- Add the GiGPO and DAPO algorithms.
- Improve Docker and remote GPU unit test workflows.
🚨 Breaking Changes
Due to database schema changes, the database files in the existing checkpoint folder cannot be recognized by the new version. To continue running previous experiments, please remove the corresponding .db files (typically located in the checkpoint_root_dir/project/name/buffer directory).
What's Changed
- Fix opd key error typo by @garyzhang99 in #527
- Update vllm to v0.19.1 by @pan-x-c in #529
- Refactor WorkflowRuner and Scheduler to handling partially completed tasks by @pan-x-c in #530
- Optimize Explorer by @pan-x-c in #531
- Add Performance tools by @pan-x-c in #532
- Fix: skip trainer config validation in bench mode by @shiweijiezero in #535
- Support SGLang Inference Engine by @pan-x-c in #533
- Fix(trainer,checkpoint,explorer): resolve Qwen3.5/vLLM compatibility bugs and harden runtime paths by @chenyushuo in #534
- SGLang OpenAI API Server returns
prompt_token_idsandtoken_idsby @pan-x-c in #536 - Refactor Inference Model Creation and Management by @pan-x-c in #537
- Update vLLM to 0.21.0, SGLang to 0.5.12 by @pan-x-c in #538
- Train Qwen3.5 with megatron by @pan-x-c in #540
- fix(trainer): add torch.cuda.empty_cache() after FSDP update_actor by @Leon-Algo in #541
- Bug fix on
update_weightfor MoE model. by @chenyushuo in #543 - Support return routed experts for MoE Models by @pan-x-c in #542
- Refactor Monitor Metric Aggregation by @pan-x-c in #539
- Enhance multi-turn multi-modal sft by @chenyushuo in #545
- Update Megatron by @pan-x-c in #546
- fix(trainer): add empty_cache() after compute_ref_log_prob to prevent OOM by @Leon-Algo in #548
- Fix Megatron OOM when calculating entropy by @pan-x-c in #550
- Refactor Docker environment and unit test workflow by @pan-x-c in #554
- Fix Tinker API by @pan-x-c in #553
- Enhance multi-modal for vllm model by @chenyushuo in #547
- Update SQL Schema and Add Filter to Experience Viewer by @pan-x-c in #555
- DAPO Integration in Trinity: Algorithm Registration, Dynamic Sampling Pipeline, Overlong Handling, and Reviewer-Focused Docs by @artaasd95 in #552
- fix mm_utils by @chenyushuo in #558
- fix(sglang): fix shutdown Gloo connection error by @MengsD in #559
- docs: use TINKER_API_KEY in tinker docs by @pan-x-c with @Copilot in #564
- fix: propagate the optional 'group' config field across paths, namespaces & docs by @shiweijiezero in #562
- fix(sglang): fix sglang oom (Qwen3.5-35B-A3B) by @MengsD in #561
- Return routed experts for vLLM OpenAI API by @pan-x-c in #565
- Refactor Buffer into async implementation by @pan-x-c in #557
- explorer: fix glibc getenv SIGSEGV when creating runners at startup by @shiweijiezero in #567
- fix(example): fix dapo-math reward issue by @MengsD in #566
- Add the GiGPO algorithm [FEATURE] by @artaasd95 in #560
- fix(model): add routed_experts to dummy experiences by @MengsD in #568
- Optimize Docker unittest tool by @pan-x-c in #569
- Run unittest on remote GPU server by @pan-x-c in #571
- Update VERL to 0.8.0 by @pan-x-c in #570
- Update news by @yanxi-chen in #574
- Add InterCode-SQL example and benchmark by @PatrickG1014 in #572
- Fix verl FSDP can't save checkpoints when offloading is enable by @pan-x-c in #577
- Refactor weight synchronization with vLLM's WeightTransferEngine by @pan-x-c in #578
- Add data/pipeline/expert parallel settings for rollout model by @chenyushuo in #576
- Add fully async mode without any bubble by @pan-x-c in #579
- Optimize viewer and add tests by @pan-x-c in #581
- Add Connect the Dots (CoD) overview under examples/research_cod by @shiweijiezero in #583
- Update Connect the Dots (CoD) overview README and figures by @shiweijiezero in #585
- Update vLLM to v0.23.0, SGLang to v0.5.13 by @pan-x-c in #586
- Fix qwen3.5 for verl==0.8.0 by @chenyushuo in #589
trinity convertsupports converting multiple steps by @pan-x-c in #587- Add CPT Algorithm && Formatter by @chenyushuo in #592
- fix(buffer): reshuffle with correct epoch in ShuffleSelector by @MengsD in #593
- patch
_build_moduleby @chenyushuo in #595 - Release v0.6.0 by @pan-x-c in #594
New Contributors
- @Leon-Algo made their first contribution in #541
- @artaasd95 made their first contribution in #552
- @MengsD made their first contribution in #559
- @PatrickG1014 made their first contribution in #572
Full Changelog: v0.5.2...v0.6.0
v0.5.2
Overview
- Added support for training Qwen3.5 series models.
- Upgraded core dependencies: transformers to v5.3.0, verl to v0.7.1, and vLLM to v0.19.0.
- Enabled the use of auxiliary models within the experience pipeline.
- Added support for stream mode in the rollout API.
- Enabled integration with external APIs (e.g., OpenAI) during training and benchmarking.
- Added experience data visualization capabilities.
- Optimized serialization and deserialization of experience data.
What's Changed
- Update Readme and docs by @hiyuchang in #508
- Support vLLM v0.16.0 by @pan-x-c in #510
- [Example] Clip_B and Clip_V from entropy dynamics by @hiyuchang in #509
- Support Transformers V5 by @chenyushuo in #512
- Using auxiliary models in experience pipeline & OpenAI API supports stream mode by @pan-x-c in #513
- Optimize serialize / deserialize of Experience by @pan-x-c in #514
- Support Qwen3.5 by @chenyushuo in #515
- Bug fix: vlm model with seq parallel by @chenyushuo in #517
- Add SQL Buffer Viewer to CLI by @pan-x-c in #520
- Update news in March by @hiyuchang in #522
- Rename
TaskSelectortoDataSelector. by @chenyushuo in #519 - Add openai_api model for explorer by @hiyuchang in #523
- feat: upgrade veRL to v0.7.1 with trainer file migration by @chenyushuo in #525
- Fix: dummy response text when prompt truncation is activated by @yanxi-chen in #524
- Bumping version to 0.5.2 by @pan-x-c in #526
Full Changelog: v0.5.1...v0.5.2
v0.5.1
Overview
- Enhanced support for multi-modal models (including Qwen2.5 VL, Qwen3 VL and Kimi-VL-A3B-Thinking series)
- Refactored
trinitycommand line interface usingtyper - Added a log management tool and fixed bugs in the logging system.
- Added Jensen-Shannon Divergence for on-policy distillation.
- Fixed bugs in model weight synchronization and over-rollout.
What's Changed
- Update algorithm List in README by @pan-x-c in #498
- Refactor Launcher with Typer by @pan-x-c in #502
- Fix memory resume by @hiyuchang in #505
- Fix logger in debug mode by @pan-x-c in #504
- Fix Logger in Workflow by @pan-x-c in #506
- Fix over_rollout by @luyi256 in #500
- Enhance support for VL models by @chenyushuo in #501
- jsd implement for opd by @kokolerk in #499
- Add log manager to track experiement logs by @pan-x-c in #507
New Contributors
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Overview
⭐️ Highlights
- Added
colocatemode for single-GPU deployment. - Refactored the Synchronizer and introduced a new model weight synchronization style:
TRAINER_DRIVEN. - Automatically provide parallelism setting suggestions based on cluster resources.
Explorer
- Added Multi-Threaded / Asynchronous Workflow Runner.
- Supported colocating the Rollout Model with the Trainer in single-GPU scenarios.
- Refined explorer-side metrics computation.
- Supported vLLM up to v0.15.1 (v0.10.2 remains supported).
- Fixed bugs related to multi-turn truncation.
Trainer
- Supported sharing GPU with Explorer in single-GPU scenarios.
Buffer
- Moved
SelectorintoTaskFileReader.
Others
- Added a Huggingface-format checkpoint conversion tool to the trinity CLI.
- Refactored the configuration validation system.
- Provided parallelism setting suggestions to help avoid OOM issues.
What's Changed
- Update Doc links to agentscope-ai by @chenyushuo in #480
- Add convert mode to launcher by @chenyushuo in #483
- Simplify
InferenceModelby @chenyushuo in #485 - Move
SelectorintoTaskFileReaderby @chenyushuo in #486 - Clear and fix metrics computation by @hiyuchang in #484
- feature(workflows): added a agentic workflow for sudoku by @AdnanQureshi3 in #481
- Add
config_validator.pyand refactor config by @chenyushuo in #487 - Support vLLM v0.14.1 by @pan-x-c in #488
- Fix multi-turn truncation by @hiyuchang in #489
- Add Thread / Async Workflow Runner by @pan-x-c in #491
- Add
GPUMemoryValidatorby @chenyushuo in #490 - Fix can_repeat in MultiTurnWorkflow and Metrics Reference Doc by @hiyuchang in #492
- Update Tuner Interface with logger and TuFT support by @pan-x-c in #493
- Support colocating Explorer and Training in a Single GPU by @pan-x-c in #495
- Add new sync style
TRAINER_DRIVEN. by @chenyushuo in #494 - Release v0.5.0 by @pan-x-c in #496
Full Changelog: v0.4.1...v0.5.0
v0.4.1
Overview
⭐️ Trinity-RFT repository has moved to agentscope-ai organization. You can find our new repository here🔗 and documentation here📚
This is a minor release that includes several bug fixes, feature improvements, and dependency upgrades.
Explorer
- Add OpenAI API support for Tinker backend, now users can use tinker backend to run agentic RL examples.
- Enhance the AgentScope Workflow Adapter to support features of AgentScope Tuner.
Trainer
- Update veRL to v0.7.0, which includes various performance improvements and bug fixes.
- Fix bugs in multi-stage resume and last checkpoint saving.
- Avoid preserving checkpoints for weight synchronization purpose to reduce storage usage.
Buffer
- Fix batch size mismatch issue in SQL buffer.
Others
- Introducing R3L, a systematic reflect-then-retry RL mechanism with efficient language-guided exploration and stable off-policy learning. [github repo], [paper]
- Improve documentation.
🚨 Breaking Changes
veRL has been upgraded to v0.7.0, and v0.5.0 is no longer supported.
What's Changed
- Bug fix in multi stage resume by @chenyushuo in #462
- Bug fix in last checkpoint save. by @chenyushuo in #460
- Add model_name for auxiliary models by @hiyuchang in #461
- Improve contributing.md by @yxdyc in #464
- Fix
learn_to_askandtinkerexample. by @chenyushuo in #466 - Add default batch size for
SQLReaderby @chenyushuo in #467 - Enhance AgentScope Workflow Adapter by @pan-x-c in #465
- Fix
process_messages_to_experiencein MultiTurnWorkflow by @hiyuchang in #468 - [Doc] Update docker install guide by @pan-x-c in #469
- Support dynamic lora updating by @pan-x-c in #472
- Add low-quality experience filter operator #470 by @AdnanQureshi3 in #473
- Add openai client support for tinker backend by @chenyushuo in #475
- Improve documentation for CPU-only users and first-time contributors by @P09s in #474
- Remove checkpoints saved for sync purpose by @pan-x-c in #476
- Add R3L to readme and doc by @yanxi-chen in #477
- Update veRL to 0.7.0 by @chenyushuo in #471
- Support add / remove lora adapter by @pan-x-c in #478
- Rename
warmup_styletolr_scheduler_typeby @chenyushuo in #479
New Contributors
- @AdnanQureshi3 made their first contribution in #473
- @P09s made their first contribution in #474
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Overview
⭐️ Highlights
Add Tinker backend for users without GPUs to leverage Trinity-RFT. See example for more details.
Explorer
- Add Tinker
SamplingClientbackend for users without GPUs. - Support vLLM v0.12.0 (v0.10.2 ~ v0.11.0 are still supported).
- Add a tinker-compatible
sampleAPI to the vLLM backend. - Enhance
servemode for online RL. - Fix several bugs in the vLLM OpenAI API.
Trainer
- Add Tinker
TrainingClientbackend for users without GPUs. - Add a switch in
PPOPolicyLossFnto ignore explorer-generated logprobs.
Buffer
- Support staleness control, which mitigates the negative effects of excessively off-policy data.
- Add a Streamlit viewer to visualize the experience data.
Others
- Add benchmark comparisons with veRL and rLLM.
- Refactor registration system to avoid loading all modules during initialization.
- Add algorithms: SAPO, on-policy distillation.
- Enhance debug mode; add
--module viewerto visualize experience data generated during debugging. - Add SwanLab monitor.
- Add tutorial on aligning configuration with veRL.
- Add tutorial on choosing model context length based on GPU and model size.
- Optimize README and Sphinx docs.
🚨 Breaking Changes
- The schema of SQL experience buffer is changed. Experience data saved in previous version cannot be used.
- The registration system has been refactored. Developers no longer need to use
@REGISTRY.register_moduleto register modules. See Developer Guide for details. - Tinker requires Python >= 3.11. (For users who do not use tinker, Python 3.10 is still supported)
- vLLM 0.12.0 requires CUDA >= 12.9. (For users using vLLM 0.11.0 or lower, CUDA 12.8 is still supported)
- Refactor
SampleStrategy, addkwargsto its inputs, and change the output type fromExperiencestoList[Experience]. Experiences(notExperience) is going to be deprecated
What's Changed
- Fix docker build action by @pan-x-c in #415
- Add benchmark scripts for Guru-Math by @chenyushuo in #417
- Add bench results for frozenlake and alfworld by @hiyuchang in #416
- Add corrected kl with importance sampling by @garyzhang99 in #419
- Add SAPO algorithm by @garyzhang99 in #422
- Enhance debug mode by @pan-x-c in #421
- Update README with supported algorithm and news by @hiyuchang in #424
- Fix openai api history by @pan-x-c in #428
- Add Experience Viewer by @pan-x-c in #427
- Add sequence mask for grpo by @garyzhang99 in #420
- Fix the mismatch between vLLM OpenAI API and vLLM
generateby @pan-x-c in #431 - Add Guru-Math report. by @chenyushuo in #432
- Refactor and Merge several
compute_scorefunctions by @hiyuchang in #430 - Add scripts to search context length capacity on given settings. by @chenyushuo in #423
- [Doc] Align with verl by @hiyuchang in #433
- [Doc] add a new page with example list from the dataset perspective by @HYLcool in #434
- General Multi-turn FrozenLake by @pan-x-c in #429
- Fix sft warmup yaml by @hiyuchang in #435
- Update Benchmark doc and FAQ by @pan-x-c in #436
- Fix typo in doc and check selector by @hiyuchang in #437
- Add report for gsm8k alignment experiment. by @chenyushuo in #439
- Alfworld Concatenated Multi-turn RFT SFT format AND settings. by @kokolerk in #442
- BOTS reference evaluation results collection by @ShenQianli in #440
- add fallback_to_policy_gradient option by @binary-husky in #443
- Support vLLM v0.12.0 by @pan-x-c in #438
- Optimize registry by @hiyuchang in #441
- Add staleness control by @chenyushuo in #445
- Implement On-Policy Distillation by @garyzhang99 in #444
- Fix some typos by @hiyuchang in #447
- Explorer API collects feedback from agent applications by @pan-x-c in #295
- Check Explorer GPU Number by @hiyuchang in #453
- impl swanlab monitor by @binary-husky in #450
- Pre release 0.4.0 by @pan-x-c in #455
- improve ray stat by @binary-husky in #454
- Implement Tinker compatible sample API by @pan-x-c in #456
- Enhance AgentScope Workflow Adapter by @pan-x-c in #457
- Add GSPO-style REC variant by @yanxi-chen in #380
- Add tinker backend. by @chenyushuo in #448
- Release v0.4.0 by @pan-x-c in #459
New Contributors
- @kokolerk made their first contribution in #442
- @binary-husky made their first contribution in #443
Full Changelog: v0.3.3...v0.4.0
v0.3.3
Overview
This is a bug fix update that addresses many bugs present in versions 0.3. We recommend all users currently using versions 0.3.0/0.3.1/0.3.2 upgrade to this new version.
Explorer
- Over Rollout: This mechanism allows the explorer to proceed with fewer tasks than the full batch size. It effectively increases throughput in scenarios where some tasks take significantly longer to complete than others.
- Make the prompt truncation configurable
- Fix logprobs calculation when temperature is not 1.0
- Support rope scaling
- Support loading custom chat template files
- Support recording workflow running status
- Optimize the aggregation of workflow metrics
Trainer
- Update ppo policy loss calculation
- Fix loss aggregation for kl loss and entropy loss
- Optimize Trainer checkpoints saving
Buffer
- Support registering custom Task Reader
- Support token-level reward
- Fix some bugs
Others
- Add "Learn to Ask" and "Frozen Lake" examples
- Update Dockerfile
What's Changed
- Fix doc/config issues about prompt/response/sequence lengths by @yanxi-chen in #370
- Limit the number of historical document versions by @pan-x-c in #372
- Add
learn_to_askexample by @chenyushuo in #356 - Update main readme by @yanxi-chen in #374
- Fix
default_sampling_paramsandsimple_workflowby @chenyushuo in #373 - Fix metrics in trainer by @chenyushuo in #381
- Minor updates for BOTS example by @HYLcool in #385
- Fix vLLM prompt logprobs calculation by @pan-x-c in #384
- Fix alfworld dataset loading to use correct train/test split by @shiweijiezero in #378
- Bug fix when set
total_steps. by @chenyushuo in #386 - Add more useful options in
OptimizerConfigby @garyzhang99 in #371 - Add
rope_scalingandrope_thetato config by @chenyushuo in #390 - Add chat_template_path and trust_remote_code by @hiyuchang in #379
- Add
loss_agg_modefor kl and entropy_loss by @pan-x-c in #388 - Bug fix in benchmark ckpt loading and megatron hf save by @chenyushuo in #392
- Support Over Rollout by @pan-x-c in #376
- Make Alfworld Rollout Parallel by @hiyuchang in #393
- Make buffer reader registerable by @pan-x-c in #395
- [Example] Frozen_Lake by @hiyuchang in #375
- Add
token_level_rewardtoExperienceby @chenyushuo in #404 - Support recording workflow running status by @pan-x-c in #397
- Bug fix for trainer_state saving by @chenyushuo in #408
- Fix dynamic timeout by @pan-x-c in #409
- Typo fix by @chenyushuo in #411
- Fix repeat times in evaluation by @chenyushuo in #410
- Add
truncate_statusto experience by @hiyuchang in #407 - Add trainer_strategy and save_hf_checkpoint by @pan-x-c in #412
- Save bf16 model by @chenyushuo in #414
- Add Docker image build and push workflow by @pan-x-c in #413
Full Changelog: v0.3.2...v0.3.3
v0.3.2
Overview
This is a bug fix update that addresses many bugs present in versions 0.3. We recommend all users currently using versions 0.3.0 and 0.3.1 upgrade to this new version.
Buffer
- Support task scheduler and selector in task dataset
- Add BOTS: Online RL task selection for efficient LLM fine-tuning (paper).
- Extract the
PriorityFunctionof the replay buffer as a customizable module.
Explorer
- Update vLLM to v0.11.0
- Fix
logprobs,top_k,top_p,temperaturemismatch when using vLLM's OpenAI API server - Fix torch cache conflicts when
enforce_eagerisFalse - Simplify Workflow Inferface
Other Modules
- Optimize monitor metrics organization
- Optimize and simplify Config and config manager
- Add more algorithm and examples
What's Changed
- Simplify trainer config by @hiyuchang in #329
- Simplify Workflow Interface by @pan-x-c in #330
- Update off-policy RFT documentation by @yanxi-chen in #335
- Simplify Buffer and Explorer Config by @pan-x-c in #333
- Update rec example by @yanxi-chen in #337
- Sync the config manager with the latest codebase by @hiyuchang in #332
- Add taskset scheduler by @chenyushuo in #326
- Split Storage Config by @pan-x-c in #338
- Fix some metrics by @hiyuchang in #339
- Refactor Priority Function by @chenyushuo in #344
- Bug fix in unittest by @chenyushuo in #346
- [Example] Mix algorithm with VLM by @hiyuchang in #342
- Add example for experience replay by @yanxi-chen in #345
- Fix Bug: group_rewards Un-assigned value by @shiweijiezero in #343
- Fix openai client logprobs calculation by @pan-x-c in #347
- Fix openai API server setup by @pan-x-c in #348
- Update readme by @yanxi-chen in #349
- Update vLLM to 0.11 by @pan-x-c in #350
- bug fix in plugin_loader by @chenyushuo in #354
- Fix/email search by @chenyushuo in #351
- Enable System Metrics Recording in MLFLOW by @hiyuchang in #362
- Add generation args to ModelConfig by @chenyushuo in #357
- Add
std_thresholdoption toStepWiseGRPOAdvantageFn, to filter out zero-grad group samples. by @garyzhang99 in #363 - Fix microbatch loss scale when loss_agg_mode is "token-mean" by @yanxi-chen in #336
- Add
weight_decayin OptimizerConfig by @hiyuchang in #364 - Fix taskset and eval_tasksets path by @hiyuchang in #367
- Fix torch compile cache dir conflicts when
enforce_eager=Falseby @pan-x-c in #368 - Examples for BOTS by @ShenQianli in #353
- Release Trinity-RFT 0.3.2 by @pan-x-c in #369
New Contributors
- @ShenQianli made their first contribution in #353
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Overview
Agentic RL
- Add more agentic RL examples using agent frameworks (e.g. AgentScope)
- Provide Debug mode for workflow developers
- Add examples for RL in non-verifiable domain: trainable RULER reward, rubric-as-reward
Framework Enhancement
- Support multi-stage training
- Support using environment variables in configuration file
- Support LoRA
- Enhance checkpoint saving process
- Enhance experience replay mechanism for priority queue buffer
- Add algorithms: group-relative REINFORCE variants
- Update vLLM to 0.10.2
Documentation
- Add Chinese Docs
- Rewrite Developer Guide
What's Changed
- Support new task ordering methods by @HYLcool in #265
- Fix problem in get_openr1_dataset.py in chord example by @garyzhang99 in #266
- Replace
/PATH/TOto${oc.env:TRINITY_XXX}by @chenyushuo in #267 - Support multi-stage training by @pan-x-c in #268
- [Example] Policy model as its own reward model by @hiyuchang in #270
- Dev/update agentscope react example version by @garyzhang99 in #275
- Normalize Trainer by @pan-x-c in #271
- Refactor workflow to async workflow by @chenyushuo in #276
- Support Chinese Docs by @hiyuchang in #277
- Support vLLM 0.10.2 by @pan-x-c in #278
- AgentScopeV1.0 WebSearch Workflow(simple react + search api) by @garyzhang99 in #264
- Add enable_activation_offload configuration option by @nkkarpov in #281
- Update data-juicer version in toml by @chenyushuo in #286
- Improvement in config by @chenyushuo in #288
- Add
loss-agg-modefor policy loss by @hiyuchang in #294 - Explorer provides OpenAI API compatible inference service by @pan-x-c in #289
- Fix absmethod in workflow by @chenyushuo in #297
- Add LoRA mode by @hiyuchang in #291
- Enhance support for multi-modal models by @pan-x-c in #298
- Group-relative REINFORCE Families by @yaochaorui in #292
- Optimize Installation and Development Doc by @pan-x-c in #301
- Update Readme by @pan-x-c in #302
- Refactor checkpoint save by @chenyushuo in #299
- Refactor AgentScope ReAct Agent workflow example by @pan-x-c in #303
- Update Workflow Developement Tutorial by @pan-x-c in #310
- Update chord with tooluse example by @garyzhang99 in #313
- Debug Mode for workflow developers by @pan-x-c in #314
- [BUGFIX]Fix tokenizer bug when getting action masks with enable_thinking arguments by @garyzhang99 in #316
- Add
task_countby @hiyuchang in #307 - Update FAQ by @hiyuchang in #320
- Refactoring
EmailSearchWorkflowandEmailSearchAgentto adapt to the latest version ofAgentscope. by @chenyushuo in #321 - Non-verifiable Medicine QA Task by @hiyuchang in #317
- Add batch level std calculation by @garyzhang99 in #311
- Implement serial saving by @chenyushuo in #322
- Enhance experience replay for priority queue buffer by @yanxi-chen in #306
- Fix example config typo by @garyzhang99 in #323
- Simplify Config by @pan-x-c in #325
- Update config from ray cluster by @hiyuchang in #324
- Support AgentScope Workflow Function by @pan-x-c in #327
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Overview
Framework Development
Buffer Module
- Use
OperatorInterface to replace the originalAddStrategy.Operatorcan perform various transformations on experience data in a pipeline manner. [Breaking Change] - Add
TaskPipelineandExperiencePipelinefor task and experience data preprocessing. - Support calling Data-Juicer services in both
TaskPipelineandExperiencePipeline, and resolve some dependency conflicts. - Refactor
SQL/FILEstorage.SQLcan store SFT/DPO/Rollout/Experience data.SQLandFILEsupport parsing multi-turn SFT data with tools. [Breaking Change]
Trainer Module
- Support FSDP2 backend
- Support Megatron backend
- Support Qwen2.5 VL muti-modal models [Experimental]
Explorer Module
- Support Qwen2.5 VL multi-modal models [Experimental]
Workflowsupports running in async mode.ModelWrapperprovidesopenai.AsyncOpenAIinterface.
Utils Module
- Enhance logger and support printing logs of different actors to different files under the checkpoint dir
- Enhance wandb and mlflow monitor
New Algorithms
New Workflows
- General Multi-turn Email Search
Others
- Support
uv - Refactor README and documents
- Fix many bugs
What's Changed
- Support FSDP2 by @chenyushuo in #204
- Update veRL to 0.5.0 by @pan-x-c in #195
- Enhance Buffer Data Processing Pipeline by @pan-x-c in #175
- Remove
AddStrategyby @pan-x-c in #211 - Add sft tools example and tests by @garyzhang99 in #210
- Cleaning up the old-version data processor by @HYLcool in #213
- Update main readme for v0.2.1 by @yanxi-chen in #216
- Add data_process figure by @hiyuchang in #218
- Enhance Logger by @pan-x-c in #217
- Bug fix for experience display in wandb by @chenyushuo in #224
- Fix links in readme by @yanxi-chen in #225
- Fix alfworld prompt typo by @garyzhang99 in #222
- Enhance SFT/DPO reader by @pan-x-c in #226
- AsymRE by @yaochaorui in #187
- [example] An email search workflow by @hiyuchang in #230
- Bug fix for FSDP offload by @chenyushuo in #233
- Refactor Storage by @pan-x-c in #227
- sPPO by @yaochaorui in #232
- Specify attempt in error message in run_with_retry by @vadimkantorov in #241
- Add issue template by @pan-x-c in #246
- [Example] GRPO on GSM8K with RULER reward by @hiyuchang in #239
- Add TOPR and CISPO algorithm by @garyzhang99 in #185
- Support Multi turn SFT with tools by @pan-x-c in #245
- Support Megatron by @chenyushuo in #219
- Support Multi-Modal LLM by @hiyuchang in #234
- Add
log_tablefunction for mlflow by @hiyuchang in #249 - Update the example of human in the loop by @HYLcool in #247
- Keep SQL Experience Buffer behavior consistent with previous versions by @pan-x-c in #248
- Update MoE training in example by @chenyushuo in #251
- SFT tools schema fix by @garyzhang99 in #252
- Merge verl-related config into default config by @hiyuchang in #256
- Update config manager for 0.3.0 by @chenyushuo in #257
Full Changelog: v0.2.1...v0.3.0