Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.20.0
-
None
Description
If the desired_bundle_size is lower than 1mb, then split returns only SourceBundles with weight=0 which leads to a ZeroDivisionError down the line.
ZeroDivisionError: float division by zero
This error is raised from _compute_cumulative_weights here:
Worked for me: Pulling the truncation from _get_split_keys (here) into split instead.
Attachments
Issue Links
- links to