Skip to content

[FIX] Move loss and n_items to logits device in fast_cross_entropy_loss loss for multi-GPU support#4063

Merged
danielhanchen merged 2 commits into
unslothai:mainfrom
nole69:fix/cross-entropy-device-mismatch-contd
Feb 15, 2026
Merged

[FIX] Move loss and n_items to logits device in fast_cross_entropy_loss loss for multi-GPU support#4063
danielhanchen merged 2 commits into
unslothai:mainfrom
nole69:fix/cross-entropy-device-mismatch-contd

Commits

Commits on Feb 15, 2026