Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit e65dce2

Browse files
[DOC] Change of confusing Large Tensors documentation (#20831)
* Changing confusing documentation * Rewiev suggestion Co-authored-by: Andrzej Kotłowski <Andrzej.Kotlowski@intel.com> Co-authored-by: Andrzej Kotłowski <Andrzej.Kotlowski@intel.com>
1 parent e7cee79 commit e65dce2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

config/linux.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@ SET(EXTRA_OPERATORS "" CACHE PATH "EXTRA OPERATORS PATH")
114114
# Create C++ interface package
115115
set(USE_CPP_PACKAGE OFF CACHE BOOL "Build C++ Package")
116116

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

123122
# Other GPU features
124123
set(USE_NCCL "Use NVidia NCCL with CUDA" OFF)

0 commit comments

Comments
 (0)