Update README.md

#7
by Able2 - opened
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -28,6 +28,13 @@ git checkout -b v0.17.3 v0.17.3
28
 
29
  - Switch python env and make sure the corresponding torch cuda version is installed
30
 
 
 
 
 
 
 
 
31
  - Start task
32
  ```
33
  # Build with 1/4th of the number of processor threads on your system
 
28
 
29
  - Switch python env and make sure the corresponding torch cuda version is installed
30
 
31
+ - __Note if you encounter `invalid numeric argument '/Wconversion'` error__: remove line 82 of file `csrc/CMakeLists.txt` or change it from `set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xcompiler=-Wconversion")` to the following:
32
+ ```
33
+ if(UNIX)
34
+ set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xcompiler=-Wconversion")
35
+ endif()
36
+ ```
37
+
38
  - Start task
39
  ```
40
  # Build with 1/4th of the number of processor threads on your system