... | ... | @@ -17,7 +17,7 @@ Configure exim (message transfer agent) with: |
|
|
Setup the task queues to avoid having your tasks being killed because of oom, by setting the concurrency on both main and low-priority workers. They should more or less match your mem_limit (cf production.yml) divided by the maximum memory taken by the tasks consumed by these workers respectively. This is assuming trying to have decent performance on a single machine, if running a swarm and each worker has its own machine the limits don't make sense.
|
|
|
|
|
|
$ export CELERY_MAIN_CONC=10
|
|
|
$ export CELERY_LOW_CONC=4
|
|
|
$ export CELERY_LOW_CONC=10
|
|
|
|
|
|
Alternatively you can create a file called `.env` and write those variables in it, docker will pick them up automatically.
|
|
|
|
... | ... | @@ -55,10 +55,11 @@ And send it away a while later: |
|
|
|
|
|
First make sure to have a supported distribution [here](https://nvidia.github.io/nvidia-docker/).
|
|
|
Then install the latest nvidia drivers.
|
|
|
For Debian 10 the easiest way is to use the [buster backports](http://ftp.debian.org/debian/dists/buster/).
|
|
|
`echo deb http://deb.debian.org/debian buster-backports main > /etc/apt/sources.list`
|
|
|
`sudo apt-get update`
|
|
|
`apt-get install -t buster-backports nvidia-driver`
|
|
|
For Debian 10 the easiest way is to use the [buster backports](http://ftp.debian.org/debian/dists/buster/).
|
|
|
|
|
|
$ echo deb http://deb.debian.org/debian buster-backports main > /etc/apt/sources.list
|
|
|
$ sudo apt-get update
|
|
|
$ apt-get install -t buster-backports nvidia-driver
|
|
|
|
|
|
*insert additional steps here*
|
|
|
|
... | ... | |