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

Add forward_hpu to RotaryEmbedding, remove custom module #404

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

kzawora-intel
Copy link

@kzawora-intel kzawora-intel commented Oct 17, 2024

This PR removes the usage of custom HPU RotaryEmbedding modules, and adds a forward_hpu method to existing RotaryEmbedding, for reusing multiple derived implementations without the need of adding them to HPU extension.
Mark_steps should not be needed within the test, but for whatever reason, if they are not there, PT bridge crashes. To be investigated later on. It does not affect actual model execution in any way I could test/observe.

@michalkuligowski michalkuligowski merged commit 8c43ff1 into habana_main Oct 22, 2024
19 checks passed
@michalkuligowski michalkuligowski deleted the private/kzawora/rope_rework branch October 22, 2024 08:25
xuechendi pushed a commit to xuechendi/vllm-fork that referenced this pull request Oct 23, 2024
This PR removes the usage of custom HPU RotaryEmbedding modules, and
adds a forward_hpu method to existing RotaryEmbedding, for reusing
multiple derived implementations without the need of adding them to HPU
extension.
Mark_steps should not be needed within the test, but for whatever
reason, if they are not there, PT bridge crashes. To be investigated
later on. It does not affect actual model execution in any way I could
test/observe.
kzawora-intel added a commit to HabanaAI/vllm-hpu-extension that referenced this pull request Oct 30, 2024
michalkuligowski pushed a commit to HabanaAI/vllm-hpu-extension that referenced this pull request Nov 4, 2024
@kzawora-intel kzawora-intel added the habana Issues or PRs submitted by Habana Labs label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
habana Issues or PRs submitted by Habana Labs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants