tduffy000 / kfserving-uri-examples

A collection of frozen models to be used as examples in the URI Storage object.
5 stars 2 forks source link

SKlearn github uri #1

Open Soot3 opened 3 years ago

Soot3 commented 3 years ago

Sorry. Is the github example still supported. Got this when trying it out.

Error from server: error when creating "los_kfserving1.yaml": admission webhook "inferenceservice.kfserving-webhook-server.validator" denied the request: storageUri, must be one of: [gs://, s3://, pvc://, file://] or match https://{}.blob.core.windows.net/{}/{} or be an absolute or relative local path. StorageUri [https://github.com/tduffy000/kfserving-uri-examples/blob/master/sklearn/frozen/model.joblib?raw=true] is not supported.

tduffy000 commented 2 years ago

@Soot3 what version of kfserving are you running? It should be supported https://github.com/kubeflow/kfserving/blob/e394be47a7c4cc93b023c9b2b1760e54d1257551/python/kfserving/kfserving/storage.py#L234. I believe it was included in the 0.5 release --> https://github.com/kubeflow/kfserving/releases/tag/v0.5.0.

coalindiax commented 2 years ago

alternative you can give raw.githubcontent url