is_compiled_with_distribute¶
- paddle.device. is_compiled_with_distribute ( ) [source]
-
Whether this whl package can be used to run the model with distribute.
- Returns
-
True if distribute is currently available, otherwise False.
- Return type
-
Bool
Examples
>>> import paddle >>> support_distribute = paddle.device.is_compiled_with_distribute()