DUMP_GE_GRAPH

Description

Sets the detail level of graph dumps.

Available values:

  • 1: dumps all, including the edge relationships and data information.
  • 2: dumps information without data such as weights.
  • 3: dumps only node relationships.

After the environment variable is set, the following files are generated in the current path:

  • ge_onnx*.pbtxt: model description structure based on ONNX. You can open this file using visualizer software such as Netron.
  • ge_proto*.txt: text file stored in Protobuf format. You can convert it into a JSON file to facilitate fault locating. This file appears in pair with the ge_onnx*.pbtxt file, but has more attributes of the string type than the ge_onnx*.pbtxt file, making the ge_proto*.txt file more comprehensive. You can open either of them.

    Compared with the ge_onnx*.pbtxt file, the ge_proto*.txt file has a smaller size. Therefore, setting DUMP_GE_GRAPH to 2 or 3 has the same effect on the ge_proto*.txt file, that is, dumping information without data such as weights.

  • ge_readable*.txt: (optional) highly readable text file in Dynamo FX graph style. This type of file is generated only when the DUMP_GRAPH_FORMAT environment variable is set and the value contains readable.

Example

export DUMP_GE_GRAPH=1

Constraints

None

Applicability

Atlas training product

Atlas inference product

Atlas A2 training product/Atlas A2 inference product

Atlas A3 training product/Atlas A3 inference product

Atlas 350 Accelerator Card

Atlas 200I/500 A2 inference product