diff --git a/VERSION b/VERSION index 11808190d..e52aba075 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.7 +0.1.7.post1 diff --git a/tilelang/engine/lower.py b/tilelang/engine/lower.py index a86fdd3c5..25edca740 100644 --- a/tilelang/engine/lower.py +++ b/tilelang/engine/lower.py @@ -13,7 +13,6 @@ from tvm.target import Target from tilelang.contrib import hipcc, nvcc from tilelang.transform import PassConfigKey -from tilelang.utils.deprecated import deprecated_warning from tilelang.engine.param import KernelParam, CompiledArtifact from tilelang.utils.target import determine_target from tilelang.engine.phase import ( @@ -76,12 +75,7 @@ def tilelang_callback_cuda_compile(code, target, pass_config=None): # Read pass-config keys (string-valued) like in jit.adapter.libgen.compile_lib cfg = pass_config or {} - if cfg.get(PassConfigKey.TL_DISABLE_FAST_MATH, False): - deprecated_warning("TL_DISABLE_FAST_MATH", "TL_ENABLE_FAST_MATH", "0.1.7") - disable_fast_math = bool(cfg.get(PassConfigKey.TL_DISABLE_FAST_MATH, True)) - enable_fast_math = not disable_fast_math - else: - enable_fast_math = bool(cfg.get(PassConfigKey.TL_ENABLE_FAST_MATH, False)) + enable_fast_math = bool(cfg.get(PassConfigKey.TL_ENABLE_FAST_MATH, False)) ptxas_usage_level = cfg.get(PassConfigKey.TL_PTXAS_REGISTER_USAGE_LEVEL, None) verbose_ptxas_output = bool(cfg.get(PassConfigKey.TL_ENABLE_PTXAS_VERBOSE_OUTPUT, False)) diff --git a/tilelang/jit/adapter/libgen.py b/tilelang/jit/adapter/libgen.py index d67f5b403..20c56bbd6 100644 --- a/tilelang/jit/adapter/libgen.py +++ b/tilelang/jit/adapter/libgen.py @@ -13,7 +13,6 @@ from tilelang.contrib.nvcc import get_nvcc_compiler, get_target_arch, get_target_compute_version from tilelang.contrib.rocm import find_rocm_path, get_rocm_arch from tilelang.env import TILELANG_TEMPLATE_PATH -from tilelang.utils.deprecated import deprecated_warning from .utils import is_cpu_target, is_cuda_target, is_hip_target @@ -60,15 +59,7 @@ def compile_lib(self, timeout: float = None): target_arch = get_target_arch(get_target_compute_version(target)) libpath = src.name.replace(".cu", ".so") - if self.pass_configs.get(PassConfigKey.TL_DISABLE_FAST_MATH): - deprecated_warning( - "TL_DISABLE_FAST_MATH", - "TL_ENABLE_FAST_MATH", - "0.1.7", - ) - enable_fast_math = not self.pass_configs.get(PassConfigKey.TL_DISABLE_FAST_MATH, True) - else: - enable_fast_math = self.pass_configs.get(PassConfigKey.TL_ENABLE_FAST_MATH, False) + enable_fast_math = self.pass_configs.get(PassConfigKey.TL_ENABLE_FAST_MATH, False) ptxas_usage_level = self.pass_configs.get(PassConfigKey.TL_PTXAS_REGISTER_USAGE_LEVEL, None) verbose_ptxas_output = self.pass_configs.get(PassConfigKey.TL_ENABLE_PTXAS_VERBOSE_OUTPUT, False) diff --git a/tilelang/transform/pass_config.py b/tilelang/transform/pass_config.py index 8bb82106d..741ab7f16 100644 --- a/tilelang/transform/pass_config.py +++ b/tilelang/transform/pass_config.py @@ -13,11 +13,6 @@ class PassConfigKey(str, Enum): TL_DISABLE_WARP_SPECIALIZED = "tl.disable_warp_specialized" """Disable warp specialization optimization. Default: False""" - TL_DISABLE_FAST_MATH = "tl.disable_fast_math" - """Disable fast math optimization. Default: True - will be deprecated in the 0.1.7 release - """ - TL_ENABLE_FAST_MATH = "tl.enable_fast_math" """ Enable fast math optimization. Default: False