Skip to content

[7/7][multi-lora]: driver and example - fully async driver, typer launcher, adapter configs, service smoke client#1748

Merged
yushengsu-thu merged 8 commits into
radixark:mainfrom
mathewjhan:multi-lora/07-example
Jul 21, 2026
Merged

[7/7][multi-lora]: driver and example - fully async driver, typer launcher, adapter configs, service smoke client#1748
yushengsu-thu merged 8 commits into
radixark:mainfrom
mathewjhan:multi-lora/07-example

Conversation

@mathewjhan

@mathewjhan mathewjhan commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

…ml config, shared helpers, CLI flags and validation
…schedules, slot lifecycle, batch routing in get_batch
…ert push to engines, reconcile/train/save hooks
… per-adapter rewards, prefill logprob grouping
…apter buffers, round-robin collection, batch metadata

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive Multi-LoRA training system, enabling concurrent training of multiple LoRA adapters on a shared base model. Key additions include a controller Ray actor for adapter management, a fully-async rollout mechanism with per-adapter buffering, and decoupled per-slot Adam optimizers. My review identified a redundant configuration check in the bridge helpers and recommended using isinstance() for type validation in the backend registry to follow Python best practices.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread miles/backends/megatron_utils/bridge_lora_helpers.py
Comment thread miles/ray/multi_lora/backend.py

@yushengsu-thu yushengsu-thu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed extensively on the umbrella PR #1638 (2xH200 E2E validated); with this final layer the merged tree is byte-identical to the E2E-validated head.

@yushengsu-thu
yushengsu-thu merged commit 84d6485 into radixark:main Jul 21, 2026
3 checks passed
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.

2 participants