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

[TEST ONLY]Paged attn #1023

Closed
wants to merge 22 commits into from
Closed

Conversation

jiqing-feng
Copy link
Collaborator

No description provided.

sywangyi and others added 20 commits October 8, 2024 22:57
Signed-off-by: Wang, Yi A <[email protected]>
* refine class IPEXPagedCache's update method

Signed-off-by: Liu, Kaixuan <[email protected]>

* replace tensor on xpu to List to avoid memory copy

Signed-off-by: Liu, Kaixuan <[email protected]>

* split IPEXPagedCache's update function into `update_for_prefill` and `update_for_decode`

Signed-off-by: Liu, Kaixuan <[email protected]>

---------

Signed-off-by: Liu, Kaixuan <[email protected]>
* enable qkv

* split key value into 2 lists
Signed-off-by: Wang, Yi A <[email protected]>
Signed-off-by: Wang, Yi A <[email protected]>
huggingface#979)

* enable gpt2, falcon has core dump error in PagedAttention.single_query_cached_kv_attention

* enable new_decoder_arch falcon

* only keep 1 config

* rm autocast
…ace#992)

* fix bug when run IPEXCausalModel forward directly; fix bug when using `save_pretrain`

Signed-off-by: Liu, Kaixuan <[email protected]>

* add LinearGelu Op support for XPU

Signed-off-by: Liu, Kaixuan <[email protected]>

* fix unit test error

Signed-off-by: Liu, Kaixuan <[email protected]>

* adjust unit test case

Signed-off-by: Liu, Kaixuan <[email protected]>

* fix bug

Signed-off-by: Liu, Kaixuan <[email protected]>

---------

Signed-off-by: Liu, Kaixuan <[email protected]>
…gingface#998)

* skip assited decoding unit test for models using paged attention

Signed-off-by: Liu, Kaixuan <[email protected]>

* XPU CI tests get almost all passed

Signed-off-by: Liu, Kaixuan <[email protected]>

---------

Signed-off-by: Liu, Kaixuan <[email protected]>
* fix ci config

* fix test versions

* fix ipex version

Signed-off-by: jiqing-feng <[email protected]>
* use python3.9 test

Signed-off-by: jiqing-feng <[email protected]>
* change ipex transformers limited verison in setup
* fix inc tests

Signed-off-by: jiqing-feng <[email protected]>
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

4 participants