poteha / docker-nlp

Docker images for production NLP usage including deep learning
MIT License
35 stars 13 forks source link
docker machine-learning nlp

How to use

In your docker file write FROM iwitaly/nlp:cpu for CPU version or FROM iwitaly/nlp:gpu for GPU version.

Find the image at Docker hub https://hub.docker.com/r/iwitaly/nlp/

Whats inside

Modern NLP frameworks including deep learning:

How to build

CPU

docker build -t nlp-cpu -f ./Dockerfile.cpu .

GPU

docker build -t nlp-gpu -f ./Dockerfile.gpu .

Please keep in mind that this version works with CUDA 10. Choose another base image if your GPU does not support it.

You can find NVIDIA images here https://hub.docker.com/r/nvidia/cuda/

How to use

docker run -it --runtime=nvidia iwitaly/nlp:gpu nvidia-smi

You can also pass CUDA_VISIBLE_DEVICES environment variable.