Skip to content

VertexAI vectorizer uses deprecated model garden SDK (removal June 2026) #620

@automaton82

Description

@automaton82

VertexAIVectorizer._client calls TextEmbeddingModel.from_pretrained() and MultiModalEmbeddingModel.from_pretrained() from vertexai.language_models / vertexai.vision_models. These are deprecated as of June 24, 2025 and will be removed June 24, 2026.

Triggers on every vectorizer init:

UserWarning: This feature is deprecated as of June 24, 2025 and will be removed on June 24, 2026.
vertexai/_model_garden/_model_garden_models.py:278

Needs migration to the new google-genai SDK. Reproduced on 0.18.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions