From 6bf8edc368b2c9c5c95d2f7621d4999c2e4ab78a Mon Sep 17 00:00:00 2001 From: Booil Jung Date: Tue, 24 Apr 2018 13:43:05 +0900 Subject: [PATCH] update README.md install from CUDA 7.5 or higher README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f7ff56274..eaa0d2ff6 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,11 @@ The self-contained Lua and Torch installations are performed via: ./install.sh ``` +Torch does not support half-precision floating-point type in cuda 7.5 or higher. If you have CUDA 7.5 or higher, you should use the following command: +```bash +$ TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__" ./install.sh +``` + By default Torch will install LuaJIT 2.1. If you want other options, you can use the command: ```bash # If a different version was installed, used ./clean.sh to clean it