Fix ART GRPO backend crash with vLLM V1 eager LoRA validation #62
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 341 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #62"
general
weight: 0.35
RobotSail
Summary
VLLM_USE_V1=0env var was removed in vLLM ~0.12. ART 0.5.17 pins vLLM 0.17.0 which only has V1, so the env var was a no-op. vLLM V1 eagerly validates LoRA adapter paths onadd_lora, but ART callsadd_lorabefore training creates the first checkpoint — causingFileNotFoundError: adapter_config.json.lora_B= identity transform) at the expected ART checkpoint path beforemodel.register(). Uses a meta-device model so no base model weight memory is allocated; only the small LoRA parameter tensors (~few MB) are materialised on CPU.VLLM_USE_V1=0env var setting with an explanatory comment.- PEFT returns
target_modulesas asetwhich is not JSON-serializable — convert to sorted list before savingadapter_config.json-
gpu_memory_utilizationwas only passed ininit_args(Unsloth) but NOT inengine_args(vLLM), so vLLM defaulted to 0.9 and OOM'd when Unsloth already held GPU memory on the same device. Now passed in both.-
engine_argswas omitted entirely whenmax_lora_rankwasn't set (conditional dict unpacking), meaning no engine args were ever forwarded unless rank > 16. Now always passed.Validated locally
All tested with
openpipe-art==0.5.17,vllm==0.17.0,Qwen2.5-7B-Instructon 1x H100:adapter_config.json+adapter_model.safetensorswith correct LoRA config and zero weightsTest plan
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Prevented loss or omission of adapter files during backend conversion and ensured GPU memory settings are reliably passed to runtime, improving stability of adapter-based model loading and training.
Documentation
Added an expanded GPU/process troubleshooting guide, an end-to-end testing checklist with concrete failure scenarios, and a validated example configuration for backend validation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->