Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSA Python package building. #106

Merged
merged 1 commit into from
May 19, 2024
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 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
Loading