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

Integrate vllm/ns into llm-on-ray #267

Open
wants to merge 86 commits into
base: main
Choose a base branch
from

Conversation

jiafuzha
Copy link
Contributor

@jiafuzha jiafuzha commented Jul 16, 2024

This PR is to replace the closed PR, #264, which is from old branch. This PR merged some enhancements from NS main branch.

  1. reshaped neural-speed as a full functional inference engine for vllm
  2. integrated vllm ns extension into llm-on-ray and optimized deployment with ray
  3. optimized neural-speed in several places, including compute graph construction, multiple numa node deployment and enabling flash attention kernel on llama-3-8b.
  4. updated and fixed some benchmark script for IDC test and open-ai mode test, including multiple messages with different roles, removing empty chunk, fixing wrong first token latency and next token latency in open-ai mode.
  5. only Llama-2-7b-chat-hf and Llama-3-8b-instruct are supported. But it can quickly extend to support other models.
  6. addressed some review comments in last closed PR.
  7. 2X perf improvement compared to plain vLLM cpu.

jiafuzha and others added 25 commits June 27, 2024 07:49
Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: JoshuaL3000 <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
… threads for prompt decoding and next token decoding

Signed-off-by: Jiafu Zhang <[email protected]>
… threads for prompt decoding and next token decoding

Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
…ine worker and router worker since they have different resource config

Signed-off-by: Jiafu Zhang <[email protected]>
Signed-off-by: Jiafu Zhang <[email protected]>
… and setting threads for cases not with ray

Signed-off-by: Jiafu Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants