From e2d60f92a4567fedd342771f166b5e46e32d6385 Mon Sep 17 00:00:00 2001 From: li_chao10 Date: Thu, 24 Feb 2022 11:48:20 +0800 Subject: [PATCH] change log level to InputWithoutContiguous --- torch_npu/csrc/framework/OpCommandBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch_npu/csrc/framework/OpCommandBase.h b/torch_npu/csrc/framework/OpCommandBase.h index 927df7cc42a..49f5a8374e1 100644 --- a/torch_npu/csrc/framework/OpCommandBase.h +++ b/torch_npu/csrc/framework/OpCommandBase.h @@ -139,7 +139,7 @@ public: graphCmd.AddInput(input, descName, realData); ) if (input.storage_offset() != 0) { - NPU_LOGW( + TORCH_WARN_ONCE( "[Check][offset] Check input storage_offset[%ld] = 0 failed, result is untrustworthy", input.storage_offset()); } -- Gitee