sycl: add REPEAT_BACK operation support#16734
Merged
NeoZhangJianyu merged 5 commits intoggml-org:masterfrom Oct 27, 2025
Merged
sycl: add REPEAT_BACK operation support#16734NeoZhangJianyu merged 5 commits intoggml-org:masterfrom
NeoZhangJianyu merged 5 commits intoggml-org:masterfrom
Conversation
b80dce9 to
d3e88bc
Compare
Contributor
Author
|
@CISC @NeoZhangJianyu |
CISC
reviewed
Oct 26, 2025
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
Contributor
Author
|
Hello @CISC @NeoZhangJianyu, |
Collaborator
It happens sometimes, I've re-run them, but don't worry about it. @NeoZhangJianyu will review when time permits. |
NeoZhangJianyu
approved these changes
Oct 27, 2025
Collaborator
NeoZhangJianyu
left a comment
There was a problem hiding this comment.
It's good job!
Thank you!
Contributor
Author
|
Thank you!
😄
…On Mon, Oct 27, 2025 at 3:20 AM Neo Zhang Jianyu ***@***.***> wrote:
Merged #16734 <#16734> into
master.
—
Reply to this email directly, view it on GitHub
<#16734 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BVKHJUDITA75NUFQBJNCE3L3ZVXMZAVCNFSM6AAAAACJ7PA6ZSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMRQGUYTGMZYG43DQOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Anico2
added a commit
to Anico2/llama.cpp
that referenced
this pull request
Jan 15, 2026
* SYCL repeat_back v1 — add core op + switch case * Implement repeat_back SYCL operation and minor fixes * Update ggml/src/ggml-sycl/repeat_back.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update ggml/src/ggml-sycl/repeat_back.hpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update ggml/src/ggml-sycl/ggml-sycl.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
blime4
referenced
this pull request
in blime4/llama.cpp
Feb 5, 2026
* SYCL repeat_back v1 — add core op + switch case * Implement repeat_back SYCL operation and minor fixes * Update ggml/src/ggml-sycl/repeat_back.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update ggml/src/ggml-sycl/repeat_back.hpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update ggml/src/ggml-sycl/ggml-sycl.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the REPEAT_BACK operator for the SYCL backend, enabling mirrored repetition of tensor data on SYCL devices.
The implementation matches the behavior of the existing CPU version.
Changes
repeat_back.cppwith SYCL kernel implementationggml-sycl.cppunderGGML_OP_REPEAT_BACKImplementation
parallel_forusingrange<3>Testing
Performance
Compatibility
F32tensors