Skip to content

fix: vllm cache in subfolder to prevent python import conflict - #18

Merged
Panaetius merged 1 commit into
mainfrom
fix/gemm-import
Oct 21, 2026
Merged

Panaetius merged 1 commit into
mainfrom
fix/gemm-import

Conversation

@Panaetius

@Panaetius Panaetius commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

there's a stupid bug because vllm cache root is e.g. /myhome and $HOME is also /myhome. on first start it will create a $CACHE/deep_gemm folder, but the python code somewhere has a import deep_gemm and $HOME is on python path, so instead of importing the library, it tries to import the cached checkpoint which obviously fails.

This puts the cache path a $HOME/.cache/vllm so there's no conflict.

@Panaetius
Panaetius merged commit b7e4d61 into main Oct 21, 2026
7 checks passed
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