Skip to content

[BUG] 2.4.0-gpu is broken, can't load libcudnn_ops #42

@AviiNL

Description

@AviiNL

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When invoking faster-whisper from home assist on version current gpu tag which is the same as 2.4.0-gpu I'm getting the following response:

whisper  | INFO:__main__:Ready
whisper  | Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
whisper  | INFO:faster_whisper:Processing audio with duration 00:02.520
whisper  | Unable to load any of {libcudnn_ops.so.9.1.0, libcudnn_ops.so.9.1, libcudnn_ops.so.9, libcudnn_ops.so}
whisper  | Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
whisper  | Traceback (most recent call last):
whisper  |   File "<string>", line 1, in <module>
whisper  |   File "<frozen posixpath>", line 181, in dirname
whisper  | TypeError: expected str, bytes or os.PathLike object, not NoneType

Expected Behavior

downgrading the tag in my compose file to 2.3.0-gpu and everything works as expected.

Steps To Reproduce

use image with tag gpu
invoke a request from home assistant

Environment

CPU architecture

x86-64

Docker creation

services:
  whisper:
    container_name: whisper
    image: lscr.io/linuxserver/faster-whisper:gpu
    pull_policy: always
    restart: unless-stopped
    environment:
      PUID: 1000
      PGID: 1000
      TZ: Europe/Amsterdam
      WHISPER_MODEL: medium.en
      WHISPER_LANG: en
    ports:
      - 10300:10300
    volumes:
      - ./data/whisper:/config
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities:
                - gpu
                - utility
                - compute

Container logs

whisper  | INFO:__main__:Ready
whisper  | Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
whisper  | INFO:faster_whisper:Processing audio with duration 00:02.520
whisper  | Unable to load any of {libcudnn_ops.so.9.1.0, libcudnn_ops.so.9.1, libcudnn_ops.so.9, libcudnn_ops.so}
whisper  | Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
whisper  | Traceback (most recent call last):
whisper  |   File "<string>", line 1, in <module>
whisper  |   File "<frozen posixpath>", line 181, in dirname
whisper  | TypeError: expected str, bytes or os.PathLike object, not NoneType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions