Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix FSDP error Fixes error when `loss` field of model output is non-empty, and indexing as [0] returns loss instead of logits. Can happen with FSDP. * Apply suggestions from code review force return_dict Co-authored-by: Younes Belkada <[email protected]> --------- Co-authored-by: Younes Belkada <[email protected]>
- Loading branch information