Skip to content
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

Set bias as optional for convolution folding. Needed for CLIP #1581

Merged
merged 11 commits into from
Jun 6, 2023

Conversation

anmarques
Copy link
Member

Before this PR conv nodes that didn't have bias were skipped for quantization folding. This PR corrects that. This is needed for the CLIP model.

Testing plan:
Exported quantized CLIP successfully and one existing ResNet50 quantized model (zoo:cv/classification/resnet_v1-50/pytorch/sparseml/imagenet/pruned95_quant-none)

@anmarques anmarques requested a review from natuan June 1, 2023 13:28
@anmarques anmarques merged commit 61a2097 into main Jun 6, 2023
10 checks passed
@anmarques anmarques deleted the feature/quant_export/conv_no_bias branch June 6, 2023 11:02
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.

None yet

3 participants