Skip to content

Unraid CUDA hardware-acceleration won't work (GTX 980) #692

@DorCoMaNdO

Description

@DorCoMaNdO

Per the Immich documentation (link), the minimum supported CUDA capabilities are 5.2, and CUDA version 12.3 (driver 545, I'm using 580, latest for this GPU), which the GTX 980 supports.
I've passed all the standard hardware-acceleration variables and the --runtime=nvidia parameter, all of which works perfectly fine in other containers (i.e. Plex), and it appears to be working for Immich (the GPU Statistics Unraid plugin shows it as an "active app"), I've also run python3 -c "import onnxruntime as ort; print(ort.get_available_providers())" and it returns ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'].

However, once any hardware-acceleration operation attempts to run, it fails with the message below:

Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Gather node.
Name:'/token_embedding/Gather'
Status Message: CUDA error cudaErrorNoKernelImageForDevice:no kernel image is available for execution on the device

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions