Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 741 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 741 Bytes

Dockerized Deep QA

Build deepqa:latest image, from the root directory:

docker build -t deepqa:latest .
# Or the GPU version:
docker build -t deepqa:latest -f Dockerfile.gpu .

Run the data-dirs.sh script and copy your models and data into the appropriate folders:

cd DeepQA/docker
./data-dirs.sh <base_dir>

Start the server with docker-compose:

DEEPQA_WORKDIR=<base_dir> docker-compose -f <YAML file> up
# Or the GPU version:
DEEPQA_WORKDIR=<base_dir> nvidia-docker-compose -f <YAML file> up

Note that the GPU version require Nvidia-Docker. In addition, to install nvidia-docker-compose:

pip install jinja2
pip install nvidia-docker-compose