# torch.is_deterministic_algorithms_warn_only_enabled

torch.is_deterministic_algorithms_warn_only_enabled()[[source]](https://github.com/pytorch/pytorch/blob/v2.14.0/torch/__init__.py#L1913)

Returns True if the global deterministic flag is set to warn only.
Refer to [`torch.use_deterministic_algorithms()`](torch.use_deterministic_algorithms.html#torch.use_deterministic_algorithms) documentation for more
details.

Return type:

[bool](https://docs.python.org/3/library/functions.html#bool)