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
The IndexKernel seems broken for the case when the input is empty. I stumbled upon this issue when working with botorch (see corresponding bug report here).
ZeroDivisionError: integer division or modulo by zero
Expected Behavior
The output should simply be tensor([], size=(0, 0)), just like you would get it for other kernels. For example, the following snippet works without problems:
🐛 Bug
The
IndexKernel
seems broken for the case when the input is empty. I stumbled upon this issue when working with botorch (see corresponding bug report here).To reproduce
** Code snippet to reproduce **
** Stack trace/error message **
Expected Behavior
The output should simply be
tensor([], size=(0, 0))
, just like you would get it for other kernels. For example, the following snippet works without problems:System information
Please complete the following information:
The text was updated successfully, but these errors were encountered: