Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to wait for the model to appear when using KServe Modelcar
When using OCI containers for model storage in KServe (modelcar), there is the possibility that the model server starts before the model has been fully downloaded. When this happens, the model server would terminate with error because the model path is empty. This adds a small script to wait for the cluster to fully download the model container before invoking the model server. The waiting is triggered when the MODELCAR_PATH environment variable is set to the path where the model should appear (which should be the same path for loading the model). Signed-off-by: Edgar Hernández <[email protected]>
- Loading branch information