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 non-parallel residual support for gpt-neox #139

Merged
merged 3 commits into from May 13, 2023

Conversation

eyusupov
Copy link
Contributor

@eyusupov eyusupov commented May 9, 2023

This allows using RedPajama model, which has use_parallel_residual set to false.

@eyusupov eyusupov changed the title Add non-parallel residual support Add non-parallel residual support for gpt-neox May 9, 2023
@eyusupov eyusupov force-pushed the add-non-parallel-gpt-neox branch from a51ae96 to 103fb80 Compare May 9, 2023 16:50
@ggerganov ggerganov mentioned this pull request May 11, 2023
@ggerganov ggerganov self-requested a review May 11, 2023 21:46
@ggerganov ggerganov merged commit ac87544 into ggerganov:master May 13, 2023
CCLDArjun pushed a commit to CCLDArjun/ggml that referenced this pull request Dec 18, 2023
* Don't use vdotq_s32 if it's not available

`dotprod` extensions aren't available on some ARM CPUs (e.g. Raspberry Pi 4), so check for them and only use them if they're available.

Reintroduces the code removed in 84d9015 if `__ARM_FEATURE_DOTPROD` isn't defined.

* Update ggml.c

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
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.

None yet

2 participants