googleapis / googleapis/python-aiplatform

Add extra_environment_variables param to LocalModel.build_cpr_model()

オープン
#1,833 コメント 2 件 リアクション 0 件 担当者 1 名 @kthytang が担当を希望しています GitHub で見る
api: vertex-ai type: feature request
主要言語
Python
スター
905
フォーク
465
平均マージ
1日 13時間
マージ済み PR(30日)
44

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。