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

Improve RMSNorm to support 2D inputs #784

Open
wants to merge 1 commit into
base: habana_main
Choose a base branch
from

Conversation

YangQun1
Copy link

@YangQun1 YangQun1 commented Feb 5, 2025

SGLang may call vLLM RMSNorm kernel, and pass 2D inputs in shape [num_tokens, hidden_size].
In this PR, we unsqueeze the 2D inputs to 3D to meet HPUFusedRMSNorm requirements

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.

1 participant