googleapis / googleapis/python-aiplatform

This module is taking up too much memory.

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

描述

## My Problem
- When installing and importing vertexai, it immediately takes up about 250MB.
```
# uv add google-cloud-aiplatform
import vertexai
```
Image

- So, if I'm using eight multiprocessors, adding this module alone will increase my base memory usage by about 2GB.

## Question
- I think this is too heavy for a single module.
- Where does this massive size come from? Is it because of the numerous shared libraries?
- Is there a way to reduce the memory footprint of the module?

贡献指南

打开贡献指南

调研方向

Reproduce the reported memory increase using the shown `uv add google-cloud-aiplatform` and `import vertexai` steps, then inspect the package's dependencies and imported shared libraries. Done means identifying the main source of the roughly 250 MB footprint and determining a concrete, validated way to reduce it.

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

评估

技术栈
google-cloud, python
领域
machine-learning
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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