Skip to content

"Failed to create CUDAExecutionProvider" onnxruntime error on Google Colab #1401

@hkhare42

Description

@hkhare42

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Question

Really appreciate this library and ecosystem!

I'm trying to run the "time_in_zone" example on Google Colab (CUDAExecutionProvider). I pip installed the requirements.txt and in the next step, also pip installed inference-gpu library.

!nvidia-smi gives me the following showing that CUDA is available.
image

On running the inference_file_example.py, I get the following error:
UserWarning: Specified provider 'OpenVINOExecutionProvider' is not in available provider names.Available providers: 'TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider' 2024-07-22 18:17:36.983840877 [W:onnxruntime:Default, onnxruntime_pybind_state.cc:640 CreateExecutionProviderInstance] Failed to create CUDAExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements to ensure all dependencies are met.

I tried going through the referenced link in the error and going over forums but wasn't able to resolve this. What additional step is needed to get CUDAExecutionProvider to work?

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions