Model URI
Supported URIs
Type | Format | Note |
---|---|---|
Google Cloud Storage |
| Please make sure your google cloud storage bucket is public. |
PHFS |
| This path is mapped to |
MLflow Model |
| It maps to the MLflow Model Registry. The version could be either a version number or the stage of a model. |
NFS |
| This path is mapped to |
How does the Model URI work?
If a PrimeHub Deployment runs with a Model URI, it will start a model downloader before a deployment gets ready to serve.
The deployment and its model downloader will share the same volume /mnt/models
. When the downloader finished its job, the deployment could load and create a model to serve.
Test GCS Model URI by Docker
In model deployment, we use the gcr.io/kfserving/storage-initializer
image to download the model files into the /mnt/models
folder.
You can use the following command to test if the download process is work as expected.
Last updated