Skip to content

[FEEDBACK] How to use gpu? #136

@pmffromspace

Description

@pmffromspace

Hey awesome project - I got relativly large collection and wanted to use gpu to speed scan speed up:

In docker-compose.yml I tried added nvidia container toolkit support to it like so but it doesnt seem to automatically switch to gpu if available. Do I need to set a env var? couldnt find any infos :)

#worker
...
    runtime: nvidia
    restart: unless-stopped
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities:
                - gpu

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededsupportSupport needed, still not know if it's a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions