mithril-security / blindai

Confidential AI deployment with secure enclaves :lock:
https://www.mithrilsecurity.io/
Apache License 2.0
502 stars 36 forks source link

Erroneous positional argument in docs/docs/how-to-guides/covid_net_confidential.ipynb #182

Closed pKap4 closed 1 year ago

pKap4 commented 1 year ago

The client.run_model function passes the model id and input tensor batch as positional arguments, but does so incorrectly as the first two arguments of said function are the model id and the model hash. Hence there is a need to explicitly mention that the input tensor object is passed to the input_tensors argument.

Error:

implicit_parameter_passed_error

Solution: image

JoFrost commented 1 year ago

Issue fixed as well, thanks!