Skip to content

The ordeal of installing the Nvidia runtime Using Docker, Windows 10 and WSL #1084

Answered by calloatti
calloatti asked this question in Q&A
Discussion options

You must be logged in to vote

Well, it works, the xtimer column is the time it takes to do recognition of a face using SubCenter-ArcFace-r100, around 5 seconds:

And using SubCenter-ArcFace-r100-gpu with RTX 3060 12GB:

All I did was install the video card drivers, and then edited the docker-compose.yml file like this:

  compreface-core:
    image: ${registry}compreface-core:${CORE_VERSION}
    restart: always
    container_name: "compreface-core"
    environment:
      - ML_PORT=3000
      - UWSGI_PROCESSES=${uwsgi_processes:-2}
      - UWSGI_THREADS=${uwsgi_threads:-1}
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities:…

Replies: 8 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pospielov
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Anatolii-R
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@antonbek89
Comment options

Answer selected by calloatti
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants