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

Capabilities overhaul #76

Merged
merged 6 commits into from
Jan 20, 2025
Merged

Conversation

madamczykhabana
Copy link
Contributor

  • 'Capabilities' are now called 'Flags' as they can include things that are selectable by the user on startup (like env flags)
  • Flags can be combined with 'And' and 'Not'
  • Three new flag tests added: Kernel (tests whether a custom kernel impl is loadable), EnvFlag (checks env variables) and Model (checks what model type is loaded)
  • Two new supported flags: "fp32_softmax" and "fsdpa"
  • Moved fsdpa and rms_norm to a new file: kernels.py
  • Moved logger to utils.py

Capabilties are now known as flags as they include togglable entries
that might depend on env vars and other things.
Copy link
Contributor

@kdamaszk kdamaszk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@madamczykhabana madamczykhabana marked this pull request as ready for review January 20, 2025 13:42
@madamczykhabana madamczykhabana merged commit 01090a8 into main Jan 20, 2025
madamczykhabana added a commit to HabanaAI/vllm-fork that referenced this pull request Jan 20, 2025
@madamczykhabana madamczykhabana deleted the dev/madamczyk/capabilities_overhaul branch January 20, 2025 14:47
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