Hello, I encountered the same problem when building a libtorch based C++ project. Those flags(-DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__) are set in the CMakeLists.txt as CUDA_NVCC_FLAGS, but it can’t work. Should I rebuild the libtorch, or how to solve it in the right way, thanks