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

Added vector scaling using Accelerate #380

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

nullhook
Copy link
Contributor

Resolves: #193

src/ggml.c Outdated
Comment on lines 3443 to 3444
#endif
#if defined(GGML_SIMD)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#endif
#if defined(GGML_SIMD)
#elif defined(GGML_SIMD)

Otherwise it will do the scaling twice

Copy link
Contributor Author

@nullhook nullhook Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, missed this. changed.

@ggerganov ggerganov merged commit c380411 into ggerganov:master Jul 23, 2023
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.

Using Accelerate for vector scale
2 participants