Fooocus icon indicating copy to clipboard operation
Fooocus copied to clipboard

[Feature Request]: Docker built only with latest CUDA, offer variation for CUDA 12.3?

Open ErroneousBosch opened this issue 9 months ago • 14 comments

Checklist

  • [X] The issue has not been resolved by following the troubleshooting guide
  • [X] The issue exists on a clean installation of Fooocus
  • [X] The issue exists in the current version of Fooocus
  • [X] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

Attempting to run the new docker image from package repository on TrueNAS Dragonfish (which has its NVIDIA drivers locked to 545.23.08/CUDA 12.3), the image will not start:

Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: requirement error: unsatisfied condition: cuda>=12.4, please update your driver to a newer version, or use an earlier cuda container: unknown

Steps to reproduce the problem

  1. Run drivers that do not support CUDA 12.4
  2. Try to run Docker image

What should have happened?

Ideally, should have started.

What browsers do you use to access Fooocus?

Google Chrome

Where are you running Fooocus?

Locally with virtualization (e.g. Docker)

What operating system are you using?

TrueNAS Dragonfish

Console logs

No log because App does not start

Additional information

Offering this kind of variation may be helpful for anyone running in an orchestrated environment.

ErroneousBosch avatar May 26 '24 22:05 ErroneousBosch