mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* Add phase 1 implementation of new storage spec Signed-off-by: tomcli <[email protected]> * Storagespec refactoring * Some refactoring - Changed GetStorageURI func to always return the storageUri field and not impute from StorageSpec information - Instead have the addStorageSpecAnnotations func set the storage uri annotation if a path is specified - Deduplicated logic in predictor.go which sets the storage uri annotation from explicit storageUri field, and fail if the annotation is already set (i.e. if both storage.path and storageUri are specified) - Renamed CreateStorageSpecSecretVolumeAndEnv func to CreateStorageSpecSecretEnvs and refactored the logic to fail if an explicit secret storageKey is not found, but not if it's a default one - Renamed default storage keys to look up to "default" and "default_s3" depending on whether storage type information was provided - Moved some string names to constants - Removed now-not-applicable predictor_test.go and explainer_test.go - Extended tests in storage_initializer_injector_test.go to cover StorageSpec cases * Also check for existence of StorageSpec in IsMMSPredictor func Co-authored-by: Nick Hill <[email protected]> Signed-off-by: tomcli <[email protected]> * update python server with the new env variables Signed-off-by: tomcli <[email protected]> * Update example due to the recent sklearn library upgrade Signed-off-by: tomcli <[email protected]> * change static int to compute from variable length Signed-off-by: tomcli <[email protected]> * abstract predictor and explainer validate function. Also add storageSpec validation Signed-off-by: tomcli <[email protected]> * remove reduntant storageSpec check in the service_account_credentials.go Signed-off-by: tomcli <[email protected]> * Add aws anonymous mode flog Signed-off-by: tomcli <[email protected]> * generate python sdk and add storagespec s3 e2e test Signed-off-by: tomcli <[email protected]> * update ci overlays Signed-off-by: tomcli <[email protected]> * Proxy minio service to CI client. Signed-off-by: tomcli <[email protected]> * move minio model init to a k8s job Signed-off-by: tomcli <[email protected]> * deploy minio job with permitted ns Signed-off-by: tomcli <[email protected]> * Add non-codegen import Signed-off-by: tomcli <[email protected]> * clean up new merges Signed-off-by: tomcli <[email protected]> Co-authored-by: Nick Hill <[email protected]>
7 lines
82 B
JSON
7 lines
82 B
JSON
{
|
|
"instances": [
|
|
[6.8, 2.8, 4.8, 1.4],
|
|
[6.0, 3.4, 4.5, 1.6]
|
|
]
|
|
}
|