From e7e6d8bcc7e2761ef4f125afa040bcd0cb02b858 Mon Sep 17 00:00:00 2001 From: Egor Duplenskii Date: Fri, 16 Aug 2024 07:25:45 +0200 Subject: [PATCH] [CPU][DOC][DEBUG_CAPS] Add examples right into a readme file (#26073) To have a kind of cheat sheet in a single place --- .../docs/debug_capabilities/README.md | 26 ++++++++++++------- .../debug_capabilities/graph_serialization.md | 2 +- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/plugins/intel_cpu/docs/debug_capabilities/README.md b/src/plugins/intel_cpu/docs/debug_capabilities/README.md index 40c1a626685982..f7989217be4a7f 100644 --- a/src/plugins/intel_cpu/docs/debug_capabilities/README.md +++ b/src/plugins/intel_cpu/docs/debug_capabilities/README.md @@ -7,12 +7,20 @@ Use the following cmake option to enable debug capabilities: `-DENABLE_DEBUG_CAPS=ON` -* [Verbose mode](verbose.md) -* [Blob dumping](blob_dumping.md) -* [Graph serialization](graph_serialization.md) -* [Graph transformation disabling](feature_disabling.md#graph-transformations) -* [Logging](logging.md) -* [Inference Precision](infer_prc.md) -* Performance summary - * set `OV_CPU_SUMMARY_PERF` environment variable to display performance summary at the time when model is being destructed. - * Internal performance counter will be enabled automatically. +* [Verbose mode](verbose.md) + `OV_CPU_VERBOSE=1` +* [Blob dumping](blob_dumping.md) + `OV_CPU_BLOB_DUMP_NODE_NAME="*" OV_CPU_BLOB_DUMP_DIR=blob_dump` +* [Graph serialization](graph_serialization.md) + `OV_CPU_EXEC_GRAPH_PATH=graph.xml` + `OV_CPU_DUMP_IR="transformations dir=path/dumpdir formats=svg,xml,dot"` +* [Graph transformation disabling](feature_disabling.md#graph-transformations) + `OV_CPU_DISABLE="transformations=common,preLpt,lpt,postLpt,snippets,specific"` +* [Logging](logging.md) + `OV_CPU_DEBUG_LOG=-` +* [Inference Precision](infer_prc.md) + `OV_CPU_INFER_PRC_POS_PATTERN="^FullyConnected@"` +* Performance summary + `OV_CPU_SUMMARY_PERF=1` + Set the environment variable to display performance summary at the time when model is being destructed. + Internal performance counter will be enabled automatically. diff --git a/src/plugins/intel_cpu/docs/debug_capabilities/graph_serialization.md b/src/plugins/intel_cpu/docs/debug_capabilities/graph_serialization.md index af0947419f7e4c..601a25f3f1e53c 100644 --- a/src/plugins/intel_cpu/docs/debug_capabilities/graph_serialization.md +++ b/src/plugins/intel_cpu/docs/debug_capabilities/graph_serialization.md @@ -27,7 +27,7 @@ Examples: ```sh OV_CPU_DUMP_IR="transformations" binary ... OV_CPU_DUMP_IR="transformations=snippets dir=path/dumpDir" binary ... - OV_CPU_DUMP_IR="transformations=all,-common DIR=path/dumpdir formats=svg,xml" binary ... + OV_CPU_DUMP_IR="transformations=all,-common dir=path/dumpdir formats=svg,xml" binary ... ``` Option names are case insensitive, the following options are supported: