mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Summary: Context: https://github.com/pytorch/pytorch/pull/53299#discussion_r587882857 These are the only hand-written parts of this diff: - the addition to `.github/workflows/lint.yml` - the file endings changed in these four files (to appease FB-internal land-blocking lints): - `GLOSSARY.md` - `aten/src/ATen/core/op_registration/README.md` - `scripts/README.md` - `torch/csrc/jit/codegen/fuser/README.md` The rest was generated by running this command (on macOS): ``` git grep -I -l ' $' -- . ':(exclude)**/contrib/**' ':(exclude)third_party' | xargs gsed -i 's/ *$//' ``` I looked over the auto-generated changes and didn't see anything that looked problematic. Pull Request resolved: https://github.com/pytorch/pytorch/pull/53406 Test Plan: This run (after adding the lint but before removing existing trailing spaces) failed: - https://github.com/pytorch/pytorch/runs/2043032377 This run (on the tip of this PR) succeeded: - https://github.com/pytorch/pytorch/runs/2043296348 Reviewed By: walterddr, seemethere Differential Revision: D26856620 Pulled By: samestep fbshipit-source-id: 3f0de7f7c2e4b0f1c089eac9b5085a58dd7e0d97
17 lines
641 B
ReStructuredText
17 lines
641 B
ReStructuredText
.. warning::
|
|
There are known non-determinism issues for RNN functions on some versions of cuDNN and CUDA.
|
|
You can enforce deterministic behavior by setting the following environment variables:
|
|
|
|
On CUDA 10.1, set environment variable ``CUDA_LAUNCH_BLOCKING=1``.
|
|
This may affect performance.
|
|
|
|
On CUDA 10.2 or later, set environment variable
|
|
(note the leading colon symbol)
|
|
``CUBLAS_WORKSPACE_CONFIG=:16:8``
|
|
or
|
|
``CUBLAS_WORKSPACE_CONFIG=:4096:2``.
|
|
|
|
See the `cuDNN 8 Release Notes`_ for more information.
|
|
|
|
.. _cuDNN 8 Release Notes: https://docs.nvidia.com/deeplearning/sdk/cudnn-release-notes/rel_8.html
|