Skip to content

Commit 7661757

Browse files
adityagupta1089recml authors
authored andcommitted
[JAX SC] Use private _mesh field and public mesh property in SparseCoreEmbed
* Replace dataclass `mesh` field with private `_mesh` and `mesh` property. * Update callers to pass `_mesh`. PiperOrigin-RevId: 973968115
1 parent 2fe4146 commit 7661757

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recml/inference/models/jax/DLRM_DCNv2/dlrm_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __call__(
135135

136136
sparse_embeddings = embed.SparseCoreEmbed(
137137
feature_specs=self.feature_specs,
138-
mesh=self.mesh,
138+
_mesh=self.mesh,
139139
sharding_axis=self.sharding_axis,
140140
)(embedding_lookups)
141141
sparse_embeddings = jax.tree.flatten(sparse_embeddings)

0 commit comments

Comments
 (0)