Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use log level ERROR when logging backend errors with LOG_IF_ERROR #99

Merged
merged 3 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
# Copyright 2020-2024, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -37,6 +37,7 @@ option(TRITON_ENABLE_STATS "Include statistics collections in backend utilities"
# Default OFF unless backend explicitly request to use provided implementation
option(TRITON_ENABLE_MEMORY_TRACKER "Include device memory tracker in backend utilities" OFF)

set(TRITON_REPO_ORGANIZATION "https://github.com/triton-inference-server" CACHE STRING "Git repository to pull from")
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo")
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo")

Expand Down
4 changes: 2 additions & 2 deletions include/triton/backend/backend_common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// Copyright 2020-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -63,7 +63,7 @@ namespace triton { namespace backend {
TRITONSERVER_Error* lie_err__ = (X); \
if (lie_err__ != nullptr) { \
IGNORE_ERROR(TRITONSERVER_LogMessage( \
TRITONSERVER_LOG_INFO, __FILE__, __LINE__, \
TRITONSERVER_LOG_ERROR, __FILE__, __LINE__, \
(std::string(MSG) + ": " + TRITONSERVER_ErrorCodeString(lie_err__) + \
" - " + TRITONSERVER_ErrorMessage(lie_err__)) \
.c_str())); \
Expand Down
Loading