accelerate
Add explicit error if empty batch received
#2115
Merged

Add explicit error if empty batch received #2115

muellerzr merged 2 commits into huggingface:main from YuryYakhno:main
YuryYakhno
YuryYakhno Add explicit error if empty batch received
2947fee1
HuggingFaceDocBuilderDev
muellerzr
muellerzr commented on 2023-11-02
YuryYakhno Move error check to cover all empty iterables
f3f8572b
muellerzr
muellerzr approved these changes on 2023-11-02
muellerzr muellerzr requested a review from BenjaminBossan BenjaminBossan 2 years ago
BenjaminBossan
BenjaminBossan approved these changes on 2023-11-03
muellerzr muellerzr merged 4f100318 into main 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone