Came across this error for only this model generated using the test case generation script in api-inference-community:
*** TypeError: methodcaller needs at least one argument, the method name
To reproduce:
from skops import hub_utils
hub_utils.download(repo_id = "skops-tests/textclassification-sklearn-latest-hist_gradient_boosting-with-config-skops", dst="model_dir")
import skops.io as sio
sio.load("/content/model_dir/skops-v588xnq6.skops", trusted=True)
At first I thought something might've been wrong with how I serialize it but I think it's weird how every test passes and this model fails for inference.
Came across this error for only this model generated using the test case generation script in
api-inference-community:*** TypeError: methodcaller needs at least one argument, the method nameTo reproduce:
At first I thought something might've been wrong with how I serialize it but I think it's weird how every test passes and this model fails for inference.