Written by

Integration Engineer at Cognosante
Question Oliver Wilms · Apr 18, 2025

Error when trying langchain-iris-tool

I cloned @Yuri Marx's langchain-iris-tool repo and typed docker-compose up -d. I see error message:

Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]
 

Comments

Yuri Marx · Apr 19, 2025

Hi, you dont have GPU enabled to use, so into your docker-compose.yml file replace ollama service with this:


  ollama:
    image: ollama/ollama:latest
    ports:
      - 11434:11434
    volumes:
      - ./model_files:/model_files
      - .:/code
      - ./ollama:/root/.ollama
    container_name: ollama
    pull_policy: always
    tty: true
    restart: always
    entrypoint: ["/usr/bin/bash", "/model_files/run_ollama.sh"]
    networks:
      - iris-llm2-network

0