You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromvllmimportLLM, SamplingParamsprompts= ["<|user|>\nHello. Who are you?<|end|>\n<|assistant|>\n"]
sampling_params=SamplingParams(temperature=0.5, top_p=1.0)
llm=LLM(
model="microsoft/Phi-3.5-MoE-instruct",
dtype="bfloat16",
trust_remote_code=True,
tensor_parallel_size=8,
)
outputs=llm.generate(prompts, sampling_params)
foroutputinoutputs:
print(f"generated: {output.outputs[0].text}")
Here is the output of above code:
<some vLLM logs...>
generated: or the or to and and the a and in a, and and,,
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
Your current environment
The output of `python collect_env.py`
🐛 Describe the bug
Hello, Phi-3.5-MoE-Instruct on vLLM produces weird strings. There is a similar report in the comment of #7729. Here is an example code to reproduce this issue:
Here is the output of above code:
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: