verl icon indicating copy to clipboard operation
verl copied to clipboard

同参数下,verl无法复现easyr1的曲线

Open today-still-sleep-early opened this issue 11 months ago • 3 comments

System Info

----------Python Info---------- Version : 3.12.0 Compiler : GCC 11.2.0 Build : ('main', 'Oct 2 2023 17:29:18') Arch : ('64bit', 'ELF') ------------Pip Info----------- Version : 25.3 Directory : xxxxxxxxxxx/miniconda3/envs/verl/lib/python3.12/site-packages/pip vllm : 0.11.0 sglang : 0.5.2 ray : 2.52.1 torch : 2.8.0 ----------verl Info----------- Version : 0.7.0.dev Directory : xxxxxxxxxxxxxxxx Commit Hash : 7deb67ca177a38b060bca007198aecb3fa4431dd ----------Platform Info---------- Platform : Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.35 system : Linux node : app-78c12bb1cb3b48d68ca001d10d56a2eb-574768fbf5-5m5d6 release : 5.14.0-284.25.1.el9_2.x86_64 version : #1 SMP PREEMPT_DYNAMIC Wed Aug 2 14:53:30 UTC 2023 ----------Environment---------- CUDA Runtime : 12.8 CUDA compiler : Not found: [Errno 2] No such file or directory: 'nvcc' ----------System Info---------- CPU Memory : 2011.11 GB GPU Count : 4 GPU 1 Type : NVIDIA H200 GPU 1 Memory : 140.40 GB GPU 2 Type : NVIDIA H200 GPU 2 Memory : 140.40 GB GPU 3 Type : NVIDIA H200 GPU 3 Memory : 140.40 GB GPU 4 Type : NVIDIA H200 GPU 4 Memory : 140.40 GB

Information

  • [ ] The official example scripts
  • [x] My own modified scripts

Tasks

  • [ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • [x] My own task or dataset (give details below)

Reproduction

如图所示:verl 和 easyr1 在同一数据集,同样的reward方式,同样的参数下,实验效果区别较大

verl的reward会从0.5涨到0.6之后开始震荡,而easyr1则可以持续涨到0.7, 并且verl框架的ppo-kl极低,entropy却很高,并且grad-norm也比easyr1 大数倍

Image Image 上图为verl中的结果,下面为easyr1的结果: Image Image Image

Expected behavior

下面给出具体详细的参数

verl 和 easyr1 在同一数据集,同样的reward方式,同样的参数下,实验效果区别较大,verl的reward会从0.5涨到0.6之后开始震荡,而easyr1则可以持续涨到0.7,且verl的ppo-kl极低,entropy却很高,并且grad-norm也较大 verl的参数为:{ "data": { "value": { "seed": 1, "datagen": { "name": null, "path": null }, "sampler": { "class_name": null, "class_path": null }, "shuffle": true, "use_shm": false, "image_key": "images", "tokenizer": null, "val_files": "/verl_old/data/Vision-R1-rl/test.parquet", "video_key": "videos", "custom_cls": { "name": null, "path": null }, "prompt_key": "prompt", "truncation": "error", "train_files": "/TRAINING_DATA/coder1_llava_mmk12_sn1b_virl_visionr1_pebr_verl/verl_dataset_merged/train.parquet", "reward_fn_key": "data_source", "gen_batch_size": 128, "val_batch_size": null, "return_raw_chat": true, "val_max_samples": -1, "image_patch_size": 14, "tool_config_path": null, "train_batch_size": 128, "max_prompt_length": 16384, "train_max_samples": -1, "trust_remote_code": false, "return_full_prompt": false, "validation_shuffle": false, "max_response_length": 16384, "return_raw_input_ids": false, "dataloader_num_workers": 8, "filter_overlong_prompts": true, "return_multi_modal_inputs": true, "filter_overlong_prompts_workers": 8 } }, "python": "CPython 3.12.0", "program": "/miniconda3/envs/verl/lib/python3.12/site-packages/ray/_private/workers/default_worker.py", "writerId": "p0hioeddsgyd6lie2iliyhstfonkoj1h", "cpu_count": 96, "gpu_count": 8, "startedAt": "2025-12-23T13:17:00.787577Z", "executable": "/miniconda3/envs/verl/bin/python3.12", "critic": { "value": { "model": { "path": "/models/deepseek-llm-7b-chat", "use_shm": false, "target": "verl.workers.config.FSDPCriticModelCfg", "lora_rank": 0, "lora_alpha": 16, "fsdp_config": { "seed": 42, "dtype": "bfloat16", "target": "verl.workers.config.FSDPEngineConfig", "strategy": "fsdp", "fsdp_size": -1, "model_dtype": "fp32", "wrap_policy": { "min_num_params": 0 }, "forward_only": false, "param_offload": false, "offload_policy": false, "use_orig_params": false, "forward_prefetch": false, "full_determinism": false, "optimizer_offload": false, "use_torch_compile": true, "entropy_checkpointing": false, "reshard_after_forward": true, "ulysses_sequence_parallel_size": 1, "entropy_from_logits_with_chunking": false }, "external_lib": null, "target_modules": "all-linear", "tokenizer_path": "/model/Qwen/Qwen3-VL-8B-Instruct", "trust_remote_code": true, "use_remove_padding": false, "enable_activation_offload": false, "enable_gradient_checkpointing": true }, "optim": { "lr": 0.00001, "betas": [ 0.9, 0.999 ], "target": "verl.workers.config.FSDPOptimizerConfig", "clip_grad": 1, "optimizer": "AdamW", "num_cycles": 0.5, "min_lr_ratio": 0, "warmup_style": null, "weight_decay": 0.01, "optimizer_impl": "torch.optim", "lr_warmup_steps": -1, "lr_scheduler_type": "constant", "total_training_steps": 9705, "lr_warmup_steps_ratio": 0, "override_optimizer_config": null }, "enable": null, "shuffle": false, "target": "verl.workers.config.FSDPCriticConfig", "profiler": { "tool": null, "ranks": [], "enable": false, "target": "verl.utils.profiler.ProfilerConfig", "all_ranks": false, "save_path": "outputs/profile", "strategy": "fsdp", "grad_clip": 1, "rollout_n": 10, "checkpoint": { "target": "verl.trainer.config.CheckpointConfig", "async_save": false, "load_contents": [ "model", "optimizer", "extra" ], "save_contents": [ "model", "optimizer", "extra" ] }, "ppo_epochs": 1, "loss_agg_mode": "token-mean", "cliprange_value": 0.5, "use_dynamic_bsz": true, "ppo_mini_batch_size": 32, "ppo_micro_batch_size": null, "forward_micro_batch_size": null, "ppo_max_token_len_per_gpu": 32768, "ppo_micro_batch_size_per_gpu": null, "forward_max_token_len_per_gpu": 32768, "ulysses_sequence_parallel_size": 1, "forward_micro_batch_size_per_gpu": null } }, "trainer": { "value": { "device": "cuda", "logger": [ "console", "wandb" ], "nnodes": 2, "val_only": false, "save_freq": 30, "test_freq": 30, "resume_mode": "auto", "project_name": "verl-dapo_ds-rollout-record", "total_epochs": 5, "balance_batch": true, "critic_warmup": 0, "experiment_name": "ds_dapo-rollout-test1", "n_gpus_per_node": 8, "default_hdfs_dir": null, "resume_from_path": null, "rollout_data_dir": "verl/logs/rollout_data_dir", "val_before_train": true, "default_local_dir": "verl/logs/verl-dapo_ds-rollout-record/ds_dapo-rollout-test1/20251223_203619", "esi_redundant_time": 0, "log_val_generations": 0, "validation_data_dir": null, "total_training_steps": null, "max_actor_ckpt_to_keep": null, "use_legacy_worker_impl": "auto", "max_critic_ckpt_to_keep": null, "del_local_ckpt_after_load": false, "ray_wait_register_center_timeout": 300 } }, "algorithm": { "value": { "lam": 1, "gamma": 1, "pf_ppo": { "weight_pow": 2, "reweight_method": "pow" }, "kl_ctrl": { "type": "fixed", "horizon": 10000, "kl_coef": 0.01, "target": "verl.trainer.config.KLControlConfig", "target_kl": 0.1 }, "target": "verl.trainer.config.AlgoConfig", "kl_penalty": "kl", "use_pf_ppo": false, "adv_estimator": "grpo", "filter_groups": { "enable": true, "metric": "acc", "target": "verl.trainer.config.FilterGroupsConfig", "max_num_gen_batches": 10 }, "use_kl_in_reward": false, "rollout_correction": { "rollout_is": null, "rollout_rs": null, "bypass_mode": false, "use_policy_gradient": false, "rollout_is_threshold": 2, "rollout_rs_threshold": null, "rollout_is_batch_normalize": false, "rollout_rs_threshold_lower": null, "rollout_token_veto_threshold": null }, "norm_adv_by_std_in_grpo": true } }, "ray_kwargs": { "value": { "ray_init": { "num_cpus": null }, "timeline_json_file": null } }, "reward_model": { "value": { "model": { "path": "/models/FsfairX-LLaMA3-RM-v0.1", "use_shm": false, "fsdp_config": { "target": "verl.workers.config.FSDPEngineConfig", "fsdp_size": -1, "wrap_policy": { "min_num_params": 0 }, "param_offload": false, "forward_prefetch": false, "reshard_after_forward": true }, "external_lib": null, "input_tokenizer": "/model/Qwen/Qwen3-VL-8B-Instruct", "trust_remote_code": false, "use_fused_kernels": true, "use_remove_padding": false }, "enable": false, "nnodes": 0, "rollout": { "name": "???", "dtype": "bfloat16", "target": "verl.workers.config.RolloutConfig", "load_format": "auto", "limit_images": null, "max_num_seqs": 1024, "enforce_eager": true, "max_model_len": null, "prompt_length": 512, "response_length": 512, "disable_log_stats": true, "free_cache_engine": true, "data_parallel_size": 1, "skip_tokenizer_init": true, "expert_parallel_size": 1, "enable_prefix_caching": true, "enable_chunked_prefill": true, "gpu_memory_utilization": 0.5, "max_num_batched_tokens": 8192, "cudagraph_capture_sizes": null, "tensor_model_parallel_size": 2 },

  "strategy": "fsdp",
  "max_length": null,
  "reward_manager": "naive",
  "sandbox_fusion": {
    "url": null,
    "max_concurrent": 64,
    "memory_limit_mb": 1024
  },
  "n_gpus_per_node": 0,
  "overlong_buffer": {
    "len": 4096,
    "log": false,
    "enable": false,
    "penalty_factor": 1
  },
  "use_dynamic_bsz": true,
  "use_reward_loop": true,
  "micro_batch_size": null,
  "enable_resource_pool": false,
  "launch_reward_fn_async": false,
  "micro_batch_size_per_gpu": null,
  "forward_max_token_len_per_gpu": 32768,
  "ulysses_sequence_parallel_size": 1
}

}, "reward_manager": { "value": { "name": "naive", "module": { "name": "custom_reward_manager", "path": null, "target": "verl.trainer.config.config.ModuleConfig" }, "source": "register", "target": "verl.trainer.config.config.RewardManagerConfig" } }, "transfer_queue": { "value": { "enable": false } }, "global_profiler": { "value": { "tool": null, "steps": null, "target": "verl.utils.profiler.ProfilerConfig", "save_path": "outputs/profile", "global_tool_config": { "nsys": { "target": "verl.utils.profiler.config.NsightToolConfig", "discrete": false, "worker_nsight_options": { "kill": "none", "trace": "cuda,nvtx,cublas,ucx", "capture-range": "cudaProfilerApi", "cuda-graph-trace": "graph", "capture-range-end": null, "cuda-memory-usage": "true" }, "controller_nsight_options": { "trace": "cuda,nvtx,cublas,ucx", "cuda-graph-trace": "graph", "cuda-memory-usage": "true" } }, "torch_memory": { "stacks": "all", "context": "all", "stack_depth": 32, "trace_alloc_max_entries": 100000 } }, "profile_continuous_steps": false } }, "actor_rollout_ref": { "value": { "ref": { "target": "verl.workers.config.FSDPActorConfig", "profiler": { "tool": null, "ranks": [], "enable": false, "target": "verl.utils.profiler.ProfilerConfig", "all_ranks": false, "save_path": "outputs/profile",

    "strategy": "fsdp",
    "rollout_n": 10,
    "fsdp_config": {
      "seed": 42,
      "dtype": "bfloat16",
      "_target_": "verl.workers.config.FSDPEngineConfig",
      "strategy": "fsdp",
      "fsdp_size": -1,
      "model_dtype": "fp32",
      "wrap_policy": {
        "min_num_params": 0
      },
      "forward_only": true,
      "param_offload": false,
      "offload_policy": false,
      "use_orig_params": false,
      "forward_prefetch": false,
      "full_determinism": false,
      "optimizer_offload": false,
      "use_torch_compile": true,
      "entropy_checkpointing": false,
      "reshard_after_forward": true,
      "ulysses_sequence_parallel_size": 1,
      "entropy_from_logits_with_chunking": false
    },
    "router_replay": {
      "mode": "disabled",
      "_target_": "verl.workers.config.RouterReplayConfig",
      "record_file": null,
      "replay_file": null
    },
    "use_torch_compile": true,
    "entropy_checkpointing": false,
    "log_prob_use_dynamic_bsz": true,
    "log_prob_micro_batch_size": null,
    "log_prob_max_token_len_per_gpu": 32768,
    "ulysses_sequence_parallel_size": 1,
    "entropy_from_logits_with_chunking": false,
    "log_prob_micro_batch_size_per_gpu": 1
  },
  "actor": {
    "optim": {
      "lr": 0.000001,
      "betas": [
        0.9,
        0.999
      ],
      "_target_": "verl.workers.config.FSDPOptimizerConfig",
      "clip_grad": 1,
      "optimizer": "AdamW",
      "num_cycles": 0.5,
      "min_lr_ratio": 0,
      "warmup_style": null,
      "weight_decay": 0.01,
      "optimizer_impl": "torch.optim",
      "lr_warmup_steps": 0,
      "lr_scheduler_type": "constant",
      "total_training_steps": 9705,
      "lr_warmup_steps_ratio": 0,
      "override_optimizer_config": null
    },
    "strategy": "fsdp",
    "grad_clip": 1,
    "rollout_n": 10,
    "checkpoint": {
      "_target_": "verl.trainer.config.CheckpointConfig",
      "async_save": false,
      "load_contents": [
        "model",
        "optimizer",
        "extra"
      ],
      "save_contents": [
        "model",
        "optimizer",
        "extra"
      ]
    },
    "clip_ratio": 0.2,
    "ppo_epochs": 1,
    "fsdp_config": {
      "seed": 42,
      "dtype": "bfloat16",
      "_target_": "verl.workers.config.FSDPEngineConfig",
      "strategy": "fsdp",
      "fsdp_size": -1,
      "model_dtype": "fp32",
      "wrap_policy": {
        "min_num_params": 0
      },
      "forward_only": false,
      "param_offload": true,
      "offload_policy": false,
      "use_orig_params": false,
      "forward_prefetch": false,
      "full_determinism": false,
      "optimizer_offload": true,
      "use_torch_compile": true,
      "entropy_checkpointing": false,
      "reshard_after_forward": true,
      "ulysses_sequence_parallel_size": 1,
      "entropy_from_logits_with_chunking": false
    },
    "policy_loss": {
      "_target_": "verl.workers.config.PolicyLossConfig",
      "loss_mode": "vanilla",
      "clip_cov_lb": 1,
      "clip_cov_ub": 5,
      "ppo_kl_coef": 0.1,
      "kl_cov_ratio": 0.0002,
      "clip_cov_ratio": 0.0002
    },
    "use_kl_loss": false,
    "clip_ratio_c": 3,
    "kl_loss_coef": 0.01,
    "kl_loss_type": "low_var_kl",
    "entropy_coeff": 0,
    "loss_agg_mode": "token-mean",
    "router_replay": {
      "mode": "disabled",
      "_target_": "verl.workers.config.RouterReplayConfig",
      "record_file": null,
      "replay_file": null
    },
    "clip_ratio_low": 0.2,
    "clip_ratio_high": 0.28,
    "use_dynamic_bsz": true,
    "data_loader_seed": 42,
    "calculate_entropy": false,
    "loss_scale_factor": null,
    "use_fused_kernels": true,
    "use_torch_compile": true,
    "use_remove_padding": true,
    "freeze_vision_tower": false,
    "ppo_mini_batch_size": 32,
    "ppo_micro_batch_size": null,
    "entropy_checkpointing": false,
    "ppo_max_token_len_per_gpu": 32768,
    "ppo_micro_batch_size_per_gpu": 1,
    "ulysses_sequence_parallel_size": 1,
    "entropy_from_logits_with_chunking": false
  },
  "model": {
    "path": "model/Qwen/Qwen3-VL-8B-Instruct",
    "use_shm": false,
    "_target_": "verl.workers.config.HFModelConfig",
    "lora_rank": 0,
    "use_liger": false,
    "lora_alpha": 16,
    "external_lib": null,
    "hf_config_path": null,
    "target_modules": "all-linear",
    "tokenizer_path": null,
    "exclude_modules": null,
    "lora_adapter_path": null,
    "trust_remote_code": true,
    "use_fused_kernels": true,
    "use_remove_padding": true,
    "custom_chat_template": null,
    "fused_kernel_options": {
      "impl_backend": "torch"
    },
    "enable_activation_offload": false,
    "enable_gradient_checkpointing": true
  },
  "rollout": {
    "n": 10,
    "mode": "async",
    "name": "vllm",
    "agent": {
      "_target_": "verl.workers.config.AgentLoopConfig",
      "num_workers": 8,
      "default_agent_loop": "single_turn_agent",
      "custom_async_server": {
        "name": null,
        "path": null,
        "_target_": "verl.workers.config.CustomAsyncServerConfig"
      },
      "agent_loop_config_path": null
    },
    "dtype": "bfloat16",
    "top_k": -1,
    "top_p": 1,
    "load_format": "dummy",
    "temperature": 1,
    "max_num_seqs": 1024,
    "skip_rollout": false,
    "enforce_eager": false,
    "max_model_len": null,
    "prompt_length": 16384,
    "skip_dump_dir": "/tmp/rollout_dump",
    "layered_summon": false,
    "response_length": 16384,
    "over_sample_rate": 0,
    "disable_log_stats": true,
    "free_cache_engine": true,
    "data_parallel_size": 1,
    "calculate_log_probs": false,
    "multi_stage_wake_up": false,
    "skip_tokenizer_init": true,
    "expert_parallel_size": 1,
    "enable_prefix_caching": true,
    "enable_chunked_prefill": true,
    "gpu_memory_utilization": 0.6,
    "max_num_batched_tokens": 32768,
    "cudagraph_capture_sizes": null,
    "log_prob_use_dynamic_bsz": true,
    "log_prob_micro_batch_size": null,
    "tensor_model_parallel_size": 8,
    "pipeline_model_parallel_size": 1,
    "enable_rollout_routing_replay": false,
    "log_prob_max_token_len_per_gpu": 32768,
    "update_weights_bucket_megabytes": 512,
    "log_prob_micro_batch_size_per_gpu": 4
  },
  "nccl_timeout": 600,
  "hybrid_engine": true
}

}, "custom_reward_function": { "value": { "name": "compute_score", "path": "/verl/recipe/dapo/multitask_reward_func.py" } } } easyr1的配置为:data: train_files: hiyouga/math12k@train val_files: ./geometry3k_test.parquet prompt_key: problem answer_key: answer image_key: images video_key: videos image_dir: null video_fps: 2.0 max_prompt_length: 16384 max_response_length: 16384 rollout_batch_size: 512 # equivalent to verl's data.train_batch_size mini_rollout_batch_size: null # equivalent to verl's data.gen_batch_size val_batch_size: 1024 format_prompt: ./examples/format_prompt/math.jinja override_chat_template: null shuffle: true seed: 1 min_pixels: 1 max_pixels: 41943040 filter_overlong_prompts: true

algorithm: adv_estimator: grpo disable_kl: true use_kl_loss: true kl_penalty: low_var_kl kl_coef: 1.0e-2 online_filtering: false # dapo filter groups filter_key: overall filter_low: 0.01 filter_high: 0.99

worker: actor: global_batch_size: 128 # equivalent to verl's actor.ppo_mini_batch_size micro_batch_size_per_device_for_update: 1 # equivalent to verl's actor.ppo_micro_batch_size_per_gpu micro_batch_size_per_device_for_experience: 1 # equivalent to verl's rollout.log_prob_micro_batch_size_per_gpu max_grad_norm: 1.0 padding_free: true dynamic_batching: true ulysses_size: 1 model: model_path: Qwen/Qwen2.5-7B-Instruct enable_gradient_checkpointing: true trust_remote_code: false freeze_vision_tower: false optim: lr: 1.0e-6 weight_decay: 1.0e-2 strategy: adamw # {adamw, adamw_bf16} lr_warmup_ratio: 0.0 fsdp: enable_full_shard: true enable_cpu_offload: false enable_rank0_init: true offload: offload_params: true # true: more CPU memory; false: more GPU memory offload_optimizer: true # true: more CPU memory; false: more GPU memory

rollout: n: 10 temperature: 1.0 top_p: 1.0 limit_images: 0 gpu_memory_utilization: 0.6 enforce_eager: false enable_chunked_prefill: false tensor_parallel_size: 8 disable_tqdm: false val_override_config: temperature: 0.6 top_p: 0.95 n: 1

ref: fsdp: enable_full_shard: true enable_cpu_offload: true # true: more CPU memory; false: more GPU memory enable_rank0_init: true offload: offload_params: false

reward: reward_function: ./examples/reward_function/math.py:compute_score

trainer: total_epochs: 10 max_steps: null project_name: easy_r1 experiment_name: qwen2_5_7b_math_grpo logger: ["file", 'tensorboard'] nnodes: 1 n_gpus_per_node: 8 max_try_make_batch: 20 # -1 means no limit val_freq: 5 # -1 to disable val_before_train: true val_only: false val_generations_to_log: 3 save_freq: 10 # -1 to disable save_limit: 5 # -1 to disable save_model_only: true save_checkpoint_path: null load_checkpoint_path: null find_last_checkpoint: true

today-still-sleep-early avatar Dec 29 '25 12:12 today-still-sleep-early

请问找到原因了吗

kkkeepgoing avatar Jan 08 '26 05:01 kkkeepgoing

请问找到原因了吗

iFe1er avatar Feb 12 '26 10:02 iFe1er

中文:目前不建议把这个 issue 作为可确认的 verl 训练逻辑 bug 处理;现有公开信息更像是配置/实验条件未完全对齐,需要更多可复现信息。

从 issue 正文看,实验使用的是自定义脚本、自有数据和本地 reward 文件,这些内容目前无法公开核验:https://github.com/verl-project/verl/issues/4719 。同时,两套配置并不等价:EasyR1 的 rollout_batch_size 明确等价于 verl 的 data.train_batch_size,默认示例是 512,而这里 verl 配置是 128;EasyR1 的 global_batch_size 明确等价于 verl 的 actor.ppo_mini_batch_size,默认示例是 128,而这里 verl 配置是 32:https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L12-L13 和 https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L36-L38 。另外 EasyR1 示例默认 use_kl_loss: true、kl_coef: 1.0e-2、online_filtering: false,而 issue 中的 verl 配置为 use_kl_loss: false 且启用了 filter_groups;verl 的 actor 配置也说明 GRPO 的 KL loss 由这些字段控制:https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L23-L29 和 https://github.com/verl-project/verl/blob/main/verl/trainer/config/actor/actor.yaml#L98-L112 。rollout 侧也有差异,EasyR1 示例关闭 enable_chunked_prefill,而 issue 中 verl 配置开启了它:https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L66-L74 和 https://github.com/verl-project/verl/blob/main/verl/trainer/config/rollout/rollout.yaml#L86-L87 。

建议先提供一个公开可运行的最小复现,或至少补充一组完全对齐后的配置:相同 base model、相同数据切分、相同 reward 函数、相同 train/global batch 映射、相同 KL loss/filtering 设置、相同 rollout engine 设置(包括 chunked prefill、TP、n、temperature/top_p)以及固定 seed 后的完整日志。否则目前只能判断为 needs_more_info。

English: I would not treat this as a confirmed verl training-logic bug yet. The public evidence points to non-equivalent configurations and non-public experiment inputs.

The issue uses custom scripts, private data, and a local reward function path, so the experiment cannot be independently verified from public artifacts alone: https://github.com/verl-project/verl/issues/4719 . The configs are also not equivalent: EasyR1 documents rollout_batch_size as equivalent to verl data.train_batch_size and uses 512 in the example, while the verl config here uses 128; EasyR1 documents global_batch_size as equivalent to verl actor.ppo_mini_batch_size and uses 128, while the verl config here uses 32: https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L12-L13 and https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L36-L38 . EasyR1 also enables use_kl_loss with kl_coef: 1.0e-2 and disables online filtering, while the verl config shown here disables actor KL loss and enables filter groups; verl's actor config shows these fields control the GRPO KL-loss path: https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L23-L29 and https://github.com/verl-project/verl/blob/main/verl/trainer/config/actor/actor.yaml#L98-L112 . The rollout path is also different because EasyR1 disables enable_chunked_prefill while the verl config enables it: https://github.com/hiyouga/EasyR1/blob/main/examples/config.yaml#L66-L74 and https://github.com/verl-project/verl/blob/main/verl/trainer/config/rollout/rollout.yaml#L86-L87 .

Please provide a public minimal reproduction, or a fully aligned pair of configs with the same base model, data split, reward function, train/global batch mapping, KL/filtering settings, rollout engine settings, and fixed seed logs. With the current evidence, this should remain needs_more_info.

This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 28 '26 01:07 Kirrito-k423