From 7a1d13389e9d1532e44f09918c154ba7b0687051 Mon Sep 17 00:00:00 2001 From: ShawnXuan Date: Tue, 9 Jul 2024 09:50:26 +0800 Subject: [PATCH] ONEFOW_CHECK_LEVEL -> ONEFLOW_CHECK_LEVEL --- oneflow/core/common/check_level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneflow/core/common/check_level.cpp b/oneflow/core/common/check_level.cpp index 8ab7bf34eea..7a3edaf19ab 100644 --- a/oneflow/core/common/check_level.cpp +++ b/oneflow/core/common/check_level.cpp @@ -22,7 +22,7 @@ limitations under the License. namespace oneflow { bool IsEnvEnabled(int32_t check_level) { - static const int env_check_level = ParseIntegerFromEnv("ONEFOW_CHECK_LEVEL", -1); + static const int env_check_level = ParseIntegerFromEnv("ONEFLOW_CHECK_LEVEL", -1); static const bool env_debug_mode = IsInDebugMode(); return env_debug_mode || env_check_level >= check_level; }