googleapis / googleapis/python-aiplatform

Add extra_environment_variables param to LocalModel.build_cpr_model()

Aperta
#1,833 2 commenti 0 reazioni 1 assegnatario Rivendicata da @kthytang Vedi su GitHub
api: vertex-ai type: feature request
Lingua principale
Python
Stelle
905
Fork
465
Merge medio
1g 13h
PR unite (30g)
44

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.