Skip to content
Open
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
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "ninetoothed"
version = "0.22.0"
dynamic = ["version"]
authors = [{ name = "Jiacheng Huang", email = "huangjiacheng0709@outlook.com" }]
description = "A domain-specific language based on Triton but providing higher-level abstraction."
readme = "README.md"
Expand All @@ -25,6 +25,9 @@ debugging = ["torch>=2.4.0"]
visualization = ["matplotlib>=3.9.0", "ninetoothed[debugging]"]
all = ["ninetoothed[debugging]", "ninetoothed[visualization]"]

[tool.hatch.version]
path = "src/ninetoothed/_version.py"

[tool.ruff]
src = [".", "src", "tests"]

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
hatch
jupyter
jupytext
matplotlib
Expand Down
3 changes: 3 additions & 0 deletions src/ninetoothed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
from ninetoothed.symbol import Symbol, block_size
from ninetoothed.tensor import Tensor

from ._version import __version__

__all__ = [
"__version__",
"Symbol",
"Tensor",
"bfloat16",
Expand Down
1 change: 1 addition & 0 deletions src/ninetoothed/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.22.0"