-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[hardware][misc] introduce platform abstraction #6080
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.
LGTM, let's get this in ASAP to fix the CI failure.
merge as failed tests are not related |
|
yeah, the idea is to gradually add all device specific queries in this folder. |
Signed-off-by: Alvant <[email protected]>
fixes #6059
the idea is to progressively absorb common
if-else
patterns into thevllm/platforms
directory, so that we don't have scatteredif-else
clause for platform identification everywhere.ideally, the platform identification is done in
from vllm.platforms import current_platform
, just once.we can progressively move towards the ultimate goal, with this being the first step.