Skip to content

Commit

Permalink
[DOC] Change of confusing Large Tensors documentation (apache#20831)
Browse files Browse the repository at this point in the history
* Changing confusing documentation

* Rewiev suggestion

Co-authored-by: Andrzej Kotłowski <[email protected]>

Co-authored-by: Andrzej Kotłowski <[email protected]>
  • Loading branch information
DominikaJedynak and anko-intel authored Feb 10, 2022
1 parent e7cee79 commit e65dce2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,10 @@ SET(EXTRA_OPERATORS "" CACHE PATH "EXTRA OPERATORS PATH")
# Create C++ interface package
set(USE_CPP_PACKAGE OFF CACHE BOOL "Build C++ Package")

# Use int64_t type to represent the total number of elements in a tensor
# Use int64_t type to represent index and the number of elements in a tensor
# This will cause performance degradation reported in issue #14496
# Set to 1 for large tensor with tensor size greater than INT32_MAX i.e. 2147483647
# Note: the size of each dimension is still bounded by INT32_MAX
set(USE_INT64_TENSOR_SIZE ON CACHE BOOL "Use int64_t to represent the total number of elements in a tensor")
set(USE_INT64_TENSOR_SIZE ON CACHE BOOL "Use int64_t to represent the number of elements in a tensor")

# Other GPU features
set(USE_NCCL "Use NVidia NCCL with CUDA" OFF)
Expand Down

0 comments on commit e65dce2

Please sign in to comment.