add code tutorial to vllm docs

This commit is contained in:
Krrish Dholakia 2023-09-06 20:59:50 -07:00
parent c0dfc32926
commit 7dd256ba11

View file

@ -2,6 +2,8 @@
LiteLLM supports all models on VLLM.
🚀[Code Tutorial](https://github.com/BerriAI/litellm/blob/main/cookbook/VLLM_Model_Testing.ipynb)
### Quick Start
```
pip install litellm vllm
@ -97,4 +99,5 @@ def test_vllm_custom_model():
test_vllm_custom_model()
```
[Implementation Code](https://github.com/BerriAI/litellm/blob/6b3cb1898382f2e4e80fd372308ea232868c78d1/litellm/utils.py#L1414)
[Implementation Code](https://github.com/BerriAI/litellm/blob/6b3cb1898382f2e4e80fd372308ea232868c78d1/litellm/utils.py#L1414)