Question
· 21 hr ago

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]]
 

Discussion (1)1
Log in or sign up to continue

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