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

Problem to run YOLOv8 with GPU in a conda env #132

Open
mestrelan opened this issue Dec 29, 2023 · 1 comment
Open

Problem to run YOLOv8 with GPU in a conda env #132

mestrelan opened this issue Dec 29, 2023 · 1 comment
Labels
question Further information is requested

Comments

@mestrelan
Copy link

mestrelan commented Dec 29, 2023

I confess that I am new to Yolo and GPUs, but I would appreciate it if someone could help me.

I was following the conda quickstart guide but faced a problem with the step:

conda install -c pytorch -c nvidia -c conda-forge pytorch torchvision pytorch-cuda=11.8 ultralytics

Conda could not finish the installation both in Linux and Windows. I will provide more information on what went wrong and the terminal output next week, but I would like to ask first if I need to install cuda toolkit and cudnn before or anaconda install them for me in the env. Maybe someone have a detailed guide of how I could run Yolov8 with GPU (for beginners :) )

I managed to install ultralytics with: conda install -c conda-forge ultralytics but the code did not run with the GPU.

Thank you for your attention. :)

==== Edit ====
I found now the troubleshooting steps and I will soon try it. :)

The last step says that the code must specify GPU usage and this might be in the settings or configuration. How could I specify GPU usage in the code?

@mestrelan mestrelan added the question Further information is requested label Dec 29, 2023
@mestrelan mestrelan changed the title Problem to run YOLOv8 with GPU in a conda env Del Dec 29, 2023
@mestrelan mestrelan changed the title Del Problem to run YOLOv8 with GPU in a conda env Dec 29, 2023
@Burhan-Q
Copy link
Contributor

@mestrelan please make sure to open issues for the ultralytics package and YOLO on our primary repository as this one is only for publishing our package to conda-forge and is not managed by Ultralytics directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants