Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Restful API #223

Merged
merged 30 commits into from
Aug 22, 2023
Merged

Add Restful API #223

merged 30 commits into from
Aug 22, 2023

Conversation

AllentDan
Copy link
Collaborator

@lvhan028
Copy link
Collaborator

May update profile_serving.py to benchmark serving performance

@lvhan028 lvhan028 changed the title Restful api Add Restful API Aug 15, 2023
docs/en/restful_api.md Outdated Show resolved Hide resolved
@lvhan028 lvhan028 added the enhancement New feature or request label Aug 16, 2023
benchmark/profile_restful_api.py Outdated Show resolved Hide resolved
benchmark/profile_restful_api.py Outdated Show resolved Hide resolved
docs/zh_cn/restful_api.md Show resolved Hide resolved
docs/en/restful_api.md Outdated Show resolved Hide resolved
docs/en/restful_api.md Outdated Show resolved Hide resolved
docs/zh_cn/restful_api.md Outdated Show resolved Hide resolved
@lvhan028 lvhan028 merged commit d5c10e7 into InternLM:main Aug 22, 2023
@frankxyy
Copy link

有了这个基于fastapi的webserver,感觉是不是可以替换掉tritonserver了。。

@lvhan028
Copy link
Collaborator

是的。不过,TIS 我们暂时还不会删除

@AllentDan AllentDan deleted the restful-api branch September 6, 2023 09:52
@renmada
Copy link

renmada commented Apr 29, 2024

pipe = lmdeploy.pipeline(model_path,
backend_config=TurbomindEngineConfig(model_format='awq', tp=4))

RuntimeError: [TM][ERROR]  Assertion fail: [/lmdeploy/src/turbomind/triton_backend/transformer_triton_backend.cpp:32](http://192.168.51.13:7490/lmdeploy/src/turbomind/triton_backend/transformer_triton_backend.cpp#line=31)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants