Skip to content

Fused quant hardswish kernel (#19488)#19488

Open
DrJessop wants to merge 1 commit into
pytorch:mainfrom
DrJessop:export-D103754780
Open

Fused quant hardswish kernel (#19488)#19488
DrJessop wants to merge 1 commit into
pytorch:mainfrom
DrJessop:export-D103754780

Conversation

@DrJessop
Copy link
Copy Markdown
Contributor

@DrJessop DrJessop commented May 11, 2026

Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 11, 2026

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 6 New Failures

As of commit 82309e4 with merge base 8020fe0 (image):

NEW FAILURES - The following jobs have failed:

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 11, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented May 11, 2026

@DrJessop has exported this pull request. If you are a Meta employee, you can view the originating Diff in D103754780.

@github-actions
Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@aliafzal aliafzal self-requested a review May 11, 2026 23:13
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
@meta-codesync meta-codesync Bot changed the title Fused quant hardswish kernel Fused quant hardswish kernel (#19488) May 12, 2026
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
@DrJessop DrJessop force-pushed the export-D103754780 branch from 906b2b5 to 940cc4e Compare May 12, 2026 04:23
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
@DrJessop DrJessop force-pushed the export-D103754780 branch from 940cc4e to 5666111 Compare May 12, 2026 17:06
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
@DrJessop DrJessop force-pushed the export-D103754780 branch from 5666111 to 82309e4 Compare May 12, 2026 17:07
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
DrJessop pushed a commit to DrJessop/executorch that referenced this pull request May 12, 2026
Summary:

Fused quant hardswish kernel with optional dequantize/quantize. Unary op that applies x * min(max(x+3, 0), 6) / 6. Supports per-tensor and per-channel quantization.

Reviewed By: mvartani-meta

Differential Revision: D103754780
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants