conda create -n serve-health python=3.6
conda activate serve-health
conda install -c pytorch pytorch
conda install -c pytorch torchvision
Installation details can be found here.
git clone --recurse-submodules https://github.com/alindkhare/serve-healthcare.git
cd serve-healthcare
bash ./ray/ci/travis/install-bazel.sh
cd ./ray/python && pip install -e .[serve] --verbose
cd ../../
pip install -r requirement.txt
pip install -e . --verbose
Running python profile.py
populates .jsonl
file for time taken by each query.
Using .jsonl
file following can be plotted -