feat: add GRPO validation infrastructure and LoRA checkpoint support#55
Merged
feat: add GRPO validation infrastructure and LoRA checkpoint support#55
Conversation
…or GRPO training - Add evaluate_url field to GRPOConfig for separate evaluate endpoint - Add lora_checkpoint field to resume GRPO from existing SFT LoRA adapter - Pass evaluate_url through rollout collector to WAALiveConfig - Load existing LoRA via PeftModel.from_pretrained() when lora_checkpoint set - Update verl_backend.py error message with actionable instructions - Add 5-phase validation script (connectivity → rollout → inference → train → multi-step) - Add CLI entry point (scripts/run_grpo.py) for running GRPO without writing Python Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
evaluate_urlandlora_checkpointfields toGRPOConfigevaluate_urlthrough rollout collector toWAALiveConfigPeftModel.from_pretrained()whenlora_checkpointis set (enables GRPO on top of SFT LoRA)verl_backend.pyerror message with actionable pointers totrain_verl_e2e.pyand configsscripts/validate_grpo_waa.py): connectivity → single rollout → model inference → single training step → multi-step trainingscripts/run_grpo.py) for running GRPO training without writing PythonTest plan
validate_grpo_waa.py --mock --phase 4(mock adapter, no VM)validate_grpo_waa.py --server-url http://VM:5000 --phase 3against real WAA VM🤖 Generated with Claude Code