Mathis Doutre
Mathis Doutre
Already opened a PR for this : #459 (linked above). Has the fix, benchmarks, and tests.
Yeah both look like real bugs, `loss_mask` being response-only but used as the full sequence attention mask explains the clipfrac/KL blowup. The shape mismatch at 1156 also tracks. I think...
[fsdp] FSDP wrap policy raises on partial-resolution `_no_split_modules` (Qwen3.5 / Qwen3-Next case)
Worth noting this is the same pattern as huggingface/accelerate#2947 ...verl likely inherited it from there. The difference is that accelerate's issue was triggered by model variants missing layers, whereas here...
Hey, I think it's just a backpressure default to avoid overwhelming the KV cache on the inference server, nothing too principled from what I can tell, just a "works okay...
This not a bug. pi0_fast is ~3.4B params and you're full fine-tuning on 24GB cards... weights + grads + Adam states alone overflow before activations. `--multi_gpu` is DDP, so each...
The frozen nvidia-smi is probaly from Ctrl-C leaving zombie processes hodling memory. Kill the leftover PIDs (`fuser -k /dev/nvidia*`) or reboot.
I investigated this locally and found something. It comes from over-truncation: when `max_length` is small relative to the prompt length, all completion tokens get truncated away. The completion mask becomes...
It's not supported right now. The GOLD trainer assumes symmetric inputs. Supporting privileged context would mean allowing separate teacher/student inputs in the batch and running the two forward passes independently...
Fix looks right. Would fold the missing `supports_tool_calling` pre-check into the same PR since it's the same root cause. Happy to take it if you're not already on it.
Hey, did some digging on this, it's not a torch 2.12.0 regression, the pin isn't needed. The actual cause is in `scripts/generate_tiny_models/for_conditional_generation/qwen2_5_vl_for_conditional_generation.py`. The `vision_config` dict uses `num_attention_heads` as the key:...