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
AST can't handle inputs with zero rows because it can't get the right numbers of kernel's blocks for this case. This is an edge case, but it should be covered as pandas do.
C++ exception with description "CUDF failure at: /opt/mambaforge/conda-bld/libcudf-ext_1681746453367/work/cpp/include/cudf/detail/utilities/cuda.cuh:66: num_blocks must be > 0" thrown in the test body.
Thanks, agreed. I think that #13245 fixes this correctly. I still run through the parser to infer types but just don't launch the kernel if the input is empty.
Describe the bug
AST can't handle inputs with zero rows because it can't get the right numbers of kernel's blocks for this case. This is an edge case, but it should be covered as pandas do.
Steps/Code to reproduce bug
RuntimeError: CUDF failure at: /opt/conda/conda-bld/work/cpp/include/cudf/detail/utilities/cuda.cuh:66: num_blocks must be > 0
Expected behavior
For the example above it should return a column with zero rows.
Environment overview (please complete the following information)
The text was updated successfully, but these errors were encountered: