Add extra_environment_variables param to LocalModel.build_cpr_model() #1833
Labels
api: vertex-ai
Issues related to the googleapis/python-aiplatform API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently, the
build_cpr_model()
method of theLocalModel
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 theVERTEX_CPR_WEB_CONCURRENCY
variable, and thus control the number of workers that are raised in the Endpoint.PR: #1832
The text was updated successfully, but these errors were encountered: