bgawrych commented on issue #20301:
URL: 
https://github.com/apache/incubator-mxnet/issues/20301#issuecomment-876957168


   @matteosal Then why you're disabling it in cmake (DUSE_INT64_TENSOR_SIZE)?
   ```
   cmake -GNinja \
    `# GENERAL FLAGS` \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_SKIP_BUILD_RPATH=On \
    -DUSE_OPENCV=OFF \
    -DUSE_F16C=Off `# float16 support`\
    -DUSE_INT64_TENSOR_SIZE=ON \
    -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
    -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
    `# MATH BACKENDS` \
    -DBLAS=MKL \
    -DUSE_LAPACK=OFF \
    -DUSE_ONEDNN=OFF \
    -DBLA_STATIC=OFF \
    -DMKL_USE_SINGLE_DYNAMIC_LIBRARY=OFF \
    -DMKL_INCLUDE_DIR=/usr/local/include \
    -DBLAS_LIBRARIES="/usr/local/lib/libmkl_rt.so" \
    -DUSE_OPENMP=ON \
    -DOpenMP_C_FLAGS="-I/usr/local/include" \
    -DOpenMP_C_LIB_NAMES="libiomp5" \
    -DOpenMP_CXX_FLAGS="-I/usr/local/include" \
    -DOpenMP_CXX_LIB_NAMES="libiomp5" \
    -DOpenMP_libiomp5_LIBRARY="/usr/local/lib/libiomp5.so" \
    `# CUDA` \
    -DUSE_CUDA=OFF ..
   ```
   This one works for me with large tensor support - tested with 
tests/nightly/test_large_array.py::test_nn <- modified as it doesn't work right 
now on master


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to