GithubHelp home page GithubHelp logo

dataxujing / healthcare-on-tap-trt-triton-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nvidia/healthcare-on-tap-trt-triton-demo

0.0 1.0 0.0 2.76 MB

Demonstration of the use of TensorRT and TRITON

License: Other

Dockerfile 0.06% Jupyter Notebook 98.07% Python 1.78% Shell 0.09%

healthcare-on-tap-trt-triton-demo's Introduction

Check the v2_api branch for codes using newer TRITON API.

This repository hosts codes for the Healthcare on Tap series webinar titled "Deeper Dive into TensorRT and TRITON" recorded on 08/06/2020.

Setting up the environment

All tests were performed using 
- Docker version 19.03
- NVIDIA GPUS (RTX 8000 and V100) with driver 450.57

Use the startDocker.sh script as follows to mount a data directory and choose GPU 2 for your tests. Current setup uses nvcr.io/nvidian/pytorch:20.06-py3 as the base image.

./startDocker.sh 2 <PATH_TO_DATA>

Once inside the container, please use the following script to enable GPU dashboards and start jupyterlab

./start_jupyter_lab.sh

TRITON server

A separate container for the server needs to be launched using the script

./start_triton_server.sh 2 <PATH_TO_MODEL_REPO>

TRITON metrics

Drawing

To launch Grafana dashboards for monitoring of metrics, please run docker-compose up from the monitoring folder and navigate to localhost:3000/. Additional steps here.

Notebooks

The three notebooks in this repository walkthrough the example steps for using

  1. TensorRT NB1_PyTorch_TRT_ONNX_Inference
  2. TRITON NB2_TRITON_ClientInference
  3. NB3_lung_segmentation_3d walks through a simple 3D example with a graphdef backend.
  • For replicating the experiments, additional clients can be launched to test inference with multiple models. For ex.
python sim_inference_req_triton.py --model model_cxr_onnx

License

This project is being distributed under the MIT License

The following tools were used as part of this code base and are governed by their respective license agreements. These are in addition to tools distributed within the NGC Docker containers (Pytorch / TRITON).

Any contributions to this repository are subject to the Contributor License Agreement

Additional Resources

  1. TRT Sample Code
  2. TRITON Sample
  3. Developer Guide TRT
  4. Developer Guide TRITON
  5. End to End Unet Example

healthcare-on-tap-trt-triton-demo's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.