Closed subramaniam20jan closed 1 year ago
Can you try again with 1.0.10? We recently updated the from_sample
implementation and see if you still encounter this bug.
Note that the example from the docstring for from_sample
is a foobar example.
I'm encountering the same issue with 1.0.10. See here for the respective line.
Related issue: https://github.com/bentoml/BentoML/issues/3086
Hi there again. I have tested this with the latest version and I didn't encounter the error. Feel free to reopen this if it stills come up.
Describe the bug
There seems to be an obvious bug here, where the dtype is set to a boolean and then checked here to not be boolean. I tried to circumvent this issue by skipping this factory but couldnt get it to work either.
Simply running the example code here, should be able to hit the issue
To reproduce
Contents of service.py
Expected behavior
Returns a single static prediction.
Instead throws an error:
Environment
bentoml: 1.0.7 python: 3.10