Skip to content

Commit

Permalink
Fix JSA Python package building.
Browse files Browse the repository at this point in the history
  • Loading branch information
balancap committed May 19, 2024
1 parent f1581ec commit cef691c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ pip install pre-commit
pre-commit run --all-files
pytest -v ./tests
```
Python wheel can be built with the usual command `python -m build`.
2 changes: 1 addition & 1 deletion jax_scaled_arithmetics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2023 Graphcore Ltd. All rights reserved.
from . import lax, ops
from . import core, lax, ops
from ._version import __version__
from .core import ( # noqa: F401
AutoScaleConfig,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1"
description="JAX Scaled Arithmetics."
readme = "README.md"
authors = [
{ name = "Graphcore Research", email = "contact@graphcore.ai" },
{ name = "Graphcore Research", email = "paulb@graphcore.ai" },
]
requires-python = ">=3.8"
classifiers = [
Expand All @@ -31,7 +31,7 @@ Website = "https://github.com/graphcore-research/jax-scaled-arithmetics/#readme"
test = ["pytest"]

[tool.setuptools]
packages = ["jax_scaled_arithmetics"]
packages = ["jax_scaled_arithmetics", "jax_scaled_arithmetics.core", "jax_scaled_arithmetics.lax", "jax_scaled_arithmetics.ops"]

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit cef691c

Please sign in to comment.