Skip to content

This module is taking up too much memory. #6191

@myyrakle

Description

@myyrakle

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: vertex-aiIssues related to the googleapis/python-aiplatform API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions