GithubHelp home page GithubHelp logo

Error in importing `vertexai.preview.generative_models` in `generative-ai/gemini/use-cases/intro_multimodal_use_cases.ipynb` about generative-ai HOT 5 CLOSED

said-rasidin avatar said-rasidin commented on May 28, 2024
Error in importing `vertexai.preview.generative_models` in `generative-ai/gemini/use-cases/intro_multimodal_use_cases.ipynb`

from generative-ai.

Comments (5)

Biparker avatar Biparker commented on May 28, 2024

As of 2:45 PM EST on 1/26, this problem has not been corrected. Wait time for online support from Qwiklabs is 15 - 30 minutes, and no answered provided, even after sharing error code.

from generative-ai.

holtskinner avatar holtskinner commented on May 28, 2024

Edit: Refer to #363 (comment)

I've not been able to reproduce this behavior in Colab after running all of the cells.

Can you provide more information about the environment you're running the notebook on?

Also, try changing the cell

! pip3 install --upgrade --user google-cloud-aiplatform

To be:

%pip install --upgrade --user google-cloud-aiplatform

from generative-ai.

holtskinner avatar holtskinner commented on May 28, 2024

The change in #365 can also fix this issue. Seems to be either that the protobuf library isn't installing correctly or that there's a bug in the default installed version of the library. Asking @komaljoshi-SSK for clarity.

Edit: This seems to be a Qwiklabs/Skills boost specific issue.

From @polong-lin

User Managed Notebook Instance deployed in Qwiklabs was using an old VM image, which caused Python dependency conflicts with the latest version of Vertex AI.

PR CloudVLab/terraform-lab-foundation#353 should fix the issue once the change rolls out to Qwiklabs.

from generative-ai.

rocpoc avatar rocpoc commented on May 28, 2024

Changes should be rolling out to Cloud Skills Boost deployments momentarily.

from generative-ai.

polong-lin avatar polong-lin commented on May 28, 2024

This is been confirmed as fixed on the Skills Boost side -- thank you!

from generative-ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.