From 65548e0040259619285b090b1c11017fbd230bfa Mon Sep 17 00:00:00 2001 From: Chaoming Wang Date: Mon, 20 Nov 2023 11:09:52 +0800 Subject: [PATCH] Add flag to disable taichi header print. --- python/taichi/_lib/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/taichi/_lib/utils.py b/python/taichi/_lib/utils.py index af11a1da71523..eece8f90fe2ac 100644 --- a/python/taichi/_lib/utils.py +++ b/python/taichi/_lib/utils.py @@ -169,7 +169,8 @@ def _print_taichi_header(): print(header) -_print_taichi_header() +if os.environ.get('ENABLE_TAICHI_HEADER_PRINT', True): + _print_taichi_header() def try_get_wheel_tag(module):