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

No CUDA GPUs are available #1201

Open
AuYuHui opened this issue Aug 16, 2024 · 8 comments
Open

No CUDA GPUs are available #1201

AuYuHui opened this issue Aug 16, 2024 · 8 comments

Comments

@AuYuHui
Copy link

AuYuHui commented Aug 16, 2024

Restart Docker and restore

企业微信截图_7e241eab-48dc-4abb-bfca-3a04d3212c39
@JeffreyCA
Copy link
Owner

Hi, can you share the output of:

docker run --rm --gpus all nvidia/cuda:11.8.0-base-ubuntu20.04 nvidia-smi

What GPU are you using?

@AuYuHui
Copy link
Author

AuYuHui commented Aug 17, 2024

image

@AuYuHui
Copy link
Author

AuYuHui commented Aug 17, 2024

image

@JeffreyCA
Copy link
Owner

Can you try pulling the latest changes from master? I updated CUDA to 11.8 and PyTorch today: #1204

@AuYuHui
Copy link
Author

AuYuHui commented Aug 17, 2024

Can you try pulling the latest changes from master? I updated CUDA to 11.8 and PyTorch today: #1204

I try

@JeffreyCA
Copy link
Owner

Can you try changing capabilities: [gpu] to capabilities: [compute, utility] in docker-compose.gpu.yml?

@AuYuHui
Copy link
Author

AuYuHui commented Aug 19, 2024

Can you try changing capabilities: [gpu] to capabilities: [compute, utility] in docker-compose.gpu.yml?

What is a complete command?

@JeffreyCA
Copy link
Owner

Can you try changing capabilities: [gpu] to capabilities: [compute, utility] in docker-compose.gpu.yml?

What is a complete command?

docker-compose -f docker-compose.gpu.yml -f docker-compose.prod.yml -f docker-compose.prod.selfhost.yml up

If that doesn't work, try:

docker-compose -f docker-compose.gpu.yml -f docker-compose.build.gpu.yml -f docker-compose.prod.yml -f docker-compose.prod.selfhost.yml up --build

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

No branches or pull requests

2 participants