-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kaihui-intel <[email protected]>
- Loading branch information
1 parent
967b780
commit e538a63
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if dtype.count("int") > 0 and dtype.index("int") == 0:
dtype = "int"
bits = quant_config.bits
How about this way, we can ensure that only match strings that begin with "int", except in cases of mixed precision situations like "mxfp_int".