diff --git a/tilelang/__init__.py b/tilelang/__init__.py index 97fde2a9f..e4be01290 100644 --- a/tilelang/__init__.py +++ b/tilelang/__init__.py @@ -22,7 +22,6 @@ def _compute_version() -> str: version_file = repo_root / "VERSION" if version_file.is_file(): try: - import version_provider from version_provider import dynamic_metadata # type: ignore return dynamic_metadata("version") except Exception: diff --git a/tilelang/language/v2/ast.py b/tilelang/language/v2/ast.py index 6f842aee4..a8390cfc3 100644 --- a/tilelang/language/v2/ast.py +++ b/tilelang/language/v2/ast.py @@ -553,7 +553,7 @@ def visit_Assert(self, node: ast.Assert): def visit_Name(self, node: ast.Name): if isinstance(node.ctx, ast.Load): - return quote_expr(f"__tb.rval('{node.id}', {node.id})", span=node) + return quote_expr(f"__tb.rval('{node.id}', node)", node=node, span=node) return node