--atomic_clean_policy

Applicability

Product

Supported (Yes/No)

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Collectively cleans 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