lm-sys / lm-sys/FastChat

unable to communicate with mistral models deployed in EC2 by using gradio_webserver API

Open
#3,409 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I have deployed mistral7b and 8x&B models in two AWS EC2 server using vllm and fstchat , and now I want to communicate through a web interface(gradio_webserver) and i am using api_endpoints.json file to register models.

**api_endpoints.json**

{
"Mistral": {
"model_name": "mistral7b",
"api_type": "openai",
"api_base": "http://10.0.0.0/v1",
"api_key": "sk-******",
"anony_only": false,
"recommended_config": {
"temperature": 0.7,
"top_p": 1.0
},
"text-arena": true,
"vision-arena": false,
}
}

**error from interface:**
![image](https://github.com/lm-sys/FastChat/assets/75029215/3d877bb1-f1dc-412f-93c9-55f4892913c5)

**command used to launch webUI**

python3 -m fastchat.serve.gradio_web_server --host 0.0.0.0 --port 8080 --controller-url "" --share --register api_endpoints.json

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with api_endpoints.json and the gradio_web_server launch command, then verify how the registered OpenAI endpoint connects to the Mistral deployments on EC2. Reproduce the reported interface failure and use the displayed error to determine whether the endpoint configuration or server communication is incorrect; done means the web interface communicates with both deployed models.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.