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

metal : fix out-of-bounds write #11314

Merged
merged 1 commit into from
Jan 21, 2025
Merged

metal : fix out-of-bounds write #11314

merged 1 commit into from
Jan 21, 2025

Conversation

ggerganov
Copy link
Owner

@ggerganov ggerganov commented Jan 20, 2025

fix #11283

More info: #11283 (comment)

The kernels can still perform out-of-bounds reads, but I hope these would not cause any issues.

@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Jan 20, 2025
@ggerganov ggerganov merged commit 2139667 into master Jan 21, 2025
47 of 48 checks passed
@ggerganov ggerganov deleted the gg/metal-fix-oobw branch January 21, 2025 06:48
@gabe-l-hart
Copy link
Contributor

Confirmed that this does fix the bug I was chasing in #11283. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apple Metal https://en.wikipedia.org/wiki/Metal_(API) ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants