Skip to content

Make key optional in ipex.llm.functional.rotary_embedding #821

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

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

Conversation

sarckk
Copy link

@sarckk sarckk commented May 2, 2025

Context: vLLM has a PR to make key arg in rotary embedding optional (vllm-project/vllm#17566). Currently, this is not supported in ipex.llm.functional.rotary_embedding_batched that vLLM uses. I couldn't find rotary_embedding_batched here, so I'm assuming this is generated from rotary_embedding.

I wasn't able to build and test as I don't have access to intel cpu or xpu, looking for review/feedback. thanks

Note: this only modifies ipex.llm.functional.rotary_embedding API

@houseroad
Copy link

format, also wondering how do we test here?

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