├── .github ├── dependabot.yml └── workflows │ ├── dataset.yml │ ├── e2e_ascend.yml │ ├── e2e_dapo.yml │ ├── e2e_eval_aime24.yml │ ├── e2e_ppo_trainer.yml │ ├── e2e_ppo_trainer_megatron.yml │ ├── e2e_prime.yml │ ├── e2e_sft.yml │ ├── model.yml │ ├── pylint.yml │ ├── ray_test.yml │ ├── sandbox.yml │ ├── sanity.yml │ ├── scorecard.yml │ ├── secrets_scan.yml │ ├── vllm.yml │ └── yapf_format.yml ├── .gitignore ├── .readthedocs.yaml ├── .style.yapf ├── .vscode └── settings.json ├── LICENSE ├── Notice.txt ├── README.md ├── docker ├── Dockerfile.megatron ├── Dockerfile.ngc.vllm ├── Dockerfile.ngc.vllm0.8 ├── Dockerfile.ngc.vllm0.8.sagemaker ├── Dockerfile.rocm ├── Dockerfile.sglang └── Dockerfile.vemlp.vllm.te ├── docs ├── Makefile ├── README.md ├── README_vllm0.7.md ├── README_vllm0.8.md ├── _static │ └── logo.png ├── advance │ ├── checkpoint.rst │ ├── dpo_extension.rst │ ├── fsdp_extension.rst │ ├── megatron_extension.rst │ └── placement.rst ├── amd_tutorial │ └── amd_build_dockerfile_page.rst ├── conf.py ├── data.rst ├── examples │ ├── config.rst │ ├── gsm8k_example.rst │ └── ppo_code_architecture.rst ├── experiment │ └── ppo.rst ├── faq │ └── faq.rst ├── hybrid_flow.rst ├── index.rst ├── perf │ ├── device_tuning.rst │ └── perf_tuning.rst ├── preparation │ ├── prepare_data.rst │ └── reward_function.rst ├── requirements-docs.txt ├── start │ ├── install.rst │ ├── multinode.rst │ └── quickstart.rst └── workers │ ├── fsdp_workers.rst │ ├── megatron_workers.rst │ ├── ray_trainer.rst │ └── sglang_worker.rst ├── examples ├── Verlog │ ├── README.md │ ├── train_babaisai.sbatch │ ├── train_babyai.sbatch │ └── train_crafter.sbatch ├── checkpoint │ ├── run_deepseek_megatron_ckpt.sh │ └── run_qwen_megatron_ckpt.sh ├── data │ └── placeholder.parquet ├── data_preprocess │ ├── full_hh_rlhf.py │ ├── geo3k.py │ ├── gsm8k.py │ ├── hellaswag.py │ ├── math_dataset.py │ └── multiturn.py ├── generation │ ├── run_deepseek7b_mutli_node.sh │ └── run_deepseek_v2_lite_math.sh ├── grpo_trainer │ ├── run_deepseek7b_llm.sh │ ├── run_deepseek7b_llm_math.sh │ ├── run_deepseek7b_llm_math_megatron.sh │ ├── run_deepseek7b_llm_megatron.sh │ ├── run_deepseek7b_llm_seq_balance.sh │ ├── run_qwen2-7b.sh │ ├── run_qwen2-7b_math.sh │ ├── run_qwen2-7b_math_megatron.sh │ ├── run_qwen2-7b_megatron.sh │ ├── run_qwen2-7b_seq_balance.sh │ └── run_qwen2_5_vl-7b.sh ├── ppo_trainer │ ├── run_deepseek7b_llm.sh │ ├── run_deepseek7b_llm_modelscope.sh │ ├── run_deepseek7b_llm_sp2.sh │ ├── run_deepseek_full_hh_rlhf.sh │ ├── run_deepseek_math_gsm8k_megatron.sh │ ├── run_deepseek_megatron.sh │ ├── run_gemma.sh │ ├── run_qwen2-7b_math_gsm8k_megatron.sh │ ├── run_qwen2-7b_megatron.sh │ ├── run_qwen2-7b_rm.sh │ ├── run_qwen2-7b_rm_seq_balance.sh │ ├── run_qwen2-7b_seq_balance.sh │ ├── run_qwen2-7b_sglang_seq_balance.sh │ ├── run_qwen2.5-32b.sh │ └── verl_getting_started.ipynb ├── ray │ └── tutorial.ipynb ├── reinforce_plus_plus_trainer │ ├── run_qwen2-7b_math_rf.sh │ └── run_qwen2-7b_math_rf_baseline.sh ├── remax_trainer │ ├── run_qwen2.5-3b_seq_balance.sh │ └── run_qwen2.5-7b_seq_balance.sh ├── rloo_trainer │ └── run_qwen2-7b.sh ├── sft │ ├── gsm8k │ │ ├── run_deepseek_6b7.sh │ │ ├── run_gemma_2b.sh │ │ ├── run_gemma_7b.sh │ │ ├── run_qwen_05_peft.sh │ │ ├── run_qwen_05_sp2.sh │ │ └── run_qwen_05_sp2_liger.sh │ └── multiturn │ │ └── run_qwen_05_sp2.sh ├── slurm │ └── ray_on_slurm.slurm ├── split_placement │ ├── README.md │ ├── config │ │ └── ppo_trainer_split.yaml │ ├── main_ppo_split.py │ ├── run_deepseek7b_llm.sh │ └── split_monkey_patch.py └── tuning │ ├── 14b │ └── qwen2_14b_grpo_4_h800_fsdp_vllm.sh │ ├── 70b │ ├── qwen2-70b_grpo_32_h20_fsdp_vllm.sh │ └── qwen2-70b_grpo_32_h800_fsdp_vllm.sh │ └── 7b │ └── qwen2-7b_grpo_2_h800_fsdp_vllm.sh ├── patches └── megatron_v4.patch ├── pyproject.toml ├── recipe ├── dapo │ ├── README.md │ ├── prepare_dapo_data.sh │ ├── run_dapo_early_qwen2.5_32b.sh │ ├── run_dapo_qwen2.5_32b.sh │ ├── src │ │ ├── config │ │ │ └── dapo_trainer.yaml │ │ ├── dapo_ray_trainer.py │ │ └── main_dapo.py │ └── test_dapo_7b.sh ├── prime │ ├── __init__.py │ ├── config │ │ └── prime_trainer.yaml │ ├── main_prime.py │ ├── prime_core_algos.py │ ├── prime_dp_rm.py │ ├── prime_fsdp_workers.py │ ├── prime_ray_trainer.py │ └── run_prime_qwen.sh └── r1 │ ├── README.md │ ├── __init__.py │ ├── config │ └── evaluation.yaml │ ├── data_process.py │ ├── main_eval.py │ ├── reward_score.py │ ├── run_r1_distill_qwen.sh │ └── tasks │ ├── __init__.py │ ├── gpqa.py │ ├── livecodebench.py │ └── math.py ├── requirements.txt ├── requirements_sglang.txt ├── scripts ├── converter_hf_to_mcore.py ├── diagnose.py ├── format.sh ├── install_vllm_sglang_mcore.sh └── model_merger.py ├── setup.py ├── tests ├── __init__.py ├── checkpoint │ └── test_fsdp_ckpt.py ├── distributed │ ├── run_all.sh │ └── test_tensor_dict.py ├── e2e │ ├── __init__.py │ ├── arithmetic_sequence │ │ ├── data │ │ │ ├── create_dataset.py │ │ │ ├── test.parquet │ │ │ └── train.parquet │ │ ├── model │ │ │ ├── config.json │ │ │ ├── create_model_tokenizer.py │ │ │ ├── generation_config.json │ │ │ ├── model.safetensors │ │ │ └── tokenizer_config.json │ │ └── rl │ │ │ ├── README.md │ │ │ └── main_trainer.py │ ├── check_custom_rwd_fn.py │ ├── check_results.py │ ├── envs │ │ ├── __init__.py │ │ └── digit_completion │ │ │ ├── __init__.py │ │ │ ├── task.py │ │ │ └── tokenizer.py │ ├── ppo_trainer │ │ ├── run_function_reward.sh │ │ └── run_model_reward.sh │ ├── run_dapo.sh │ ├── run_ppo_trainer_megatron.sh │ ├── run_prime.sh │ ├── run_r1_distill_qwen_aime24_eval.sh │ ├── run_ray_trainer.sh │ ├── run_ray_trainer_fire_sampling.sh │ ├── run_ray_trainer_rmpad.sh │ ├── run_test.sh │ └── sft │ │ ├── run_sft.sh │ │ └── test_sp_loss_match.py ├── generation │ └── run_gen_qwen05.sh ├── gpu_utility │ ├── test_memory_buffers.py │ ├── test_ops.py │ └── test_torch_functional.py ├── kill_github_tests.sh ├── model │ ├── test_transformer.py │ └── test_transformers_ulysses.py ├── ray │ ├── check_worker_alive │ │ └── main.py │ ├── detached_worker │ │ ├── README.md │ │ ├── client.py │ │ ├── run.sh │ │ └── server.py │ ├── test_check_worker_alive.py │ ├── test_colocated_workers.py │ ├── test_data_transfer.py │ ├── test_driverfunc_to_worker.py │ ├── test_high_level_scheduling_api.py │ ├── test_ray_local_envs.py │ ├── test_rvdz.py │ ├── test_worker_group_basics.py │ └── test_worker_group_torch.py ├── rollout │ ├── run_fsdp_vllm.py │ ├── test_sglang_spmd.py │ ├── test_vllm_hf_loader.py │ └── test_vllm_spmd.py ├── sandbox │ └── test_sandbox.py ├── sanity │ ├── check_license.py │ └── test_import.py ├── utility │ └── test_tensor_dict_utilities.py └── verl │ └── utils │ ├── dataset │ ├── test_multiturn_sft_dataset.py │ ├── test_rl_dataset.py │ ├── test_rm_dataset.py │ └── test_sft_dataset.py │ ├── test_import_utils.py │ └── test_module.py └── verl ├── __init__.py ├── envs ├── captioners │ ├── __init__.py │ ├── base.py │ ├── cot.py │ ├── naive.py │ └── prompt_builder │ │ ├── __init__.py │ │ └── history.py ├── environments │ ├── __init__.py │ ├── babaisai │ │ ├── README.md │ │ ├── __init__.py │ │ ├── babaisai_env.py │ │ ├── base.py │ │ └── llm_agents_wrapper.py │ ├── babyai_text │ │ ├── README.md │ │ ├── __init__.py │ │ ├── babyai_env.py │ │ ├── clean_lang_wrapper.py │ │ └── llm_agents_wrapper.py │ ├── crafter │ │ ├── __init__.py │ │ ├── crafter_env.py │ │ ├── env.py │ │ └── llm_agents_wrapper.py │ ├── env_wrapper.py │ ├── minihack │ │ ├── __init__.py │ │ ├── llm_agents_wrapper.py │ │ └── minihack_env.py │ ├── nle │ │ ├── Hack-Regular.ttf │ │ ├── Tiles16x16.png │ │ ├── __init__.py │ │ ├── achievements.json │ │ ├── auto_more.py │ │ ├── base.py │ │ ├── nle_env.py │ │ ├── progress.py │ │ ├── render.py │ │ ├── render_rgb.py │ │ └── tiles.pkl │ ├── textworld │ │ ├── README.md │ │ ├── __init__.py │ │ ├── base.py │ │ └── textworld_env.py │ └── wrappers │ │ ├── __init__.py │ │ ├── gym_compatibility.py │ │ └── nle_timelimit.py └── vec_env.py ├── models ├── README.md ├── __init__.py ├── llama │ ├── __init__.py │ └── megatron │ │ ├── __init__.py │ │ ├── checkpoint_utils │ │ ├── __init__.py │ │ ├── llama_loader.py │ │ ├── llama_loader_depracated.py │ │ └── llama_saver.py │ │ ├── layers │ │ ├── __init__.py │ │ ├── parallel_attention.py │ │ ├── parallel_decoder.py │ │ ├── parallel_linear.py │ │ ├── parallel_mlp.py │ │ └── parallel_rmsnorm.py │ │ └── modeling_llama_megatron.py ├── mcore │ ├── __init__.py │ ├── gpt_model.py │ ├── loader.py │ ├── readme.md │ └── saver.py ├── qwen2 │ ├── __init__.py │ └── megatron │ │ ├── __init__.py │ │ ├── checkpoint_utils │ │ ├── __init__.py │ │ ├── qwen2_loader.py │ │ ├── qwen2_loader_depracated.py │ │ └── qwen2_saver.py │ │ ├── layers │ │ ├── __init__.py │ │ ├── parallel_attention.py │ │ ├── parallel_decoder.py │ │ ├── parallel_linear.py │ │ ├── parallel_mlp.py │ │ └── parallel_rmsnorm.py │ │ └── modeling_qwen2_megatron.py ├── registry.py ├── transformers │ ├── __init__.py │ ├── llama.py │ ├── monkey_patch.py │ ├── qwen2.py │ └── qwen2_vl.py └── weight_loader_registry.py ├── protocol.py ├── single_controller ├── __init__.py ├── base │ ├── __init__.py │ ├── decorator.py │ ├── megatron │ │ ├── __init__.py │ │ ├── worker.py │ │ └── worker_group.py │ ├── register_center │ │ ├── __init__.py │ │ └── ray.py │ ├── worker.py │ └── worker_group.py └── ray │ ├── __init__.py │ ├── base.py │ └── megatron.py ├── third_party ├── __init__.py ├── sglang │ ├── __init__.py │ └── parallel_state.py └── vllm │ ├── __init__.py │ ├── vllm_v_0_3_1 │ ├── __init__.py │ ├── arg_utils.py │ ├── config.py │ ├── llm.py │ ├── llm_engine_sp.py │ ├── model_loader.py │ ├── model_runner.py │ ├── parallel_state.py │ ├── tokenizer.py │ ├── weight_loaders.py │ └── worker.py │ ├── vllm_v_0_4_2 │ ├── __init__.py │ ├── arg_utils.py │ ├── config.py │ ├── dtensor_weight_loaders.py │ ├── hf_weight_loader.py │ ├── llm.py │ ├── llm_engine_sp.py │ ├── megatron_weight_loaders.py │ ├── model_loader.py │ ├── model_runner.py │ ├── parallel_state.py │ ├── spmd_gpu_executor.py │ ├── tokenizer.py │ └── worker.py │ ├── vllm_v_0_5_4 │ ├── __init__.py │ ├── arg_utils.py │ ├── config.py │ ├── dtensor_weight_loaders.py │ ├── hf_weight_loader.py │ ├── llm.py │ ├── llm_engine_sp.py │ ├── megatron_weight_loaders.py │ ├── model_loader.py │ ├── model_runner.py │ ├── parallel_state.py │ ├── spmd_gpu_executor.py │ ├── tokenizer.py │ └── worker.py │ └── vllm_v_0_6_3 │ ├── __init__.py │ ├── arg_utils.py │ ├── config.py │ ├── dtensor_weight_loaders.py │ ├── hf_weight_loader.py │ ├── llm.py │ ├── llm_engine_sp.py │ ├── megatron_weight_loaders.py │ ├── model_loader.py │ ├── model_runner.py │ ├── parallel_state.py │ ├── spmd_gpu_executor.py │ ├── tokenizer.py │ └── worker.py ├── trainer ├── __init__.py ├── config │ ├── evaluation.yaml │ ├── generation.yaml │ ├── ppo_megatron_trainer.yaml │ ├── ppo_trainer.yaml │ └── sft_trainer.yaml ├── fsdp_sft_trainer.py ├── main_eval.py ├── main_generation.py ├── main_ppo.py ├── ppo │ ├── __init__.py │ ├── core_algos.py │ ├── metric_utils.py │ └── ray_trainer.py └── runtime_env.yaml ├── utils ├── __init__.py ├── checkpoint │ ├── __init__.py │ ├── checkpoint_manager.py │ ├── fsdp_checkpoint_manager.py │ └── megatron_checkpoint_manager.py ├── config.py ├── dataset │ ├── README.md │ ├── __init__.py │ ├── multiturn_sft_dataset.py │ ├── rl_dataset.py │ ├── rm_dataset.py │ └── sft_dataset.py ├── debug │ ├── __init__.py │ ├── performance.py │ └── trajectory_tracker.py ├── distributed.py ├── flops_counter.py ├── fs.py ├── fsdp_utils.py ├── hdfs_io.py ├── import_utils.py ├── logger │ ├── __init__.py │ └── aggregate_logger.py ├── logging_utils.py ├── megatron │ ├── __init__.py │ ├── memory.py │ ├── optimizer.py │ ├── pipeline_parallel.py │ ├── sequence_parallel.py │ └── tensor_parallel.py ├── megatron_utils.py ├── memory_buffer.py ├── model.py ├── py_functional.py ├── ray_utils.py ├── rendezvous │ ├── __init__.py │ └── ray_backend.py ├── reward_score │ ├── __init__.py │ ├── geo3k.py │ ├── gsm8k.py │ ├── math.py │ ├── math_batch.py │ ├── math_dapo.py │ ├── math_verify.py │ ├── prime_code │ │ ├── __init__.py │ │ ├── testing_util.py │ │ └── utils.py │ └── prime_math │ │ ├── __init__.py │ │ ├── grader.py │ │ └── math_normalize.py ├── seqlen_balancing.py ├── tokenizer.py ├── torch_dtypes.py ├── torch_functional.py ├── tracking.py └── ulysses.py ├── version └── version └── workers ├── __init__.py ├── actor ├── __init__.py ├── base.py ├── dp_actor.py └── megatron_actor.py ├── critic ├── __init__.py ├── base.py ├── dp_critic.py └── megatron_critic.py ├── fsdp_workers.py ├── megatron_workers.py ├── reward_manager ├── __init__.py ├── batch.py ├── dapo.py ├── naive.py └── prime.py ├── reward_model ├── __init__.py ├── base.py └── megatron │ ├── __init__.py │ └── reward_model.py ├── rollout ├── __init__.py ├── base.py ├── hf_rollout.py ├── naive │ ├── __init__.py │ └── naive_rollout.py ├── sglang_rollout │ ├── __init__.py │ └── sglang_rollout.py ├── tokenizer.py └── vllm_rollout │ ├── __init__.py │ ├── fire_vllm_rollout.py │ ├── vllm_rollout.py │ └── vllm_rollout_spmd.py └── sharding_manager ├── __init__.py ├── base.py ├── fsdp_sglang.py ├── fsdp_ulysses.py ├── fsdp_vllm.py ├── megatron_vllm.py └── patch ├── __init__.py └── fsdp_vllm_patch.py /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/dataset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/dataset.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_ascend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_ascend.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_dapo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_dapo.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_eval_aime24.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_eval_aime24.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_ppo_trainer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_ppo_trainer.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_ppo_trainer_megatron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_ppo_trainer_megatron.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_prime.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_prime.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_sft.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/e2e_sft.yml -------------------------------------------------------------------------------- /.github/workflows/model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/model.yml -------------------------------------------------------------------------------- /.github/workflows/pylint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/pylint.yml -------------------------------------------------------------------------------- /.github/workflows/ray_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/ray_test.yml -------------------------------------------------------------------------------- /.github/workflows/sandbox.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/sandbox.yml -------------------------------------------------------------------------------- /.github/workflows/sanity.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/sanity.yml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.github/workflows/secrets_scan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/secrets_scan.yml -------------------------------------------------------------------------------- /.github/workflows/vllm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/vllm.yml -------------------------------------------------------------------------------- /.github/workflows/yapf_format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.github/workflows/yapf_format.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /.style.yapf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.style.yapf -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/LICENSE -------------------------------------------------------------------------------- /Notice.txt: -------------------------------------------------------------------------------- 1 | Copyright 2023-2024 Bytedance Ltd. and/or its affiliates -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/README.md -------------------------------------------------------------------------------- /docker/Dockerfile.megatron: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.megatron -------------------------------------------------------------------------------- /docker/Dockerfile.ngc.vllm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.ngc.vllm -------------------------------------------------------------------------------- /docker/Dockerfile.ngc.vllm0.8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.ngc.vllm0.8 -------------------------------------------------------------------------------- /docker/Dockerfile.ngc.vllm0.8.sagemaker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.ngc.vllm0.8.sagemaker -------------------------------------------------------------------------------- /docker/Dockerfile.rocm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.rocm -------------------------------------------------------------------------------- /docker/Dockerfile.sglang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.sglang -------------------------------------------------------------------------------- /docker/Dockerfile.vemlp.vllm.te: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docker/Dockerfile.vemlp.vllm.te -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/README_vllm0.7.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/README_vllm0.7.md -------------------------------------------------------------------------------- /docs/README_vllm0.8.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/README_vllm0.8.md -------------------------------------------------------------------------------- /docs/_static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/_static/logo.png -------------------------------------------------------------------------------- /docs/advance/checkpoint.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/advance/checkpoint.rst -------------------------------------------------------------------------------- /docs/advance/dpo_extension.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/advance/dpo_extension.rst -------------------------------------------------------------------------------- /docs/advance/fsdp_extension.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/advance/fsdp_extension.rst -------------------------------------------------------------------------------- /docs/advance/megatron_extension.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/advance/megatron_extension.rst -------------------------------------------------------------------------------- /docs/advance/placement.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/advance/placement.rst -------------------------------------------------------------------------------- /docs/amd_tutorial/amd_build_dockerfile_page.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/amd_tutorial/amd_build_dockerfile_page.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/data.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/data.rst -------------------------------------------------------------------------------- /docs/examples/config.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/examples/config.rst -------------------------------------------------------------------------------- /docs/examples/gsm8k_example.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/examples/gsm8k_example.rst -------------------------------------------------------------------------------- /docs/examples/ppo_code_architecture.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/examples/ppo_code_architecture.rst -------------------------------------------------------------------------------- /docs/experiment/ppo.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/experiment/ppo.rst -------------------------------------------------------------------------------- /docs/faq/faq.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/faq/faq.rst -------------------------------------------------------------------------------- /docs/hybrid_flow.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/hybrid_flow.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/perf/device_tuning.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/perf/device_tuning.rst -------------------------------------------------------------------------------- /docs/perf/perf_tuning.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/perf/perf_tuning.rst -------------------------------------------------------------------------------- /docs/preparation/prepare_data.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/preparation/prepare_data.rst -------------------------------------------------------------------------------- /docs/preparation/reward_function.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/preparation/reward_function.rst -------------------------------------------------------------------------------- /docs/requirements-docs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/requirements-docs.txt -------------------------------------------------------------------------------- /docs/start/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/start/install.rst -------------------------------------------------------------------------------- /docs/start/multinode.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/start/multinode.rst -------------------------------------------------------------------------------- /docs/start/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/start/quickstart.rst -------------------------------------------------------------------------------- /docs/workers/fsdp_workers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/workers/fsdp_workers.rst -------------------------------------------------------------------------------- /docs/workers/megatron_workers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/workers/megatron_workers.rst -------------------------------------------------------------------------------- /docs/workers/ray_trainer.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/workers/ray_trainer.rst -------------------------------------------------------------------------------- /docs/workers/sglang_worker.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/docs/workers/sglang_worker.rst -------------------------------------------------------------------------------- /examples/Verlog/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/Verlog/README.md -------------------------------------------------------------------------------- /examples/Verlog/train_babaisai.sbatch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/Verlog/train_babaisai.sbatch -------------------------------------------------------------------------------- /examples/Verlog/train_babyai.sbatch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/Verlog/train_babyai.sbatch -------------------------------------------------------------------------------- /examples/Verlog/train_crafter.sbatch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/Verlog/train_crafter.sbatch -------------------------------------------------------------------------------- /examples/checkpoint/run_deepseek_megatron_ckpt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/checkpoint/run_deepseek_megatron_ckpt.sh -------------------------------------------------------------------------------- /examples/checkpoint/run_qwen_megatron_ckpt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/checkpoint/run_qwen_megatron_ckpt.sh -------------------------------------------------------------------------------- /examples/data/placeholder.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data/placeholder.parquet -------------------------------------------------------------------------------- /examples/data_preprocess/full_hh_rlhf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/full_hh_rlhf.py -------------------------------------------------------------------------------- /examples/data_preprocess/geo3k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/geo3k.py -------------------------------------------------------------------------------- /examples/data_preprocess/gsm8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/gsm8k.py -------------------------------------------------------------------------------- /examples/data_preprocess/hellaswag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/hellaswag.py -------------------------------------------------------------------------------- /examples/data_preprocess/math_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/math_dataset.py -------------------------------------------------------------------------------- /examples/data_preprocess/multiturn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/data_preprocess/multiturn.py -------------------------------------------------------------------------------- /examples/generation/run_deepseek7b_mutli_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/generation/run_deepseek7b_mutli_node.sh -------------------------------------------------------------------------------- /examples/generation/run_deepseek_v2_lite_math.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/generation/run_deepseek_v2_lite_math.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_deepseek7b_llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_deepseek7b_llm.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_deepseek7b_llm_math.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_deepseek7b_llm_math.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_deepseek7b_llm_math_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_deepseek7b_llm_math_megatron.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_deepseek7b_llm_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_deepseek7b_llm_megatron.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_deepseek7b_llm_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_deepseek7b_llm_seq_balance.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2-7b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2-7b.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2-7b_math.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2-7b_math.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2-7b_math_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2-7b_math_megatron.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2-7b_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2-7b_megatron.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2-7b_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2-7b_seq_balance.sh -------------------------------------------------------------------------------- /examples/grpo_trainer/run_qwen2_5_vl-7b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/grpo_trainer/run_qwen2_5_vl-7b.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek7b_llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek7b_llm.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek7b_llm_modelscope.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek7b_llm_modelscope.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek7b_llm_sp2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek7b_llm_sp2.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek_full_hh_rlhf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek_full_hh_rlhf.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek_math_gsm8k_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek_math_gsm8k_megatron.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_deepseek_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_deepseek_megatron.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_gemma.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_gemma.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_math_gsm8k_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_math_gsm8k_megatron.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_megatron.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_rm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_rm.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_rm_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_rm_seq_balance.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_seq_balance.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2-7b_sglang_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2-7b_sglang_seq_balance.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/run_qwen2.5-32b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/run_qwen2.5-32b.sh -------------------------------------------------------------------------------- /examples/ppo_trainer/verl_getting_started.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ppo_trainer/verl_getting_started.ipynb -------------------------------------------------------------------------------- /examples/ray/tutorial.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/ray/tutorial.ipynb -------------------------------------------------------------------------------- /examples/reinforce_plus_plus_trainer/run_qwen2-7b_math_rf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/reinforce_plus_plus_trainer/run_qwen2-7b_math_rf.sh -------------------------------------------------------------------------------- /examples/reinforce_plus_plus_trainer/run_qwen2-7b_math_rf_baseline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/reinforce_plus_plus_trainer/run_qwen2-7b_math_rf_baseline.sh -------------------------------------------------------------------------------- /examples/remax_trainer/run_qwen2.5-3b_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/remax_trainer/run_qwen2.5-3b_seq_balance.sh -------------------------------------------------------------------------------- /examples/remax_trainer/run_qwen2.5-7b_seq_balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/remax_trainer/run_qwen2.5-7b_seq_balance.sh -------------------------------------------------------------------------------- /examples/rloo_trainer/run_qwen2-7b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/rloo_trainer/run_qwen2-7b.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_deepseek_6b7.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_deepseek_6b7.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_gemma_2b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_gemma_2b.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_gemma_7b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_gemma_7b.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_qwen_05_peft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_qwen_05_peft.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_qwen_05_sp2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_qwen_05_sp2.sh -------------------------------------------------------------------------------- /examples/sft/gsm8k/run_qwen_05_sp2_liger.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/gsm8k/run_qwen_05_sp2_liger.sh -------------------------------------------------------------------------------- /examples/sft/multiturn/run_qwen_05_sp2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/sft/multiturn/run_qwen_05_sp2.sh -------------------------------------------------------------------------------- /examples/slurm/ray_on_slurm.slurm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/slurm/ray_on_slurm.slurm -------------------------------------------------------------------------------- /examples/split_placement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/split_placement/README.md -------------------------------------------------------------------------------- /examples/split_placement/config/ppo_trainer_split.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/split_placement/config/ppo_trainer_split.yaml -------------------------------------------------------------------------------- /examples/split_placement/main_ppo_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/split_placement/main_ppo_split.py -------------------------------------------------------------------------------- /examples/split_placement/run_deepseek7b_llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/split_placement/run_deepseek7b_llm.sh -------------------------------------------------------------------------------- /examples/split_placement/split_monkey_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/split_placement/split_monkey_patch.py -------------------------------------------------------------------------------- /examples/tuning/14b/qwen2_14b_grpo_4_h800_fsdp_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/tuning/14b/qwen2_14b_grpo_4_h800_fsdp_vllm.sh -------------------------------------------------------------------------------- /examples/tuning/70b/qwen2-70b_grpo_32_h20_fsdp_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/tuning/70b/qwen2-70b_grpo_32_h20_fsdp_vllm.sh -------------------------------------------------------------------------------- /examples/tuning/70b/qwen2-70b_grpo_32_h800_fsdp_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/tuning/70b/qwen2-70b_grpo_32_h800_fsdp_vllm.sh -------------------------------------------------------------------------------- /examples/tuning/7b/qwen2-7b_grpo_2_h800_fsdp_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/examples/tuning/7b/qwen2-7b_grpo_2_h800_fsdp_vllm.sh -------------------------------------------------------------------------------- /patches/megatron_v4.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/patches/megatron_v4.patch -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/pyproject.toml -------------------------------------------------------------------------------- /recipe/dapo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/README.md -------------------------------------------------------------------------------- /recipe/dapo/prepare_dapo_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/prepare_dapo_data.sh -------------------------------------------------------------------------------- /recipe/dapo/run_dapo_early_qwen2.5_32b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/run_dapo_early_qwen2.5_32b.sh -------------------------------------------------------------------------------- /recipe/dapo/run_dapo_qwen2.5_32b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/run_dapo_qwen2.5_32b.sh -------------------------------------------------------------------------------- /recipe/dapo/src/config/dapo_trainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/src/config/dapo_trainer.yaml -------------------------------------------------------------------------------- /recipe/dapo/src/dapo_ray_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/src/dapo_ray_trainer.py -------------------------------------------------------------------------------- /recipe/dapo/src/main_dapo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/src/main_dapo.py -------------------------------------------------------------------------------- /recipe/dapo/test_dapo_7b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/dapo/test_dapo_7b.sh -------------------------------------------------------------------------------- /recipe/prime/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/__init__.py -------------------------------------------------------------------------------- /recipe/prime/config/prime_trainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/config/prime_trainer.yaml -------------------------------------------------------------------------------- /recipe/prime/main_prime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/main_prime.py -------------------------------------------------------------------------------- /recipe/prime/prime_core_algos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/prime_core_algos.py -------------------------------------------------------------------------------- /recipe/prime/prime_dp_rm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/prime_dp_rm.py -------------------------------------------------------------------------------- /recipe/prime/prime_fsdp_workers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/prime_fsdp_workers.py -------------------------------------------------------------------------------- /recipe/prime/prime_ray_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/prime_ray_trainer.py -------------------------------------------------------------------------------- /recipe/prime/run_prime_qwen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/prime/run_prime_qwen.sh -------------------------------------------------------------------------------- /recipe/r1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/README.md -------------------------------------------------------------------------------- /recipe/r1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/__init__.py -------------------------------------------------------------------------------- /recipe/r1/config/evaluation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/config/evaluation.yaml -------------------------------------------------------------------------------- /recipe/r1/data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/data_process.py -------------------------------------------------------------------------------- /recipe/r1/main_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/main_eval.py -------------------------------------------------------------------------------- /recipe/r1/reward_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/reward_score.py -------------------------------------------------------------------------------- /recipe/r1/run_r1_distill_qwen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/run_r1_distill_qwen.sh -------------------------------------------------------------------------------- /recipe/r1/tasks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/tasks/__init__.py -------------------------------------------------------------------------------- /recipe/r1/tasks/gpqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/tasks/gpqa.py -------------------------------------------------------------------------------- /recipe/r1/tasks/livecodebench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/tasks/livecodebench.py -------------------------------------------------------------------------------- /recipe/r1/tasks/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/recipe/r1/tasks/math.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_sglang.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/requirements_sglang.txt -------------------------------------------------------------------------------- /scripts/converter_hf_to_mcore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/scripts/converter_hf_to_mcore.py -------------------------------------------------------------------------------- /scripts/diagnose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/scripts/diagnose.py -------------------------------------------------------------------------------- /scripts/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/scripts/format.sh -------------------------------------------------------------------------------- /scripts/install_vllm_sglang_mcore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/scripts/install_vllm_sglang_mcore.sh -------------------------------------------------------------------------------- /scripts/model_merger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/scripts/model_merger.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/checkpoint/test_fsdp_ckpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/checkpoint/test_fsdp_ckpt.py -------------------------------------------------------------------------------- /tests/distributed/run_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/distributed/run_all.sh -------------------------------------------------------------------------------- /tests/distributed/test_tensor_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/distributed/test_tensor_dict.py -------------------------------------------------------------------------------- /tests/e2e/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/__init__.py -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/data/create_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/data/create_dataset.py -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/data/test.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/data/test.parquet -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/data/train.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/data/train.parquet -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/model/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/model/config.json -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/model/create_model_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/model/create_model_tokenizer.py -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/model/generation_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/model/generation_config.json -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/model/model.safetensors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/model/model.safetensors -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/model/tokenizer_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/model/tokenizer_config.json -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/rl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/rl/README.md -------------------------------------------------------------------------------- /tests/e2e/arithmetic_sequence/rl/main_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/arithmetic_sequence/rl/main_trainer.py -------------------------------------------------------------------------------- /tests/e2e/check_custom_rwd_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/check_custom_rwd_fn.py -------------------------------------------------------------------------------- /tests/e2e/check_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/check_results.py -------------------------------------------------------------------------------- /tests/e2e/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/envs/__init__.py -------------------------------------------------------------------------------- /tests/e2e/envs/digit_completion/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/envs/digit_completion/__init__.py -------------------------------------------------------------------------------- /tests/e2e/envs/digit_completion/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/envs/digit_completion/task.py -------------------------------------------------------------------------------- /tests/e2e/envs/digit_completion/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/envs/digit_completion/tokenizer.py -------------------------------------------------------------------------------- /tests/e2e/ppo_trainer/run_function_reward.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/ppo_trainer/run_function_reward.sh -------------------------------------------------------------------------------- /tests/e2e/ppo_trainer/run_model_reward.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/ppo_trainer/run_model_reward.sh -------------------------------------------------------------------------------- /tests/e2e/run_dapo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_dapo.sh -------------------------------------------------------------------------------- /tests/e2e/run_ppo_trainer_megatron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_ppo_trainer_megatron.sh -------------------------------------------------------------------------------- /tests/e2e/run_prime.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_prime.sh -------------------------------------------------------------------------------- /tests/e2e/run_r1_distill_qwen_aime24_eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_r1_distill_qwen_aime24_eval.sh -------------------------------------------------------------------------------- /tests/e2e/run_ray_trainer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_ray_trainer.sh -------------------------------------------------------------------------------- /tests/e2e/run_ray_trainer_fire_sampling.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_ray_trainer_fire_sampling.sh -------------------------------------------------------------------------------- /tests/e2e/run_ray_trainer_rmpad.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_ray_trainer_rmpad.sh -------------------------------------------------------------------------------- /tests/e2e/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/run_test.sh -------------------------------------------------------------------------------- /tests/e2e/sft/run_sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/sft/run_sft.sh -------------------------------------------------------------------------------- /tests/e2e/sft/test_sp_loss_match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/e2e/sft/test_sp_loss_match.py -------------------------------------------------------------------------------- /tests/generation/run_gen_qwen05.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/generation/run_gen_qwen05.sh -------------------------------------------------------------------------------- /tests/gpu_utility/test_memory_buffers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/gpu_utility/test_memory_buffers.py -------------------------------------------------------------------------------- /tests/gpu_utility/test_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/gpu_utility/test_ops.py -------------------------------------------------------------------------------- /tests/gpu_utility/test_torch_functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/gpu_utility/test_torch_functional.py -------------------------------------------------------------------------------- /tests/kill_github_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/kill_github_tests.sh -------------------------------------------------------------------------------- /tests/model/test_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/model/test_transformer.py -------------------------------------------------------------------------------- /tests/model/test_transformers_ulysses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/model/test_transformers_ulysses.py -------------------------------------------------------------------------------- /tests/ray/check_worker_alive/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/check_worker_alive/main.py -------------------------------------------------------------------------------- /tests/ray/detached_worker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/detached_worker/README.md -------------------------------------------------------------------------------- /tests/ray/detached_worker/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/detached_worker/client.py -------------------------------------------------------------------------------- /tests/ray/detached_worker/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/detached_worker/run.sh -------------------------------------------------------------------------------- /tests/ray/detached_worker/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/detached_worker/server.py -------------------------------------------------------------------------------- /tests/ray/test_check_worker_alive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_check_worker_alive.py -------------------------------------------------------------------------------- /tests/ray/test_colocated_workers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_colocated_workers.py -------------------------------------------------------------------------------- /tests/ray/test_data_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_data_transfer.py -------------------------------------------------------------------------------- /tests/ray/test_driverfunc_to_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_driverfunc_to_worker.py -------------------------------------------------------------------------------- /tests/ray/test_high_level_scheduling_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_high_level_scheduling_api.py -------------------------------------------------------------------------------- /tests/ray/test_ray_local_envs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_ray_local_envs.py -------------------------------------------------------------------------------- /tests/ray/test_rvdz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_rvdz.py -------------------------------------------------------------------------------- /tests/ray/test_worker_group_basics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_worker_group_basics.py -------------------------------------------------------------------------------- /tests/ray/test_worker_group_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/ray/test_worker_group_torch.py -------------------------------------------------------------------------------- /tests/rollout/run_fsdp_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/rollout/run_fsdp_vllm.py -------------------------------------------------------------------------------- /tests/rollout/test_sglang_spmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/rollout/test_sglang_spmd.py -------------------------------------------------------------------------------- /tests/rollout/test_vllm_hf_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/rollout/test_vllm_hf_loader.py -------------------------------------------------------------------------------- /tests/rollout/test_vllm_spmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/rollout/test_vllm_spmd.py -------------------------------------------------------------------------------- /tests/sandbox/test_sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/sandbox/test_sandbox.py -------------------------------------------------------------------------------- /tests/sanity/check_license.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/sanity/check_license.py -------------------------------------------------------------------------------- /tests/sanity/test_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/sanity/test_import.py -------------------------------------------------------------------------------- /tests/utility/test_tensor_dict_utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/utility/test_tensor_dict_utilities.py -------------------------------------------------------------------------------- /tests/verl/utils/dataset/test_multiturn_sft_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/dataset/test_multiturn_sft_dataset.py -------------------------------------------------------------------------------- /tests/verl/utils/dataset/test_rl_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/dataset/test_rl_dataset.py -------------------------------------------------------------------------------- /tests/verl/utils/dataset/test_rm_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/dataset/test_rm_dataset.py -------------------------------------------------------------------------------- /tests/verl/utils/dataset/test_sft_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/dataset/test_sft_dataset.py -------------------------------------------------------------------------------- /tests/verl/utils/test_import_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/test_import_utils.py -------------------------------------------------------------------------------- /tests/verl/utils/test_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/tests/verl/utils/test_module.py -------------------------------------------------------------------------------- /verl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/__init__.py -------------------------------------------------------------------------------- /verl/envs/captioners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/__init__.py -------------------------------------------------------------------------------- /verl/envs/captioners/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/base.py -------------------------------------------------------------------------------- /verl/envs/captioners/cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/cot.py -------------------------------------------------------------------------------- /verl/envs/captioners/naive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/naive.py -------------------------------------------------------------------------------- /verl/envs/captioners/prompt_builder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/prompt_builder/__init__.py -------------------------------------------------------------------------------- /verl/envs/captioners/prompt_builder/history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/captioners/prompt_builder/history.py -------------------------------------------------------------------------------- /verl/envs/environments/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/babaisai/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babaisai/README.md -------------------------------------------------------------------------------- /verl/envs/environments/babaisai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babaisai/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/babaisai/babaisai_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babaisai/babaisai_env.py -------------------------------------------------------------------------------- /verl/envs/environments/babaisai/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babaisai/base.py -------------------------------------------------------------------------------- /verl/envs/environments/babaisai/llm_agents_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babaisai/llm_agents_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/babyai_text/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babyai_text/README.md -------------------------------------------------------------------------------- /verl/envs/environments/babyai_text/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babyai_text/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/babyai_text/babyai_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babyai_text/babyai_env.py -------------------------------------------------------------------------------- /verl/envs/environments/babyai_text/clean_lang_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babyai_text/clean_lang_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/babyai_text/llm_agents_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/babyai_text/llm_agents_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/crafter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/crafter/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/crafter/crafter_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/crafter/crafter_env.py -------------------------------------------------------------------------------- /verl/envs/environments/crafter/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/crafter/env.py -------------------------------------------------------------------------------- /verl/envs/environments/crafter/llm_agents_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/crafter/llm_agents_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/env_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/env_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/minihack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/minihack/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/minihack/llm_agents_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/minihack/llm_agents_wrapper.py -------------------------------------------------------------------------------- /verl/envs/environments/minihack/minihack_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/minihack/minihack_env.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/Hack-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/Hack-Regular.ttf -------------------------------------------------------------------------------- /verl/envs/environments/nle/Tiles16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/Tiles16x16.png -------------------------------------------------------------------------------- /verl/envs/environments/nle/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/achievements.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/achievements.json -------------------------------------------------------------------------------- /verl/envs/environments/nle/auto_more.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/auto_more.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/base.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/nle_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/nle_env.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/progress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/progress.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/render.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/render_rgb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/render_rgb.py -------------------------------------------------------------------------------- /verl/envs/environments/nle/tiles.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/nle/tiles.pkl -------------------------------------------------------------------------------- /verl/envs/environments/textworld/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/textworld/README.md -------------------------------------------------------------------------------- /verl/envs/environments/textworld/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/textworld/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/textworld/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/textworld/base.py -------------------------------------------------------------------------------- /verl/envs/environments/textworld/textworld_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/textworld/textworld_env.py -------------------------------------------------------------------------------- /verl/envs/environments/wrappers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/wrappers/__init__.py -------------------------------------------------------------------------------- /verl/envs/environments/wrappers/gym_compatibility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/wrappers/gym_compatibility.py -------------------------------------------------------------------------------- /verl/envs/environments/wrappers/nle_timelimit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/environments/wrappers/nle_timelimit.py -------------------------------------------------------------------------------- /verl/envs/vec_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/envs/vec_env.py -------------------------------------------------------------------------------- /verl/models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/README.md -------------------------------------------------------------------------------- /verl/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/__init__.py -------------------------------------------------------------------------------- /verl/models/llama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/__init__.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/__init__.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/checkpoint_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/checkpoint_utils/__init__.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/checkpoint_utils/llama_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/checkpoint_utils/llama_loader.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/checkpoint_utils/llama_saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/checkpoint_utils/llama_saver.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/__init__.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/parallel_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/parallel_attention.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/parallel_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/parallel_decoder.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/parallel_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/parallel_linear.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/parallel_mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/parallel_mlp.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/layers/parallel_rmsnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/layers/parallel_rmsnorm.py -------------------------------------------------------------------------------- /verl/models/llama/megatron/modeling_llama_megatron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/llama/megatron/modeling_llama_megatron.py -------------------------------------------------------------------------------- /verl/models/mcore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/mcore/__init__.py -------------------------------------------------------------------------------- /verl/models/mcore/gpt_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/mcore/gpt_model.py -------------------------------------------------------------------------------- /verl/models/mcore/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/mcore/loader.py -------------------------------------------------------------------------------- /verl/models/mcore/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/mcore/readme.md -------------------------------------------------------------------------------- /verl/models/mcore/saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/mcore/saver.py -------------------------------------------------------------------------------- /verl/models/qwen2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/__init__.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/__init__.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/checkpoint_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/checkpoint_utils/__init__.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/__init__.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/parallel_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/parallel_attention.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/parallel_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/parallel_decoder.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/parallel_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/parallel_linear.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/parallel_mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/parallel_mlp.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/layers/parallel_rmsnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py -------------------------------------------------------------------------------- /verl/models/qwen2/megatron/modeling_qwen2_megatron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/qwen2/megatron/modeling_qwen2_megatron.py -------------------------------------------------------------------------------- /verl/models/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/registry.py -------------------------------------------------------------------------------- /verl/models/transformers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/transformers/__init__.py -------------------------------------------------------------------------------- /verl/models/transformers/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/transformers/llama.py -------------------------------------------------------------------------------- /verl/models/transformers/monkey_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/transformers/monkey_patch.py -------------------------------------------------------------------------------- /verl/models/transformers/qwen2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/transformers/qwen2.py -------------------------------------------------------------------------------- /verl/models/transformers/qwen2_vl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/transformers/qwen2_vl.py -------------------------------------------------------------------------------- /verl/models/weight_loader_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/models/weight_loader_registry.py -------------------------------------------------------------------------------- /verl/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/protocol.py -------------------------------------------------------------------------------- /verl/single_controller/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/__init__.py -------------------------------------------------------------------------------- /verl/single_controller/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/__init__.py -------------------------------------------------------------------------------- /verl/single_controller/base/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/decorator.py -------------------------------------------------------------------------------- /verl/single_controller/base/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/megatron/__init__.py -------------------------------------------------------------------------------- /verl/single_controller/base/megatron/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/megatron/worker.py -------------------------------------------------------------------------------- /verl/single_controller/base/megatron/worker_group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/megatron/worker_group.py -------------------------------------------------------------------------------- /verl/single_controller/base/register_center/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/register_center/__init__.py -------------------------------------------------------------------------------- /verl/single_controller/base/register_center/ray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/register_center/ray.py -------------------------------------------------------------------------------- /verl/single_controller/base/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/worker.py -------------------------------------------------------------------------------- /verl/single_controller/base/worker_group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/base/worker_group.py -------------------------------------------------------------------------------- /verl/single_controller/ray/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/ray/__init__.py -------------------------------------------------------------------------------- /verl/single_controller/ray/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/ray/base.py -------------------------------------------------------------------------------- /verl/single_controller/ray/megatron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/single_controller/ray/megatron.py -------------------------------------------------------------------------------- /verl/third_party/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/__init__.py -------------------------------------------------------------------------------- /verl/third_party/sglang/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/sglang/__init__.py -------------------------------------------------------------------------------- /verl/third_party/sglang/parallel_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/sglang/parallel_state.py -------------------------------------------------------------------------------- /verl/third_party/vllm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/__init__.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/__init__.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/arg_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/arg_utils.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/config.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/llm.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/model_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/model_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/model_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/model_runner.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/parallel_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/parallel_state.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/tokenizer.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_3_1/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_3_1/worker.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/__init__.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/arg_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/arg_utils.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/config.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/dtensor_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/dtensor_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/hf_weight_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/hf_weight_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/llm.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/llm_engine_sp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/llm_engine_sp.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/megatron_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/megatron_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/model_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/model_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/model_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/model_runner.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/spmd_gpu_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/spmd_gpu_executor.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/tokenizer.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_4_2/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_4_2/worker.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/__init__.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/arg_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/arg_utils.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/config.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/dtensor_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/dtensor_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/hf_weight_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/hf_weight_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/llm.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/llm_engine_sp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/llm_engine_sp.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/megatron_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/megatron_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/model_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/model_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/model_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/model_runner.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/parallel_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/parallel_state.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/spmd_gpu_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/spmd_gpu_executor.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/tokenizer.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_5_4/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_5_4/worker.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/__init__.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/arg_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/arg_utils.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/config.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/dtensor_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/dtensor_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/hf_weight_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/hf_weight_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/llm.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/llm_engine_sp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/llm_engine_sp.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/megatron_weight_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/megatron_weight_loaders.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/model_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/model_loader.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/model_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/model_runner.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/parallel_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/parallel_state.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/tokenizer.py -------------------------------------------------------------------------------- /verl/third_party/vllm/vllm_v_0_6_3/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/third_party/vllm/vllm_v_0_6_3/worker.py -------------------------------------------------------------------------------- /verl/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/__init__.py -------------------------------------------------------------------------------- /verl/trainer/config/evaluation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/config/evaluation.yaml -------------------------------------------------------------------------------- /verl/trainer/config/generation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/config/generation.yaml -------------------------------------------------------------------------------- /verl/trainer/config/ppo_megatron_trainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/config/ppo_megatron_trainer.yaml -------------------------------------------------------------------------------- /verl/trainer/config/ppo_trainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/config/ppo_trainer.yaml -------------------------------------------------------------------------------- /verl/trainer/config/sft_trainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/config/sft_trainer.yaml -------------------------------------------------------------------------------- /verl/trainer/fsdp_sft_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/fsdp_sft_trainer.py -------------------------------------------------------------------------------- /verl/trainer/main_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/main_eval.py -------------------------------------------------------------------------------- /verl/trainer/main_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/main_generation.py -------------------------------------------------------------------------------- /verl/trainer/main_ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/main_ppo.py -------------------------------------------------------------------------------- /verl/trainer/ppo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/ppo/__init__.py -------------------------------------------------------------------------------- /verl/trainer/ppo/core_algos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/ppo/core_algos.py -------------------------------------------------------------------------------- /verl/trainer/ppo/metric_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/ppo/metric_utils.py -------------------------------------------------------------------------------- /verl/trainer/ppo/ray_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/ppo/ray_trainer.py -------------------------------------------------------------------------------- /verl/trainer/runtime_env.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/trainer/runtime_env.yaml -------------------------------------------------------------------------------- /verl/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/__init__.py -------------------------------------------------------------------------------- /verl/utils/checkpoint/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/checkpoint/__init__.py -------------------------------------------------------------------------------- /verl/utils/checkpoint/checkpoint_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/checkpoint/checkpoint_manager.py -------------------------------------------------------------------------------- /verl/utils/checkpoint/fsdp_checkpoint_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/checkpoint/fsdp_checkpoint_manager.py -------------------------------------------------------------------------------- /verl/utils/checkpoint/megatron_checkpoint_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/checkpoint/megatron_checkpoint_manager.py -------------------------------------------------------------------------------- /verl/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/config.py -------------------------------------------------------------------------------- /verl/utils/dataset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/README.md -------------------------------------------------------------------------------- /verl/utils/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/__init__.py -------------------------------------------------------------------------------- /verl/utils/dataset/multiturn_sft_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/multiturn_sft_dataset.py -------------------------------------------------------------------------------- /verl/utils/dataset/rl_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/rl_dataset.py -------------------------------------------------------------------------------- /verl/utils/dataset/rm_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/rm_dataset.py -------------------------------------------------------------------------------- /verl/utils/dataset/sft_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/dataset/sft_dataset.py -------------------------------------------------------------------------------- /verl/utils/debug/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/debug/__init__.py -------------------------------------------------------------------------------- /verl/utils/debug/performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/debug/performance.py -------------------------------------------------------------------------------- /verl/utils/debug/trajectory_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/debug/trajectory_tracker.py -------------------------------------------------------------------------------- /verl/utils/distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/distributed.py -------------------------------------------------------------------------------- /verl/utils/flops_counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/flops_counter.py -------------------------------------------------------------------------------- /verl/utils/fs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/fs.py -------------------------------------------------------------------------------- /verl/utils/fsdp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/fsdp_utils.py -------------------------------------------------------------------------------- /verl/utils/hdfs_io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/hdfs_io.py -------------------------------------------------------------------------------- /verl/utils/import_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/import_utils.py -------------------------------------------------------------------------------- /verl/utils/logger/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/logger/__init__.py -------------------------------------------------------------------------------- /verl/utils/logger/aggregate_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/logger/aggregate_logger.py -------------------------------------------------------------------------------- /verl/utils/logging_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/logging_utils.py -------------------------------------------------------------------------------- /verl/utils/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/__init__.py -------------------------------------------------------------------------------- /verl/utils/megatron/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/memory.py -------------------------------------------------------------------------------- /verl/utils/megatron/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/optimizer.py -------------------------------------------------------------------------------- /verl/utils/megatron/pipeline_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/pipeline_parallel.py -------------------------------------------------------------------------------- /verl/utils/megatron/sequence_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/sequence_parallel.py -------------------------------------------------------------------------------- /verl/utils/megatron/tensor_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron/tensor_parallel.py -------------------------------------------------------------------------------- /verl/utils/megatron_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/megatron_utils.py -------------------------------------------------------------------------------- /verl/utils/memory_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/memory_buffer.py -------------------------------------------------------------------------------- /verl/utils/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/model.py -------------------------------------------------------------------------------- /verl/utils/py_functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/py_functional.py -------------------------------------------------------------------------------- /verl/utils/ray_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/ray_utils.py -------------------------------------------------------------------------------- /verl/utils/rendezvous/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/rendezvous/__init__.py -------------------------------------------------------------------------------- /verl/utils/rendezvous/ray_backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/rendezvous/ray_backend.py -------------------------------------------------------------------------------- /verl/utils/reward_score/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/__init__.py -------------------------------------------------------------------------------- /verl/utils/reward_score/geo3k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/geo3k.py -------------------------------------------------------------------------------- /verl/utils/reward_score/gsm8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/gsm8k.py -------------------------------------------------------------------------------- /verl/utils/reward_score/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/math.py -------------------------------------------------------------------------------- /verl/utils/reward_score/math_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/math_batch.py -------------------------------------------------------------------------------- /verl/utils/reward_score/math_dapo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/math_dapo.py -------------------------------------------------------------------------------- /verl/utils/reward_score/math_verify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/math_verify.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_code/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_code/__init__.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_code/testing_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_code/testing_util.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_code/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_code/utils.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_math/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_math/__init__.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_math/grader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_math/grader.py -------------------------------------------------------------------------------- /verl/utils/reward_score/prime_math/math_normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/reward_score/prime_math/math_normalize.py -------------------------------------------------------------------------------- /verl/utils/seqlen_balancing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/seqlen_balancing.py -------------------------------------------------------------------------------- /verl/utils/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/tokenizer.py -------------------------------------------------------------------------------- /verl/utils/torch_dtypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/torch_dtypes.py -------------------------------------------------------------------------------- /verl/utils/torch_functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/torch_functional.py -------------------------------------------------------------------------------- /verl/utils/tracking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/tracking.py -------------------------------------------------------------------------------- /verl/utils/ulysses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/utils/ulysses.py -------------------------------------------------------------------------------- /verl/version/version: -------------------------------------------------------------------------------- 1 | 0.2.0.dev 2 | -------------------------------------------------------------------------------- /verl/workers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/__init__.py -------------------------------------------------------------------------------- /verl/workers/actor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/actor/__init__.py -------------------------------------------------------------------------------- /verl/workers/actor/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/actor/base.py -------------------------------------------------------------------------------- /verl/workers/actor/dp_actor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/actor/dp_actor.py -------------------------------------------------------------------------------- /verl/workers/actor/megatron_actor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/actor/megatron_actor.py -------------------------------------------------------------------------------- /verl/workers/critic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/critic/__init__.py -------------------------------------------------------------------------------- /verl/workers/critic/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/critic/base.py -------------------------------------------------------------------------------- /verl/workers/critic/dp_critic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/critic/dp_critic.py -------------------------------------------------------------------------------- /verl/workers/critic/megatron_critic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/critic/megatron_critic.py -------------------------------------------------------------------------------- /verl/workers/fsdp_workers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/fsdp_workers.py -------------------------------------------------------------------------------- /verl/workers/megatron_workers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/megatron_workers.py -------------------------------------------------------------------------------- /verl/workers/reward_manager/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_manager/__init__.py -------------------------------------------------------------------------------- /verl/workers/reward_manager/batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_manager/batch.py -------------------------------------------------------------------------------- /verl/workers/reward_manager/dapo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_manager/dapo.py -------------------------------------------------------------------------------- /verl/workers/reward_manager/naive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_manager/naive.py -------------------------------------------------------------------------------- /verl/workers/reward_manager/prime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_manager/prime.py -------------------------------------------------------------------------------- /verl/workers/reward_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_model/__init__.py -------------------------------------------------------------------------------- /verl/workers/reward_model/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_model/base.py -------------------------------------------------------------------------------- /verl/workers/reward_model/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_model/megatron/__init__.py -------------------------------------------------------------------------------- /verl/workers/reward_model/megatron/reward_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/reward_model/megatron/reward_model.py -------------------------------------------------------------------------------- /verl/workers/rollout/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/__init__.py -------------------------------------------------------------------------------- /verl/workers/rollout/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/base.py -------------------------------------------------------------------------------- /verl/workers/rollout/hf_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/hf_rollout.py -------------------------------------------------------------------------------- /verl/workers/rollout/naive/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/naive/__init__.py -------------------------------------------------------------------------------- /verl/workers/rollout/naive/naive_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/naive/naive_rollout.py -------------------------------------------------------------------------------- /verl/workers/rollout/sglang_rollout/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/sglang_rollout/__init__.py -------------------------------------------------------------------------------- /verl/workers/rollout/sglang_rollout/sglang_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/sglang_rollout/sglang_rollout.py -------------------------------------------------------------------------------- /verl/workers/rollout/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/tokenizer.py -------------------------------------------------------------------------------- /verl/workers/rollout/vllm_rollout/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/vllm_rollout/__init__.py -------------------------------------------------------------------------------- /verl/workers/rollout/vllm_rollout/fire_vllm_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/vllm_rollout/fire_vllm_rollout.py -------------------------------------------------------------------------------- /verl/workers/rollout/vllm_rollout/vllm_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/vllm_rollout/vllm_rollout.py -------------------------------------------------------------------------------- /verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/__init__.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/base.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/fsdp_sglang.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/fsdp_sglang.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/fsdp_ulysses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/fsdp_ulysses.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/fsdp_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/fsdp_vllm.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/megatron_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/megatron_vllm.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/patch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/patch/__init__.py -------------------------------------------------------------------------------- /verl/workers/sharding_manager/patch/fsdp_vllm_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WentseChen/Verlog/HEAD/verl/workers/sharding_manager/patch/fsdp_vllm_patch.py --------------------------------------------------------------------------------