From f2c2915e86c11d79f07fcc50239e088764f50971 Mon Sep 17 00:00:00 2001 From: yf711 Date: Fri, 28 Jun 2024 12:11:07 -0700 Subject: [PATCH] comment applied --- .../core/providers/tensorrt/tensorrt_execution_provider.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc index 6e4f371e5fd87..cf19509bc9a28 100644 --- a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc +++ b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc @@ -321,7 +321,6 @@ void* OutputAllocator::reallocateOutput(char const* /*tensorName*/, void* /*curr uint64_t /*alignment*/) noexcept { // Some memory allocators return nullptr when allocating zero bytes, but TensorRT requires a non-null ptr // even for empty tensors, so allocate a dummy byte. - LOGS_DEFAULT(WARNING) << "[TensorRT EP] reallocateOutput() is deprecated after TensorRT 8.6"; size = std::max(size, static_cast(1)); if (size > allocated_size) { cudaFree(outputPtr);