Skip to content

Disable logging #1

Description

@paper1235

Hello,

I was wondering, is it possible to disable the logging mechanism? That is, just let the benchmark load images to the model and have the model run inference on them without logging values?

Right now I tried commenting out GlobalLogger().StartIOThread() and a few other things in the StartTest function in loadgen.cc but the code seems to get stuck here: GlobalLogger().GetLatenciesBlocking(expected_latencies)); in the IssueQueries function in RunPerformanceMode for SingleStream

My end goal is to parallelize/multithread the inference engine, and I want to start by profiling the benchmarks, but the IO is too dominant so I want to remove it.

I'm not sure if this something that's easy to fix, but wanted to ask.

Any help would be appreciated,
Thanks!

P.S Hope this was the right place to put this question, if not please let me know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions