File tree 8 files changed +10
-10
lines changed
8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 26
26
except ImportError :
27
27
raise ImportError (
28
28
"Docker is not installed and is required to run containers. "
29
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
29
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
30
30
)
31
31
32
32
from google .cloud .aiplatform .constants import prediction
Original file line number Diff line number Diff line change 22
22
except ImportError :
23
23
raise ImportError (
24
24
"Docker is not installed and is required to run containers. "
25
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
25
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
26
26
)
27
27
28
28
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Specify `<your-env>` in the following snippets. `<your-env>` should be a string
25
25
pip install virtualenv
26
26
virtualenv < your-env>
27
27
source < your-env> /bin/activate
28
- < your-env> /bin/pip install " google-cloud-aiplatform[prediction]"
28
+ < your-env> /bin/pip install " google-cloud-aiplatform[prediction]>=1.16.0 "
29
29
```
30
30
31
31
### Windows
@@ -34,7 +34,7 @@ Specify `<your-env>` in the following snippets. `<your-env>` should be a string
34
34
pip install virtualenv
35
35
virtualenv < your-env>
36
36
< your-env> \S cripts\a ctivate
37
- < your-env> \S cripts\p ip.exe install " google-cloud-aiplatform[prediction]"
37
+ < your-env> \S cripts\p ip.exe install " google-cloud-aiplatform[prediction]>=1.16.0 "
38
38
```
39
39
40
40
## Design Overview
Original file line number Diff line number Diff line change 24
24
except ImportError :
25
25
raise ImportError (
26
26
"FastAPI is not installed and is required to build model servers. "
27
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
27
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
28
28
)
29
29
30
30
from google .cloud .aiplatform .prediction import handler_utils
Original file line number Diff line number Diff line change 22
22
except ImportError :
23
23
raise ImportError (
24
24
"Starlette is not installed and is required to build model servers. "
25
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
25
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
26
26
)
27
27
28
28
from google .cloud .aiplatform .constants import prediction
Original file line number Diff line number Diff line change 39
39
DEFAULT_PREDICT_ROUTE = "/predict"
40
40
DEFAULT_HEALTH_ROUTE = "/health"
41
41
DEFAULT_HTTP_PORT = 8080
42
- _DEFAULT_SDK_REQUIREMENTS = ["google-cloud-aiplatform[prediction]" ]
42
+ _DEFAULT_SDK_REQUIREMENTS = ["google-cloud-aiplatform[prediction]>=1.16.0 " ]
43
43
_DEFAULT_HANDLER_MODULE = "google.cloud.aiplatform.prediction.handler"
44
44
_DEFAULT_HANDLER_CLASS = "PredictionHandler"
45
45
_DEFAULT_PYTHON_MODULE = "google.cloud.aiplatform.prediction.model_server"
Original file line number Diff line number Diff line change 29
29
except ImportError :
30
30
raise ImportError (
31
31
"FastAPI is not installed and is required to run model servers. "
32
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
32
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
33
33
)
34
34
35
35
try :
36
36
import uvicorn
37
37
except ImportError :
38
38
raise ImportError (
39
39
"Uvicorn is not installed and is required to run fastapi applications. "
40
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
40
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
41
41
)
42
42
43
43
Original file line number Diff line number Diff line change 24
24
except ImportError :
25
25
raise ImportError (
26
26
"FastAPI is not installed and is required to build model servers. "
27
- 'Please install the SDK using " pip install google-cloud-aiplatform[prediction]" '
27
+ 'Please install the SDK using ` pip install " google-cloud-aiplatform[prediction]>=1.16.0"`. '
28
28
)
29
29
30
30
from google .cloud .aiplatform .constants import prediction as prediction_constants
You can’t perform that action at this time.
0 commit comments