Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leveraging GPU to run the quickstart_vision.ipynb notebook #59

Open
Analect opened this issue Jan 17, 2025 · 0 comments
Open

Leveraging GPU to run the quickstart_vision.ipynb notebook #59

Analect opened this issue Jan 17, 2025 · 0 comments

Comments

@Analect
Copy link

Analect commented Jan 17, 2025

Hi. Thanks for your work on this.
I was trying to run your example https://github.com/Giskard-AI/giskard/blob/main/docs/getting_started/quickstart/quickstart_vision.ipynb on Colab. Initially I was using the default CPU runtime, but the notebook ran for >1hr and eventually timed-out. I was then trying to run it on a Colab GPU runtime (T4). It says "To use the fast image processor class set use_fast=True." Could you advise how the model setup in the sample notebook should be adjusted to be able to leverage a GPU?

Image

Fast image processor class <class 'transformers.models.vit.image_processing_vit_fast.ViTImageProcessorFast'> is available for this model. Using slow image processor class. To use the fast image processor class set `use_fast=True`.
Device set to use cpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant