Strongich

Results issues of Strongich

# What does this PR do? Fixes a `generate()` failure on VLMs when `loss_type="chunked_nll"` (now the default since #5846). `_patch_chunked_ce_lm_head` replaces `model.forward` with `_chunked_ce_forward` to compute the chunked CE loss....

**Clear PR, based on https://github.com/huggingface/trl/pull/5461 with changes introduced in 2ac060eeec4b0f7afaf2395431cbff652aa18c00** ### Adds VLM support to [GOLDTrainer](https://huggingface.co/docs/trl/gold_trainer): - Supports same-family VLM distillation with JSD loss when student and teacher share compatible...

### Reproduction When using `GRPOTrainer` with `use_vllm=True, vllm_mode="colocate"`, and `HuggingFaceTB/SmolVLM-Instruct`, the current TRL path sends processor-expanded multimodal `prompt_token_ids` to vLLM, which leads to the broken completions. The minimal diagnostic showing...

### Reproduction Runs on CPU in a few seconds with two processes, so it needs no GPU. It only iterates the training dataloader, which is what the Trainer loop feeds...

### Feature request Extend GOLD's byte-offset alignment (`use_extended_uld=True`, #5885) from ByteLevel BPE tokenizers to byte-fallback BPE tokenizers such as Gemma 4's. A Gemma 4 student would then be aligned by...