Skip to content

extended gpu support for selu - #39

Merged
sanjibansg merged 4 commits into
ML4EP:gpu/alpakafrom
harz05:feat/selu-gpu
Aug 14, 2026
Merged

sanjibansg merged 4 commits into
ML4EP:gpu/alpakafrom
harz05:feat/selu-gpu

Conversation

@harz05

@harz05 harz05 commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

This PR adds GPU support for the Selu operator. Standard selu constants of lambda and alpha are hardcoded into the kernel matching the current CPU implementation. Also registered Selu to the enum and to the singe_initialised_operators.

WIP: regression test to be added

EDIT: Regression Test added along with onnx and reference output. Tested and verified on Colab T4
image

@harz05
harz05 marked this pull request as ready for review June 15, 2026 21:47
Comment thread core/inc/SOFIE/ROperator_Selu.hxx Outdated
Comment thread test/alpaka/TestAlpakaElementwiseUnary.cxx
Comment thread core/inc/SOFIE/ROperator_Selu.hxx Outdated
@sanjibansg

Copy link
Copy Markdown
Member

/runtest h100

@github-actions

Copy link
Copy Markdown

/runtest (h100): triggered - view run

@github-actions

Copy link
Copy Markdown

/runtest (h100): GPU Unit Tests ✅ passed - view run

Comment thread test/input_models/references/Selu.ref.hxx Outdated
Comment thread test/alpaka/TestAlpakaElementwiseUnary.cxx

@sanjibansg sanjibansg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks.

@sanjibansg
sanjibansg merged commit 89e2af0 into ML4EP:gpu/alpaka Aug 14, 2026
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.

2 participants