googleapis / googleapis/python-aiplatform

Add extra_environment_variables param to LocalModel.build_cpr_model()

未关闭
#1,833 2 条评论 0 个 reaction 已指派 1 人 已被 @kthytang 认领 在 GitHub 查看
api: vertex-ai type: feature request
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
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 摘要。