Rename openrlhf to marti, add HF cache under repo, update deps (torch 2.9, vllm)#20
Open
deema-A wants to merge 1 commit intoTsinghuaC3I:mainfrom
Open
Rename openrlhf to marti, add HF cache under repo, update deps (torch 2.9, vllm)#20deema-A wants to merge 1 commit intoTsinghuaC3I:mainfrom
deema-A wants to merge 1 commit intoTsinghuaC3I:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the codebase to use the marti package name instead of openrlhf, improves the multi-agent training script for local/simple runs, and updates dependencies.
Changes
Package rename (openrlhf → marti)
examples/multi-agent/run_train_chain.sh: Switched CLI and workflow paths fromopenrlhftomarti(e.g.openrlhf.cli.multi_agent_train_ppo_ray→marti.cli.multi_agent_train_ppo_ray, workflow/processor paths undermarti/agent_workflows/).marti/trainer/ray/vllm_engine.py: Updatedworker_extension_clsfromopenrlhf.trainer.ray.vllm_worker_wrap.WorkerWraptomarti.trainer.ray.vllm_worker_wrap.WorkerWrap.Script / environment
HF_DATASETS_CACHEandHF_HOMEunder the repo (e.g.${ROOT_DIR}/.cache/huggingface) to avoidPermissionErrorwhen~/.cache/huggingfaceisn’t writable (e.g. on shared systems).MODEL_DIR="Qwen",MAX_LEN=30000for the example run.Dependencies (
requirements.txt)2.9; added vllm>0.8.5.post1.Testing
openrlhfin the updated code paths.