File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -49,4 +49,16 @@ curl \
49
49
-H " Content-Type: application/json charset=utf-8" \
50
50
https://us-central1-aiplatform.googleapis.com/v1/projects/$PROJECT_ID /locations/us-central1/endpoints/$ENDPOINT_ID :predict \
51
51
-d " @$INPUT_DATA_FILE "
52
+ ```
53
+
54
+ ### GCP
55
+
56
+ Create AI platform model from container
57
+ ``` bash
58
+ gcloud ai models upload --container-image-uri=northamerica-northeast1-docker.pkg.dev/brazen-score/brazen-score/brazen-score --display-name=brazen-score --container-health-route=/ping --container-predict-route=/predictions/brazen-score --container-ports=8080 --region=us-central1
59
+ ```
60
+
61
+ Deploy model to endpoint (with GPU)
62
+ ``` bash
63
+ gcloud ai endpoints deploy-model projects/33769752758/locations/us-central1/endpoints/5056865082374356992 --display-name=brazen-score --model=projects/33769752758/locations/us-central1/models/3793706541966688256 --region=us-central1 --machine-type=n1-standard-2 --accelerator=type=nvidia-tesla-k80
52
64
```
You can’t perform that action at this time.
0 commit comments