--atomic_clean_policy

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Sets whether to collectively clean up the memory occupied by all operators with the memset attribute (memset operators) on the network.

See Also

None

Argument

  • 0 (default): Enables collective cleanup.
  • 1: disabled. Memory used by each memset operator is cleaned up separately. When the memset operators on the network occupy too much memory, you are advised to use this mode to reduce the memory usage. However, this may cause performance loss.

Suggestions and Benefits

None

Example

Clean up the memory occupied by memset operators separately. The following is an example:

--atomic_clean_policy=1

Restrictions

None