Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2023
1 parent 100ae28 commit 6da075c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ edition = "2021"
name = "_core"
version = "0.0.5"

[profile.release]
lto = "fat"
codegen-units = 1
strip = true

[profile.bench]
debug = true
strip = false

[profile.release]
codegen-units = 1
lto = "fat"
strip = true
4 changes: 1 addition & 3 deletions python/differt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from .version import VERSION

__version__ = VERSION
__all__ = (
'VERSION',
)
__all__ = ("VERSION",)
3 changes: 2 additions & 1 deletion python/differt/rt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def generate_all_path_candidates(
``num_primitives * ((num_primitives - 1) ** (order - 1))``.
"""
return jnp.asarray(
_core.rt.utils.generate_all_path_candidates(num_primitives, order), dtype=jnp.uint32
_core.rt.utils.generate_all_path_candidates(num_primitives, order),
dtype=jnp.uint32,
)


Expand Down
2 changes: 1 addition & 1 deletion python/differt/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ._core import __version__

__all__ = ('VERSION',)
__all__ = ("VERSION",)

VERSION = __version__

0 comments on commit 6da075c

Please sign in to comment.