v4.3 update. (#2709)

* v4.3 update.

* Update the cute_dsl_api changelog's doc link

* Update version to 4.3.0

* Update the example link

* Update doc to encourage user to install DSL from requirements.txt

---------

Co-authored-by: Larry Wu <larwu@nvidia.com>
This commit is contained in:
Junkai-Wu
2025-10-22 02:26:30 +08:00
committed by GitHub
parent e6e2cc29f5
commit b1d6e2c9b3
244 changed files with 59272 additions and 10455 deletions

View File

@@ -78,4 +78,22 @@ def setup_log(
return logger
def _init_logger_with_client_name(prefix):
from ..env_manager import LogEnvironmentManager
log_env = LogEnvironmentManager(prefix)
if log_env.log_to_console == False and log_env.jit_time_profiling:
log_env.log_to_console = True
log_env.log_level = 20 # info level
setup_log(
prefix,
log_env.log_to_console,
log_env.log_to_file,
f"{prefix}.log",
log_env.log_level,
)
logger = setup_log("generic")

View File

@@ -10,7 +10,7 @@
# is strictly prohibited.
"""
This module provides stacktrace helper functions
This module provides stacktrace helper functions
"""
import os

View File

@@ -12,6 +12,7 @@
"""
This module provides a timing helper functions
"""
from functools import wraps
from .logger import log