IGNORE_INFER_ERROR

Description

This environment variable is for trial use and may be changed in later versions.

Specifies whether to skip operator prototype deliverable verification when an operator is inserted to a graph. The deliverables include the implementation of the adaptation functions for operator insertion into the graph, such as shape deduction.

  • Non-null: If the deliverable of operator insertion into the graph is missing, the verification error is skipped during operator building, to quickly restore the test case.
  • Not configured: If the deliverable of operator insertion into the graph is missing, an error is reported during operator building.

Example

In the following example, the value 1 is for reference only. You can set it to another non-null character string.

export IGNORE_INFER_ERROR=1

Restrictions

This environment variable is not recommended. It is used only when you want to quickly restore the test case after the deliverable of custom operator insertion into the graph is missing and an error is reported during compilation.

If the deliverable of custom operator insertion into the graph is missing (for example, the InferDataType implementation is missing), the compilation may fail or the accuracy may be affected. You are advised to supplement the deliverable by referring to Overview.

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product