DUMP_GE_GRAPH

Description

DUMP_GE_GRAPH sets the graph dump mode.

Available values are as follows:

  • 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

Restrictions

None

Applicability

Atlas training products

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Atlas 200I/500 A2 inference products