Skip to content

Commit

Permalink
Add a demo gif in README (#12)
Browse files Browse the repository at this point in the history
* Add demo gif

* Add demo gif

---------

Co-authored-by: npuzhangyuchao <[email protected]>
  • Loading branch information
npuichigo and npuzhangyuchao authored Dec 7, 2023
1 parent fb04401 commit 6bba496
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Cargo.lock

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

/models
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
Provide [TensorRT-LLM](https://github.com/NVIDIA/TensorRT-LLM) and [NVIDIA Triton Inference Server](https://github.com/triton-inference-server/tensorrtllm_backend)
with an OpenAI-compatible API. This allows you to integrate with [langchain](https://github.com/langchain-ai/langchain)

## Quick overview
![demo](images/demo.gif)

## Get started
Follow the [tensorrtllm_backend tutorial](https://github.com/triton-inference-server/tensorrtllm_backend#using-the-tensorrt-llm-backend)
to build your TensorRT engine, and launch a triton server. We provide an `Baichuan` example below to follow.

You need to clone the repository with dependencies to build the project.
```bash
git submodule update --init --recursive
git clone --recursive https://github.com/npuichigo/openai_trtllm.git
```

### Build with Docker
Expand Down
1 change: 0 additions & 1 deletion client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
openai>=0.28.1
pprint
Binary file added images/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6bba496

Please sign in to comment.