Skip to content

metal: Add FP32 and FP16 support for ADD1 kernel#21267

Closed
Sou-ly wants to merge 3 commits intoggml-org:masterfrom
Sou-ly:metal-implement-missing-add1-op
Closed

metal: Add FP32 and FP16 support for ADD1 kernel#21267
Sou-ly wants to merge 3 commits intoggml-org:masterfrom
Sou-ly:metal-implement-missing-add1-op

Conversation

@Sou-ly
Copy link
Copy Markdown

@Sou-ly Sou-ly commented Apr 1, 2026

Overview

Add support for the ADD1 operation on the Metal backend.
Supports FP32/FP16.

Additional information

Feature Request: Implement missing ops from backends #14909

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure:
    YES: to quickly implement the fp16 version through redundant checks and templates implementation (second commit).

@Sou-ly Sou-ly requested review from a team and ggerganov as code owners April 1, 2026 15:04
@Sou-ly Sou-ly changed the title Add FP32 and FP16 support for ADD1 kernel on Metal backend metal: Add FP32 and FP16 support for ADD1 kernel Apr 1, 2026
@Sou-ly Sou-ly force-pushed the metal-implement-missing-add1-op branch from 037bd3a to 4137189 Compare April 1, 2026 15:23
@github-actions github-actions Bot added testing Everything test related ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Apr 1, 2026
@Sou-ly Sou-ly requested review from a team, CISC, JohannesGaessler, ngxson and pwilkin as code owners April 6, 2026 16:00
@taronaeo taronaeo removed request for a team April 6, 2026 16:02
@taronaeo taronaeo removed request for a team, CISC, JohannesGaessler, ngxson and pwilkin April 6, 2026 16:02
@taronaeo
Copy link
Copy Markdown
Member

taronaeo commented Apr 6, 2026

Bad rebase btw

@Sou-ly Sou-ly force-pushed the metal-implement-missing-add1-op branch from 7df6c3e to 4e8de74 Compare April 6, 2026 16:05
@taronaeo
Copy link
Copy Markdown
Member

taronaeo commented Apr 7, 2026

Closing as ADD1 is deprecated. Ref: #21363

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 testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants