Skip to content

Commit c824b67

Browse files
committed
update code comment
1 parent 79d6a13 commit c824b67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,9 @@ void TransformationsPipeline::apply(std::shared_ptr<ov::Model> func) {
511511

512512
manager.register_pass<ov::pass::CommonOptimizations>();
513513

514-
// In case "zp/scale -> reshape -> transpose -> MOE", "zp/scale -> reshape -> transpose" is constant-folded.
515-
// We need mark KeepMOEConstPrecision to disable convert new constant(transpose output).
514+
// In the case of "zp/scale -> reshape -> transpose -> MOE",
515+
// "zp/scale -> reshape -> transpose" is constant-folded in the above "CommonOptimizations".
516+
// After constant-folding, the precision of new constant should not be converted.
516517
manager.register_pass<ov::intel_gpu::KeepMOEConstPrecision>();
517518
// In the case of "input -> reshape -> convert -> multiply",
518519
// the "input -> reshape" subgraph is constant-folded in the above "CommonOptimizations"

0 commit comments

Comments
 (0)