Skip to content

Commit 24a8614

Browse files
xwang233facebook-github-bot
authored andcommitted
[Reland][doc] Add overflow notice for cuFFT on half precision (#40551)
Summary: Reland of #35594 Pull Request resolved: #40551 Reviewed By: ezyang Differential Revision: D22249831 Pulled By: ngimel fbshipit-source-id: b221b3c0a490ccaaabba50aa698a2490536e0917
1 parent 6debc28 commit 24a8614

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

torch/_torch_docs.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7257,6 +7257,10 @@ def merge_dicts(*dicts):
72577257
configuration. See :ref:`cufft-plan-cache` for more details on how to
72587258
monitor and control the cache.
72597259
7260+
.. warning::
7261+
Due to limited dynamic range of half datatype, performing this operation in half
7262+
precision may cause the first element of result to overflow for certain inputs.
7263+
72607264
.. warning::
72617265
For CPU tensors, this method is currently only available with MKL. Use
72627266
:func:`torch.backends.mkl.is_available` to check if MKL is installed.
@@ -7352,6 +7356,10 @@ def merge_dicts(*dicts):
73527356
configuration. See :ref:`cufft-plan-cache` for more details on how to
73537357
monitor and control the cache.
73547358
7359+
.. warning::
7360+
Due to limited dynamic range of half datatype, performing this operation in half
7361+
precision may cause the first element of result to overflow for certain inputs.
7362+
73557363
.. warning::
73567364
For CPU tensors, this method is currently only available with MKL. Use
73577365
:func:`torch.backends.mkl.is_available` to check if MKL is installed.
@@ -7436,6 +7444,10 @@ def merge_dicts(*dicts):
74367444
configuration. See :ref:`cufft-plan-cache` for more details on how to
74377445
monitor and control the cache.
74387446
7447+
.. warning::
7448+
Due to limited dynamic range of half datatype, performing this operation in half
7449+
precision may cause the first element of result to overflow for certain inputs.
7450+
74397451
.. warning::
74407452
For CPU tensors, this method is currently only available with MKL. Use
74417453
:func:`torch.backends.mkl.is_available` to check if MKL is installed.
@@ -7513,6 +7525,10 @@ def merge_dicts(*dicts):
75137525
configuration. See :ref:`cufft-plan-cache` for more details on how to
75147526
monitor and control the cache.
75157527
7528+
.. warning::
7529+
Due to limited dynamic range of half datatype, performing this operation in half
7530+
precision may cause the first element of result to overflow for certain inputs.
7531+
75167532
.. warning::
75177533
For CPU tensors, this method is currently only available with MKL. Use
75187534
:func:`torch.backends.mkl.is_available` to check if MKL is installed.

0 commit comments

Comments
 (0)