is_compiled_with_ipu

paddle.device. is_compiled_with_ipu ( ) [source]

Whether paddle was built with WITH_IPU=ON to support Graphcore IPU.

Returns (bool): True if IPU is supported, otherwise False.

Examples

>>> import paddle
>>> support_ipu = paddle.is_compiled_with_ipu()