Skip to content

Commit b4ade1f

Browse files
Hilly12recml authors
authored andcommitted
Fix breakage in sparsecore preprocessor.
PiperOrigin-RevId: 785632442
1 parent aa8e6a6 commit b4ade1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recml/layers/linen/sparsecore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ def _to_np(x: Any) -> np.ndarray:
339339
global_device_count=self.sparsecore_config.global_device_count,
340340
num_sc_per_device=self.sparsecore_config.num_sc_per_device,
341341
sharding_strategy=self.sparsecore_config.sharding_strategy,
342+
feature_stacking_strategy=embedding.FeatureStackingStrategy.STACK_THEN_SPLIT,
342343
allow_id_dropping=False,
343344
batch_number=self._batch_number,
344345
)

0 commit comments

Comments
 (0)