googleapis / googleapis/python-aiplatform

Introduce a non-global Vertex AI client

未关闭
#5,119 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai type: feature request
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

Currently, vertexai.init() sets global variables which is a limit in a multithreaded environment when you want to serve different models to the corresponding available regions. Having an instantiable client (as in your nodejs [client](https://cloud.google.com/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/vertexai) would solve the problem)

贡献指南

打开贡献指南

调研方向

从入口点 vertexai.init() 开始,将其全局状态行为与关联的 Node.js Vertex AI 客户端进行比较。定义可实例化 Python 客户端的作用域,并验证不同的客户端可以在不同区域为不同模型提供服务,且不共享配置。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api, machine-learning
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。