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

[Ray] Integration compiled DAG off by default #2471

Merged
merged 9 commits into from
Feb 8, 2024

Conversation

rkooo567
Copy link
Collaborator

@rkooo567 rkooo567 commented Jan 17, 2024

This PR adds the experimental compiled DAG API support for VLLM NCCL opimization. It improves the benchmark_latency.py or 70B * 8 A100 GPUs' throughput benchmark around 5~7%.

The feature is off by default, and it can be enabled using an env var (VLLM_USE_RAY_COMPILED_DAG=1). There are some rough edges we are fixing within Anyscale, and once we fix them and are more confident, we can turn this on by default.

@rkooo567 rkooo567 reopened this Jan 19, 2024
@rkooo567 rkooo567 changed the title [WIP] [Ray] Integration compiled DAG off by default Jan 24, 2024
@rkooo567
Copy link
Collaborator Author

cc @simon-mo can you take a look at this PR?

vllm/engine/llm_engine.py Show resolved Hide resolved
vllm/engine/ray_utils.py Outdated Show resolved Hide resolved
vllm/engine/llm_engine.py Outdated Show resolved Hide resolved
vllm/engine/llm_engine.py Outdated Show resolved Hide resolved
vllm/engine/llm_engine.py Show resolved Hide resolved
@rkooo567
Copy link
Collaborator Author

rkooo567 commented Feb 8, 2024

cc @simon-mo to merge!

@simon-mo simon-mo merged commit 65b89d1 into vllm-project:main Feb 8, 2024
17 checks passed
yhu422 added a commit to yhu422/vllm that referenced this pull request Feb 13, 2024
[ROCm] Fix build problem resulted from previous commit related to FP8 kv-cache support  (vllm-project#2790)

Add documentation on how to do incremental builds (vllm-project#2796)

[Ray] Integration compiled DAG off by default (vllm-project#2471)

Disable custom all reduce by default (vllm-project#2808)

add usage context

removed usage_context from Engine_args

Move IO to another process

added http request

[ROCm] support Radeon™ 7900 series (gfx1100) without using flash-attention (vllm-project#2768)

Add documentation section about LoRA (vllm-project#2834)

Refactor 2 awq gemm kernels into m16nXk32 (vllm-project#2723)

Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>

Added additional arg for from_engine_args

comments
alexm-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Feb 13, 2024
jvmncs pushed a commit to jvmncs/vllm that referenced this pull request Feb 14, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 20, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 22, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
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.

2 participants