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

0cc4m/vulkan embedding fix #129

Merged
merged 8 commits into from
May 18, 2024

Conversation

Nexesenex
Copy link
Owner

No description provided.

jaime-m-p and others added 8 commits May 18, 2024 01:09
* Replace CODEPOINT_TYPE_* with codepoint_flags
* Update and bugfix brute force random test
* Deterministic brute force random test
* Unicode normalization NFD
* Get rid of BOM
* convert : fix set_vocab_sentencepiece

* Update convert-hf-to-gguf.py
* github-actions-labeler: initial commit [no ci]

* github actions: remove priority auto labeling [no ci]
* Update and fix Vulkan softmax implementation

* Update and fix Vulkan argsort implementation
Add fp32 fp16 matmul shader

Fix matmul shader alignment
@Nexesenex Nexesenex merged commit afcc19c into Nexesenex:sidestream May 18, 2024
4 of 5 checks passed
Nexesenex pushed a commit that referenced this pull request Dec 22, 2024
* Something is still wrong

* Simply don't see what is wrong

* q4_k_r4: finally works on Zen4

I had forgotten to prevent token_embd.weight being quantized
with q4_k_r4!

* q4_k_r4: AVX2

We get PP-512(LLaMA-3.1-8B) = 267 t/s on a Ryzen-5975WX.
This is ~30% better than Q4_K_S.

* q4_k_r4: NEON

We get PP-512(LLaMA-3.1-8B) = 110 t/s.
Not quite as good as q4_0_r4, but still a massive
improvement compared to he 69 t/s for q4_K.

* q4_k_r4: slightly better AVX2

PP-512 goes from 267 t/s to 282 t/s on Ryzen-5975WX

* Minor

* Minor

---------

Co-authored-by: Iwan Kawrakow <[email protected]>
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.

7 participants