Skip to content

Commit

Permalink
Add INT4 Conv to supported policy
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 682465087
  • Loading branch information
paulinesho authored and copybara-github committed Oct 11, 2024
1 parent 70ad7d3 commit 1521e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ai_edge_quantizer/default_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"EMBEDDING_LOOKUP",
"FULLY_CONNECTED"
],
"dynamic_wi4_afp32": ["FULLY_CONNECTED", "EMBEDDING_LOOKUP"],
"dynamic_wi4_afp32": ["FULLY_CONNECTED", "EMBEDDING_LOOKUP", "CONV_2D"],
"weightonly_wi8_afp32": [
"BATCH_MATMUL",
"CONV_2D",
Expand All @@ -208,7 +208,7 @@
"EMBEDDING_LOOKUP",
"FULLY_CONNECTED"
],
"weightonly_wi4_afp32": ["BATCH_MATMUL", "FULLY_CONNECTED", "EMBEDDING_LOOKUP"]
"weightonly_wi4_afp32": ["BATCH_MATMUL", "FULLY_CONNECTED", "EMBEDDING_LOOKUP", "CONV_2D"]
}
}
"""
Expand Down

0 comments on commit 1521e82

Please sign in to comment.