Temporarily disable new FP16 generation (#8650)
This commit is contained in:
parent
df30694699
commit
1c879aad08
@ -205,7 +205,8 @@ def arguments_post_parsing(argv: argparse.Namespace):
|
||||
except Exception as e:
|
||||
raise_ie_not_found()
|
||||
|
||||
if 'data_type' in argv and argv.data_type in ['FP16', 'half']:
|
||||
# temporary disable new FP16 generation
|
||||
if False and 'data_type' in argv and argv.data_type in ['FP16', 'half']:
|
||||
argv.data_type = 'FP32'
|
||||
argv.compress_fp16 = True
|
||||
else:
|
||||
|
@ -180,7 +180,9 @@ def prepare_emit_ir(graph: Graph, data_type: str, output_dir: str, output_model_
|
||||
meta_info = {}
|
||||
graph.strict_mode = False
|
||||
|
||||
if not used_by_ir_reader:
|
||||
# temporary disable new FP16 generation
|
||||
# if not used_by_ir_reader:
|
||||
if True:
|
||||
# convert Parameter data types
|
||||
convert_data_type.convert_parameters_data_type(graph, data_type)
|
||||
# convert blobs (usually weights and biases)
|
||||
|
Loading…
Reference in New Issue
Block a user