Skip to content

Commit

Permalink
Removed Debug printouts and serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNovoselov committed Nov 8, 2022
1 parent 40314f1 commit 95ee941
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/common/snippets/src/op/subgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,9 @@ void snippets::op::Subgraph::convert_to_snippet_dialect() {
return p->get_partial_shape().rbegin()->is_dynamic();
});
ngraph::pass::Manager manager;
// manager.register_pass<ov::pass::Serialize>("transpose_canonicalized.xml", "transpose_canonicalized.bin");
manager.register_pass<snippets::pass::ConvertConstantsToScalars>();
manager.register_pass<snippets::pass::ConvertPowerToPowerStatic>();
manager.register_pass<snippets::pass::TransposeDecomposition>();
// manager.register_pass<ov::pass::Serialize>("transpose_decomposed.xml", "transpose_decomposed.bin");
manager.register_pass<snippets::pass::InsertLoad>(count);
manager.register_pass<snippets::pass::InsertStore>(count);
// todo: presently dynamic pipeline is activated even if the last two dimension are static
Expand Down
2 changes: 0 additions & 2 deletions src/common/snippets/src/pass/common_optimizations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ CommonOptimizations::CommonOptimizations() {

auto body = subgraph->get_body();
const auto is_quantized = subgraph->is_quantized();
// todo: remove DEBUG!
ov::pass::Serialize("tokenized_body.xml", "tokenized_body.bin").run_on_model(body);

// Firsly we should transform all original Converts inside body to ConvertTruncation to save original behavior.
// Then if Subgraph contains FakeQuantize we enable specific transformation for quantized subgraphs.
Expand Down
1 change: 0 additions & 1 deletion src/plugins/intel_cpu/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ static void TransformationUpToCPUSpecificOpSet(std::shared_ptr<ngraph::Function>
});
postSnippetsManager.register_pass<ngraph::pass::ConstantFolding>();
postSnippetsManager.run_passes(nGraphFunc);
ov::pass::Serialize("transpose_tokenized.xml", "transpose_tokenized.bin").run_on_model(nGraphFunc);
}

static bool streamsSet(const std::map<std::string, std::string>& config) {
Expand Down
2 changes: 0 additions & 2 deletions src/tests/functional/plugin/shared/src/snippets/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ void Transpose::SetUp() {
}

TEST_P(Transpose, CompareWithRefImpl) {
// GTEST_SKIP();
run();
// ov::pass::Serialize("transpose_test.xml", "transpose_tests.bin").run_on_model(function);
validateNumSubgraphs();
}

Expand Down

0 comments on commit 95ee941

Please sign in to comment.