Travis Med AI

docz algolia example

No results for 'undefined'Powered by Algolia
Edit page
1. Introduction
2. Getting Started
a) InstallationPrerequisitesClone repositoryStart projectb) Basic Usage
3. Models
4. Contributing

Installation

Prerequisites

Docker

  • Install docker from here
    • Make sure to add user to the docker group (more info)

Nvidia

Setup Nvidia Runtime

  • Install nvidia drivers
  • Install nvidia runtime using commands below (more info here)
#### Add the package repositories
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
  • Install nvidia-container-runtime
sudo apt install nvidia-container-runtime
  • Add the following file at /etc/docker/daemon.json
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
  • Test that the setup is working with the following command
docker run --runtime=nvidia nvidia/cuda:10.0-base nvidia-smi

Clone repository

git clone git@github.com:tclarke104/med-ai --recursive-submodules # download
cd med-ai/med-ai-model
chmod +x ./build.sh
./build.sh

Start project

cd med-ai
docker-compose up --build

Site will be running at http://localhost:4200.