We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python -m fastchat.serve.controller python -m fastchat.serve.vllm_worker --model-path ....../Qwen2___5-7B-Instruct --trust-remote-code --dtype bfloat16 python -m fastchat.serve.openai_api_server --host localhost --port 8000
import openai openai.api_key = "EMPTY" openai.api_base = "http://localhost:8000/v1"
model = "Qwen2___5-7B-Instruct" prompt = "Once upon a time"
completion = openai.Completion.create(model=model, prompt=prompt)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
python -m fastchat.serve.controller
python -m fastchat.serve.vllm_worker --model-path ....../Qwen2___5-7B-Instruct --trust-remote-code --dtype bfloat16
python -m fastchat.serve.openai_api_server --host localhost --port 8000
import openai
openai.api_key = "EMPTY"
openai.api_base = "http://localhost:8000/v1"
model = "Qwen2___5-7B-Instruct"
prompt = "Once upon a time"
create a completion
completion = openai.Completion.create(model=model, prompt=prompt)
# print the completion
print(prompt + completion.choices[0].text)
The text was updated successfully, but these errors were encountered: