--deterministic
Applicable Products
Ascend 950PR /Ascend 950DT : supportedAtlas A3 training products /Atlas A3 inference products : supportedAtlas A2 training products /Atlas A2 inference products : supportedAtlas 200I/500 A2 inference products : not supportedAtlas inference products : supportedAtlas training products : supported
Description
Sets whether to enable deterministic computing.
By default, deterministic computing is disabled. The results of multiple executions of an operator with the same hardware and input may be different. This is generally caused by asynchronous multi-thread executions during operator implementation, which changes the accumulation sequence of floating point numbers. When deterministic computing is enabled, the same output is generated if an operator is executed for multiple times with the same hardware and input. This often slows down operator execution. If the execution results of a model are different for multiple times or the model accuracy needs to be tuned, you can enable deterministic computing to assist model debugging and tuning.
Arguments
- 0 (default): Disables deterministic computing.
- 1: Enables deterministic computing.
Suggestions and Benefits
None
Example
--deterministic=0
Dependencies and Restrictions
None
Parent topic: Debug Options