Skip to content

TrueNAS Cuda Issue #332

@GinSoakedBoy

Description

@GinSoakedBoy

I'm getting the following error in Scriberr when I try to run a transcription using Cuda: Unexpected error from cudaGetDeviceCount()

I'm running Sciberr within a docker container from Portainer on a TrueNAS server. My GPU is a GTX 1060 (3GB).

Below are the driver versions for TrueNAS and Scriberr.

TrueNAS:
NVIDIA-SMI 550.142
Driver Version: 550.142
CUDA Version: 12.4

Scriberr docker container:
NVIDIA-SMI 550.142
Driver Version: 550.142
CUDA Version: 12.6

Here's my docker compose file:

services:
  scriberr:
    image: ghcr.io/rishikanthc/scriberr-cuda:latest
    container_name: scriberr
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/New_York
      - APP_ENV=production
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    volumes:
      - /mnt/#######/scriberr/data:/app/data
      - /mnt/#######/scriberr/env_data:/app/whisperx-env 
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    restart: unless-stopped
    labels: 
    networks:
      - #####

networks:
  ######:
    external: true

I can't update the Cuda version in TrueNAS as it's tied to OS updates, is there a way to force a lower version of Cuda in Scriberr? Or is there another way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions