mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
backend(trtllm): make sure we escalade all warnings as errors on the backend impl in debug mode
This commit is contained in:
parent
117d27849c
commit
d5fc0577b8
@ -86,6 +86,7 @@ if (${TGI_TRTLLM_BACKEND_BUILD_TESTS} AND CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
message(STATUS "Enabling non-NVRO detection")
|
||||
target_compile_options(tgi_trtllm_backend_impl PRIVATE -Wnrvo)
|
||||
endif ()
|
||||
target_compile_options(tgi_trtllm_backend_impl PRIVATE -Wall)
|
||||
|
||||
cmake_path(GET TRTLLM_NVRTC_WRAPPER_LIBRARY_PATH PARENT_PATH TRTLLM_NVRTC_WRAPPER_PARENT_LIBRARY_PATH)
|
||||
message(STATUS "Adding linking path: ${TRTLLM_NVRTC_WRAPPER_PARENT_LIBRARY_PATH}")
|
||||
|
Loading…
Reference in New Issue
Block a user