googleapis / googleapis/python-aiplatform

Add extra_environment_variables param to LocalModel.build_cpr_model()

Đang mở
#1,833 2 bình luận 0 reaction 1 người được giao Được @kthytang nhận Xem trên GitHub
api: vertex-ai type: feature request
Ngôn ngữ chính
Python
Star
905
Fork
465
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
44

Mô tả

Currently, the `build_cpr_model()` method of the `LocalModel` class does not allow environment variables to be passed in a simple way.

I've creare a PR to add an `extra_environment_variables` parameter, where we can define the environment variables we want to use in our CPR. A very useful use can be to set the `VERTEX_CPR_WEB_CONCURRENCY` variable, and thus control the number of workers that are raised in the Endpoint.

PR: https://github.com/googleapis/python-aiplatform/pull/1832

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.