From fa754465eb3172f60bd3bbc89a008ec77b73cf99 Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Wed, 5 Jun 2024 12:54:14 -0700 Subject: [PATCH 1/3] Use ERROR for LOG_IF_ERROR calls in backends --- include/triton/backend/backend_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/triton/backend/backend_common.h b/include/triton/backend/backend_common.h index 84c889e..a0ffd15 100644 --- a/include/triton/backend/backend_common.h +++ b/include/triton/backend/backend_common.h @@ -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())); \ From 3bc2017867371da777a0dc766bba58d935627a7d Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Wed, 5 Jun 2024 14:44:25 -0700 Subject: [PATCH 2/3] Add default TRITON_REPO_ORGANIZATION for standalone build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb4210f..a97d144 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") From 0070e8fac69473a688b80c61b72ef75ff4b53a07 Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Wed, 5 Jun 2024 16:19:00 -0700 Subject: [PATCH 3/3] Update copyrights --- CMakeLists.txt | 2 +- include/triton/backend/backend_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a97d144..a4b79ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/include/triton/backend/backend_common.h b/include/triton/backend/backend_common.h index a0ffd15..15d8534 100644 --- a/include/triton/backend/backend_common.h +++ b/include/triton/backend/backend_common.h @@ -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