-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[CI/Build] Platform agnostic wheel #4773
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious to hear your thoughts.. currently the PR just enables building of the platform agnostic wheel. What do you think about adding this build to publish.yml so it will be build on every release?
@@ -2,5 +2,4 @@ | |||
-r requirements-common.txt | |||
|
|||
# Dependencies for x86_64 CPUs | |||
torch == 2.3.0+cpu | |||
triton >= 2.2.0 # FIXME(woosuk): This is a hack to avoid import error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dealt with triton import errors in code
Interestingly Triton recently supported macOS with Apple Silicon: triton-lang/triton#3443 |
Yep. But AFAIU they still release wheels only for Linux so it can't be pip installed directly from pypi. I guess building from source is the only option to get triton installed on mac. |
This PR enables build of a platform-agnostic wheel which is installable also on macos. The idea is to improve the dev-experience for creating projects that import and use vLLM.
Important: This wheel does not enable running of vllm on mac, but does allow to import it.
The PR doesn't entirely fix issues #212, #695, #1397, #1921, but it's a step forward.