From 6ff2a2379783ad6f1d7386fd87594089f658a0eb Mon Sep 17 00:00:00 2001 From: Nikolai Shchegolev Date: Wed, 30 Oct 2024 00:13:29 +0400 Subject: [PATCH] Hide logs --- src/core/src/pass/serialize.cpp | 14 +++++++------- src/core/src/runtime/compute_hash.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/core/src/pass/serialize.cpp b/src/core/src/pass/serialize.cpp index 3fe0dadb6048fb..dc5d648cc23b9a 100644 --- a/src/core/src/pass/serialize.cpp +++ b/src/core/src/pass/serialize.cpp @@ -105,21 +105,21 @@ class ConstantWriter { new_size = size; if (!m_enable_compression) { - printf("FilePosition::write NOT m_enable_compression\n"); + // printf("FilePosition::write NOT m_enable_compression\n"); if (!compress_to_fp16) { m_binary_output.write(ptr, size); } else { - printf("FilePosition::write compress_to_fp16\n"); + // printf("FilePosition::write compress_to_fp16\n"); OPENVINO_ASSERT(size % src_type.size() == 0); auto fp16_buffer = compress_data_to_fp16(ptr, size, src_type, new_size); m_binary_output.write(fp16_buffer.get(), new_size); } return offset; } else { - printf("FilePosition::write m_enable_compression\n"); + // printf("FilePosition::write m_enable_compression\n"); std::unique_ptr fp16_buffer = nullptr; if (compress_to_fp16) { - printf("FilePosition::write compress_to_fp16\n"); + // printf("FilePosition::write compress_to_fp16\n"); OPENVINO_ASSERT(size % src_type.size() == 0); fp16_buffer = compress_data_to_fp16(ptr, size, src_type, new_size); } @@ -1210,7 +1210,7 @@ void serializeFunc(std::ostream& xml_file, std::shared_ptr model, ov::pass::Serialize::Version ver, bool deterministic = false) { - printf("serializeFunc\n"); + // printf("serializeFunc\n"); auto version = static_cast(ver); auto& rt_info = model->get_rt_info(); @@ -1427,7 +1427,7 @@ class OstreamHashWrapper final : public std::streambuf { } std::streamsize xsputn(const char* s, std::streamsize n) override { - printf("OstreamHashWrapper xsputn\n"); + // printf("OstreamHashWrapper xsputn\n"); uint64_t h = ov::runtime::compute_hash(s, n); m_res = hash_combine(m_res, h); @@ -1437,7 +1437,7 @@ class OstreamHashWrapper final : public std::streambuf { } // namespace std::streamsize OstreamHashWrapperBin::xsputn(const char* s, std::streamsize n) { - printf("OstreamHashWrapperBin xsputn\n"); + // printf("OstreamHashWrapperBin xsputn\n"); m_res = hash_combine(m_res, *reinterpret_cast(s)); return n; } diff --git a/src/core/src/runtime/compute_hash.cpp b/src/core/src/runtime/compute_hash.cpp index 75c84dda0c824b..a98813e58ccc25 100644 --- a/src/core/src/runtime/compute_hash.cpp +++ b/src/core/src/runtime/compute_hash.cpp @@ -821,7 +821,7 @@ void ComputeHash::fold_to_64(const Vmm& v_dst) { #endif // OV_CORE_USE_XBYAK_JIT size_t compute_hash(const void* src, size_t size) { - std::cout << " compute_hash " << size << std::endl; + // std::cout << " compute_hash " << size << std::endl; #ifdef OV_CORE_USE_XBYAK_JIT if (Generator::mayiuse(avx2)) { uint64_t result = 0lu;