Skip to content

[Bugfix] Disable vllm compilation cache due to compilation issues#95

Merged
tyler-griggs merged 3 commits intoNovaSky-AI:mainfrom
SumanthRH:compilation_issue
Jul 17, 2025
Merged

[Bugfix] Disable vllm compilation cache due to compilation issues#95
tyler-griggs merged 3 commits intoNovaSky-AI:mainfrom
SumanthRH:compilation_issue

Conversation

@SumanthRH
Copy link
Member

@SumanthRH SumanthRH commented Jul 17, 2025

What does this PR do?

Disables vLLM compilation cache : https://docs.vllm.ai/en/v0.9.0/design/v1/torch_compile.html#compilation-cache

We've seen issues especially in multi-node settings where the vLLM initialization fails for version >= 0.9.0 at compilation time:

compilation_error_multinode.log

The error has been hard to track down - since in single-node settings things have worked fine. Removing the vllm cache directory ~/.cache/vllm/ completely and retrying also doesn't fix the issue. There's likely a bug with cache write or so in vLLM.

For now, we disable compilation cache with VLLM_DISABLE_COMPILE_CACHE .

x
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
x
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
@SumanthRH SumanthRH requested a review from tyler-griggs July 17, 2025 05:51
@tyler-griggs tyler-griggs merged commit 194d4f1 into NovaSky-AI:main Jul 17, 2025
3 checks passed
SumanthRH added a commit that referenced this pull request Jul 17, 2025
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
fannie1208 pushed a commit to vinid/SkyRL that referenced this pull request Aug 19, 2025
…vaSky-AI#95)

# What does this PR do?

Disables vLLM compilation cache :
https://docs.vllm.ai/en/v0.9.0/design/v1/torch_compile.html#compilation-cache

We've seen issues especially in multi-node settings where the vLLM
initialization fails for version >= 0.9.0 at compilation time:


[compilation_error_multinode.log](https://github.com/user-attachments/files/21282993/compilation_error_multinode.log)


The error has been hard to track down - since in single-node settings
things have worked fine. Removing the vllm cache directory
`~/.cache/vllm/` completely and retrying also doesn't fix the issue.
There's likely a bug with cache write or so in vLLM.

For now, we disable compilation cache with `VLLM_DISABLE_COMPILE_CACHE`
.

---------

Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
fannie1208 pushed a commit to vinid/SkyRL that referenced this pull request Aug 19, 2025
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
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