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?

@sarckk
Copy link
Author

sarckk commented May 5, 2025

@jingxu10 @ZailiWang could you take a look?

@jianan-gu
Copy link
Contributor

cc @zhuyuhua-v

@tye1
Copy link

tye1 commented May 12, 2025

There is no CI in public repo. @jingxu10 @ZailiWang could you please cherry pick the PR and test it in internal repo?

@ZailiWang
Copy link
Contributor

There is no CI in public repo. @jingxu10 @ZailiWang could you please cherry pick the PR and test it in internal repo?

OK, let me do it and feedback the result.

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.

5 participants