Skip to content

[Cutlass] Add exp and sigmoid activations#162536

Closed
mlazos wants to merge 1 commit intogh/mlazos/19/basefrom
gh/mlazos/19/head
Closed

[Cutlass] Add exp and sigmoid activations#162536
mlazos wants to merge 1 commit intogh/mlazos/19/basefrom
gh/mlazos/19/head

Conversation

@mlazos
Copy link
Contributor

@mlazos mlazos commented Sep 9, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 9, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162536

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 28f268d with merge base 49c446c (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for exp and sigmoid activation functions to the CUTLASS backend by implementing the corresponding operations in the EVT (Epilogue Visitor Tree) system. The changes enable these mathematical functions to be used in CUTLASS-accelerated operations.

  • Replaces NotImplementedError for sigmoid with actual implementation
  • Adds new exp activation function implementation
  • Updates test coverage to include both new activations

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
torch/_inductor/codegen/cuda/cutlass_python_evt.py Implements sigmoid and exp operations using the _prefix_un_op helper
test/inductor/test_cutlass_backend.py Adds exp and sigmoid to the list of unary operations under test

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mlazos
Copy link
Contributor Author

mlazos commented Sep 10, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 10, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
mansiag05 pushed a commit to mansiag05/pytorch that referenced this pull request Sep 22, 2025
cleonard530 pushed a commit to cleonard530/pytorch that referenced this pull request Sep 22, 2025
dsashidh pushed a commit to dsashidh/pytorch that referenced this pull request Sep 26, 2025
@github-actions github-actions bot deleted the gh/mlazos/19/head branch October 11, 2025 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants