Skip to content

feat: Added a variant for aten::fake_quant_per_tensor #2107

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

andi4191
Copy link
Contributor

@andi4191 andi4191 commented Jul 13, 2023

Description

Added support for fake_quant_per_tensor variant named aten::fake_quantize_per_tensor_affine.tensor_qparams with scale as a Tensor in the schema.

Fixes # (issue)

Type of change

Please delete options that are not relevant and/or add your own.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

Signed-off-by: Anurag Dixit <anurag.dixit@getcruise.com>
@github-actions github-actions bot added component: conversion Issues re: Conversion stage component: converters Issues re: Specific op converters component: core Issues re: The core compiler component: tests Issues re: Tests labels Jul 13, 2023
@github-actions github-actions bot requested a review from bowang007 July 13, 2023 01:01
@narendasan narendasan requested a review from peri044 July 24, 2023 16:23
Copy link
Collaborator

@peri044 peri044 left a comment

Choose a reason for hiding this comment

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

LGTM

@peri044 peri044 merged commit bf46d54 into pytorch:main Aug 2, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cla signed component: conversion Issues re: Conversion stage component: converters Issues re: Specific op converters component: core Issues re: The core compiler component: tests Issues re: Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants