Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __marimo__
*.so
*.csv
*.dylib
*.a
venv
.venv
build
Expand Down
4 changes: 2 additions & 2 deletions dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies = [
]

[groups.tvm]
include = ["llvm"]
dependencies = [
'xtc-tvm-python-bindings==0.19.0.12',
'apache-tvm==0.26.0',
'apache-tvm-ffi==0.1.13.post3',
]
1 change: 0 additions & 1 deletion docs/tutorials/xtc_101.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,6 @@ def _(mo, run_exploration):
value=
'''import xtc.graphs.xtc.op as O
from xtc.graphs.xtc.graph import XTCGraph
from xtc.backends.tvm import Backend as TVM_Backend
from xtc.backends.mlir import Backend as MLIR_Backend
from xtc.schedules.descript import descript_scheduler
from xtc.runtimes.host import HostRuntime
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ dependencies = [
]

[project.optional-dependencies]
default = ['xtc-llvm-tools==22.1.8.2', 'xtc-mlir-tools==22.1.8.3', 'xtc-mlir-python-bindings==22.1.8.3', 'xtc-mlir-extra-tools==22.1.8.7', 'xtc-tvm-python-bindings==0.19.0.12']
dev = ['xtc-llvm-tools==22.1.8.2', 'xtc-mlir-tools==22.1.8.3', 'xtc-mlir-python-bindings==22.1.8.3', 'xtc-mlir-extra-tools==22.1.8.7', 'xtc-tvm-python-bindings==0.19.0.12', "coverage>=7.8.0", "filecheck==1.0.3", "lit", "mkdocs", "mkdocs-material", "mkdocstrings-python", "mypy==1.15.0", "pytest", "pytest-xdist", "pyright==1.1.407", "types-PyYAML", "marimo==0.19.6", "ruff==0.14.10"]
default = ['xtc-llvm-tools==22.1.8.2', 'xtc-mlir-tools==22.1.8.3', 'xtc-mlir-python-bindings==22.1.8.3', 'xtc-mlir-extra-tools==22.1.8.7', 'apache-tvm==0.26.0', 'apache-tvm-ffi==0.1.13.post3']
dev = ['xtc-llvm-tools==22.1.8.2', 'xtc-mlir-tools==22.1.8.3', 'xtc-mlir-python-bindings==22.1.8.3', 'xtc-mlir-extra-tools==22.1.8.7', 'apache-tvm==0.26.0', 'apache-tvm-ffi==0.1.13.post3', "coverage>=7.8.0", "filecheck==1.0.3", "lit", "mkdocs", "mkdocs-material", "mkdocstrings-python", "mypy==1.15.0", "pytest", "pytest-xdist", "pyright==1.1.407", "types-PyYAML", "marimo==0.19.6", "ruff==0.14.10"]
test = ["coverage>=7.8.0", "filecheck==1.0.3", "lit", "mkdocs", "mkdocs-material", "mkdocstrings-python", "mypy==1.15.0", "pytest", "pytest-xdist", "pyright==1.1.407", "types-PyYAML", "marimo==0.19.6", "ruff==0.14.10"]
mlir = ['xtc-llvm-tools==22.1.8.2', 'xtc-mlir-tools==22.1.8.3', 'xtc-mlir-python-bindings==22.1.8.3', 'xtc-mlir-extra-tools==22.1.8.7']
tvm = ['xtc-llvm-tools==22.1.8.2', 'xtc-tvm-python-bindings==0.19.0.12']
tvm = ['apache-tvm==0.26.0', 'apache-tvm-ffi==0.1.13.post3']

[tool.setuptools]
platforms = ["Linux"]
Expand Down
1 change: 0 additions & 1 deletion src/xtc/backends/tvm/TVMBackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def __init__(
reduction_dims: list[str] | None = None,
**kwargs: Any,
) -> None:
self._tir_schedule = kwargs.get("tir_schedule", False)
self._graph: Graph | None = None
self._tvm_base: TVMBaseExpr
if isinstance(source_op, XTCGraph):
Expand Down
Loading
Loading