Repair tensor-parallel checkpoint loading for Olmo2
Repair tensor-parallel checkpoint loading for Olmo2: a task in UXInteract 0.1 (Harbor dataset). Fix the Olmo2 language-model head mapping in paddleformers/transformers/olmo2/modeling.py . A checkpoint stores lm head.weight as vocab size, hidden size , but loading a tensor-parallel rank currently…
The task
Fix the Olmo2 language-model head mapping in `paddleformers/transformers/olmo2/modeling.py`. A checkpoint stores `lm_head.weight` as `[vocab_size, hidden_size]`, but loading a tensor-parallel rank currently gives the head the wrong local shape. Work with the supplied list-based reproduction; preserve the existing…
Part of Lego-X/UXInteract.