googleapis / googleapis/python-aiplatform

This module is taking up too much memory.

Open
#6,191 0 comments 0 reactions 0 assignees View on GitHub
api: vertex-ai
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

## 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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.