Skip to content

[recipe, doc] feat: add Qwen-Image Flow-DPPO v1 sync recipe - #28

Open
knlnguyen1802 wants to merge 1 commit into
mainfrom
feat/v1-sync-qwen-image-flowdppo
Open

[recipe, doc] feat: add Qwen-Image Flow-DPPO v1 sync recipe#28
knlnguyen1802 wants to merge 1 commit into
mainfrom
feat/v1-sync-qwen-image-flowdppo

Conversation

@knlnguyen1802

Copy link
Copy Markdown
Owner

Summary

  • Add examples/flowdppo_trainer/qwen_image/run_qwen_image_ocr_lora_v1.sh, the v1 sync counterpart of the Qwen-Image Flow-DPPO OCR LoRA recipe.
  • Mechanical v1 opt-in only: python3 -m verl_omni.trainer.main_diffusion_v1, trainer.use_v1=true, trainer.v1.trainer_mode=sync, and trainer.experiment_name=qwen_image_ocr_lora_v1.
  • All other Hydra overrides match v0 (batch, LoRA, Flow-DPPO loss, OCR reward, GPU layout).
  • Document the V1 sync launch in the Flow-DPPO example README (also the docs page via symlink).

Tracking: verl-project#389

Not duplicating existing PRs

Duplicate-work checks (2026-09-03):

This is not a duplicate of #296 or #466: those landed the shared diffusion v1 trainer and the Wan DanceGRPO recipe. This PR is a per-algorithm recipe that opts Qwen-Image Flow-DPPO into that infra in sync mode. Adapters and FlowDPPOLoss are untouched.

Earlier fallbacks were skipped because they were already claimed (BAGEL verl-project#511 / fork #23). Flow-DPPO was the first unclaimed item in the assigned order.

Test plan

  • bash -n examples/flowdppo_trainer/qwen_image/run_qwen_image_ocr_lora_v1.sh (pass)
  • Script sanity: v1 entrypoint, trainer.use_v1=true, trainer.v1.trainer_mode=sync, experiment name suffix _v1; loss_mode=flow_dppo and remaining Hydra overrides match v0; no separate_async
  • PR_TITLE='[recipe, doc] feat: add Qwen-Image Flow-DPPO v1 sync recipe' python tests/special_sanity/check_pr_title.py (title valid; Windows console only failed to print the checkmark glyph)
  • GPU training not run (no Qwen-Image weights / 4-GPU job in this environment)

AI assistance

Cursor (Grok) was used to draft the recipe script, README note, commit, and this PR. A human submitter must review every changed line before merge; this is not a pure code-agent PR.

Add a mechanical v1 sync recipe so Qwen-Image Flow-DPPO can opt
into TransferQueue without changing adapters or the loss.

This is recipe-only: shared v1 trainer infra already landed in
verl-project#296/verl-project#315. Tracking verl-project#389.

AI assistance (Cursor) was used for this change.

Signed-off-by: knlnguyen1802 <knlnguyen1802@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant