Skip to content

generate API response null in swaggerUI #537

@maxchiron

Description

@maxchiron

precondision

# lmdeploy intern-chat-7b by RestfulAPI method
python3 -m lmdeploy.serve.openai.api_server ./workspace server_ip server_port --instance_num 32 --tp 1

# Enter swaggerUI
http://{server_ip}:{server_port}

issue

In generate part, response body returns null in key "text"

, while the /v1/chat/completions, /models, /embedding APIs are all fine.
btw, it is tested through ngrok public url cause the localhost is in indirectly unaccessable subnet.

image
image
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions