Skip to content

Commit

Permalink
remove extra or redundant Convert in FP16
Browse files Browse the repository at this point in the history
- remove Convert for ReadValue node
  • Loading branch information
xczhai committed Oct 31, 2024
1 parent 874bf8a commit 36578f0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,15 @@ void Transformations::PreLpt(const std::vector<ov::element::Type>& defaultPrecis
type_to_fuse_map fuse_map = {{ov::op::PagedAttentionExtension::get_type_info_static(), fuse_type_to_pa}};
#endif
const bool keep_precision_sensitive_in_fp32 = true;
const bool need_convert_input_output_precision = false;
const bool save_original_precision_attribute = true;
CPU_REGISTER_PASS_COMMON(manager,
ov::pass::ConvertPrecision,
fp_convert_precision_map,
fuse_map,
keep_precision_sensitive_in_fp32,
false);
need_convert_input_output_precision,
save_original_precision_attribute);
}
CPU_REGISTER_PASS_COMMON(manager, ov::pass::KeepConstAndDecompression);
CPU_SET_CALLBACK_COMMON(manager,
Expand Down

0 comments on commit 36578f0

Please sign in to comment.