mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-04 15:16:03 -05:00
chore: revert back previous backend support PyTorch (#739)
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
2
openllm-python/README.md
generated
2
openllm-python/README.md
generated
@@ -1666,7 +1666,7 @@ it by specifying its URL:
|
||||
```python
|
||||
from langchain.llms import OpenLLM
|
||||
|
||||
llm = OpenLLM(server_url='http://44.23.123.1:3000', server_type='grpc')
|
||||
llm = OpenLLM(server_url='http://44.23.123.1:3000', server_type='http')
|
||||
llm('What is the difference between a duck and a goose? And why there are so many Goose in Canada?')
|
||||
```
|
||||
|
||||
|
||||
@@ -813,7 +813,6 @@ def build_command(
|
||||
|
||||
if backend == 'pt':
|
||||
logger.warning("PyTorch backend is deprecated and will be removed from the next releases. Will set default backend to 'vllm' instead.")
|
||||
backend = 'vllm'
|
||||
|
||||
llm = openllm.LLM[t.Any, t.Any](
|
||||
model_id=model_id,
|
||||
|
||||
Reference in New Issue
Block a user