Skip to content

quant_params should come from implicit nodes #301

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

mcr229
Copy link
Contributor

@mcr229 mcr229 commented Sep 13, 2023

Summary:
QuantParams are generated for nodes to imply that these operations are quantized operations. However, if the QuantNodes are explicit, i.e. being used to actually convert data type, then we should not be generating quant_params.

This is to help with mixed-datatype modles

Reviewed By: salilsdesai

Differential Revision: D48805092

@facebook-github-bot facebook-github-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 Sep 13, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

mcr229 and others added 6 commits September 13, 2023 16:42
Differential Revision: D48761858

fbshipit-source-id: 4978bf4d68f16bf67ad5f6870d3e6a501fd7b9ed
Differential Revision: D48761859

fbshipit-source-id: 468e56a1e023b5d7cdc67098e108a4b1d140ee0c
Differential Revision: D48790083

fbshipit-source-id: 8115ccad6091403a1758908fdd534074695ff3a5
Differential Revision: D48764114

fbshipit-source-id: 105b9c514f974d761a14133b4c5fa5fdc44610d1
Differential Revision: D48805091

fbshipit-source-id: a13065c01ecfe0068dd0a73397fe2d43a2b52c84
Summary:
Pull Request resolved: pytorch/executorch#301

QuantParams are generated for nodes to imply that these operations are quantized operations. However, if the QuantNodes are explicit, i.e. being used to actually convert data type, then we should not be generating quant_params.

This is to help with mixed-datatype modles

Reviewed By: salilsdesai

Differential Revision: D48805092

fbshipit-source-id: 1babc4a87bf8f492657658462847a2e262b40054
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48805092

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a0e9dba.

Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants