Skip to content

Commit

Permalink
Change default fusion threshold from 64MB to 128MB in docs (#3241)
Browse files Browse the repository at this point in the history
  • Loading branch information
firejq committed Oct 28, 2021
1 parent a776186 commit 74f6fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tensor-fusion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Tensor Fusion works by attempting to combine all the tensors that are ready to b
one reduction operation. The algorithm of Tensor Fusion is as follows:

1. Determine which tensors are ready to be reduced. Select first few tensors that fit in ``HOROVOD_FUSION_THRESHOLD`` bytes and have the same data type.
2. Allocate fusion buffer of size ``HOROVOD_FUSION_THRESHOLD`` if it was not allocated before. Default fusion buffer size is 64 MB.
2. Allocate fusion buffer of size ``HOROVOD_FUSION_THRESHOLD`` if it was not allocated before. Default fusion buffer size is 128 MB.
3. Copy data of selected tensors into the fusion buffer.
4. Execute the **allreduce** operation on the fusion buffer.
5. Copy data from the fusion buffer into the output tensors.
Expand Down

0 comments on commit 74f6fd7

Please sign in to comment.