You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing a CI test, I realize that the following fails when using a dask_distributed_local_core_fraction other than 0 or 1 if the machine has only one core (like the standard GitHub CI compute).
Even though this case will hardly ever be an issue for our computations, I suggest to replace int() with numpy.ceil() or raise a specific warning. Currently one just gets a ZeroDevisionError.
The text was updated successfully, but these errors were encountered:
While writing a CI test, I realize that the following fails when using a
dask_distributed_local_core_fraction
other than0
or1
if the machine has only one core (like the standard GitHub CI compute).mllam-data-prep/mllam_data_prep/__main__.py
Lines 56 to 64 in a283eff
Even though this case will hardly ever be an issue for our computations, I suggest to replace
int()
withnumpy.ceil()
or raise a specific warning. Currently one just gets a ZeroDevisionError.The text was updated successfully, but these errors were encountered: