-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tixxx/determine_local' into terryysun/all2all_memcpyp2p
- Loading branch information
Showing
927 changed files
with
25,870 additions
and
21,243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Determinism (GPU) | ||
|
||
## Compilation | ||
|
||
XLA compilation is deterministic if | ||
[persisted autotuning](./persisted_autotuning) is used to perform autotuning | ||
once and avoid it in subsequent compilations. Otherwise due to fluctuations in | ||
measurements different kernels can be picked as the fastest ones in different | ||
compilation runs. | ||
|
||
## Execution | ||
|
||
Programs compiled by XLA can be non-deterministic on operations like scatter, | ||
select-and-scatter, GEMMs, convolutions, multi-headed attention. The flag | ||
`--xla_gpu_exclude_nondeterministic_ops` switches these operations to | ||
deterministic and potentially slower implementations and makes compilation fail | ||
on select-and-scatter which does not have a deterministic implementaiton. |
Oops, something went wrong.