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
2 changes: 1 addition & 1 deletion keras_rs/src/layers/embedding/jax/distributed_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _create_sparsecore_distribution(
LayoutClass = (
jax_layout.Layout
if jax.__version_info__ >= (0, 6, 3)
else jax_layout.DeviceLocalLayout
else jax_layout.DeviceLocalLayout # type: ignore
)
# pylint: disable-next=protected-access
sparsecore_layout._backend_layout = jax_layout.Format(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _create_sparsecore_layout(
LayoutClass = (
jax_layout.Layout
if jax.__version_info__ >= (0, 6, 3)
else jax_layout.DeviceLocalLayout
else jax_layout.DeviceLocalLayout # type: ignore
)
# pylint: disable-next=protected-access
sparsecore_layout._backend_layout = jax_layout.Format(
Expand Down