keras-rs-nightly 0.2.2.dev202508050345__py3-none-any.whl → 0.2.2.dev202508060343__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of keras-rs-nightly might be problematic. Click here for more details.

@@ -146,14 +146,14 @@ class DistributedEmbedding(keras.layers.Layer):
146
146
  feature1 = keras_rs.layers.FeatureConfig(
147
147
  name="feature1",
148
148
  table=table1,
149
- input_shape=(PER_REPLICA_BATCH_SIZE,),
150
- output_shape=(PER_REPLICA_BATCH_SIZE, TABLE1_EMBEDDING_SIZE),
149
+ input_shape=(GLOBAL_BATCH_SIZE,),
150
+ output_shape=(GLOBAL_BATCH_SIZE, TABLE1_EMBEDDING_SIZE),
151
151
  )
152
152
  feature2 = keras_rs.layers.FeatureConfig(
153
153
  name="feature2",
154
154
  table=table2,
155
- input_shape=(PER_REPLICA_BATCH_SIZE,),
156
- output_shape=(PER_REPLICA_BATCH_SIZE, TABLE2_EMBEDDING_SIZE),
155
+ input_shape=(GLOBAL_BATCH_SIZE,),
156
+ output_shape=(GLOBAL_BATCH_SIZE, TABLE2_EMBEDDING_SIZE),
157
157
  )
158
158
 
159
159
  feature_configs = {
@@ -102,7 +102,10 @@ class FeatureConfig:
102
102
  input_shape: The input shape of the feature. The feature fed into the
103
103
  layer has to match the shape. Note that for ragged dimensions in the
104
104
  input, the dimension provided here presents the maximum value;
105
- anything larger will be truncated.
105
+ anything larger will be truncated. Also note that the first
106
+ dimension represents the global batch size. For example, on TPU,
107
+ this represents the total number of samples that are dispatched to
108
+ all the TPUs connected to the current host.
106
109
  output_shape: The output shape of the feature activation. What is
107
110
  returned by the embedding layer has to match this shape.
108
111
  """
keras_rs/src/version.py CHANGED
@@ -1,7 +1,7 @@
1
1
  from keras_rs.src.api_export import keras_rs_export
2
2
 
3
3
  # Unique source of truth for the version number.
4
- __version__ = "0.2.2.dev202508050345"
4
+ __version__ = "0.2.2.dev202508060343"
5
5
 
6
6
 
7
7
  @keras_rs_export("keras_rs.version")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keras-rs-nightly
3
- Version: 0.2.2.dev202508050345
3
+ Version: 0.2.2.dev202508060343
4
4
  Summary: Multi-backend recommender systems with Keras 3.
5
5
  Author-email: Keras team <keras-users@googlegroups.com>
6
6
  License: Apache License 2.0
@@ -5,12 +5,12 @@ keras_rs/metrics/__init__.py,sha256=Qxpf6OFooIL9TIn2l3WgOea3HFRG0hq02glPAxtMZ9c,
5
5
  keras_rs/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  keras_rs/src/api_export.py,sha256=RsmG-DvO-cdFeAF9W6LRzms0kvtm-Yp9BAA_d-952zI,510
7
7
  keras_rs/src/types.py,sha256=1A-oLRdX1-f2DsVZBcNl8qNsaH8pM-gnleLT9FWZWBw,1189
8
- keras_rs/src/version.py,sha256=M8Lcch9FbrXIn-Syj211qspj2dEDiyksD18uOmw8-AM,224
8
+ keras_rs/src/version.py,sha256=THPSXnX6_BLgHCwK3ZXEGVqhwtxAiOP-YoUSJnuAwEE,224
9
9
  keras_rs/src/layers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  keras_rs/src/layers/embedding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- keras_rs/src/layers/embedding/base_distributed_embedding.py,sha256=Hr54K8Y3OpUQc7ExtftLONoY7w4x4R08BkkMNtrpbZw,45026
11
+ keras_rs/src/layers/embedding/base_distributed_embedding.py,sha256=J1mW7sgOgfkR8s-n3uyuqMb_iwPgrD6j0J5OBSfXQt8,45006
12
12
  keras_rs/src/layers/embedding/distributed_embedding.py,sha256=94jxUHoGK3Gs9yfV0KxFTuqPo7XFnhgCNlO2FEeiSgM,1072
13
- keras_rs/src/layers/embedding/distributed_embedding_config.py,sha256=AWPmZBir1shhqNP6U_jiQ9lsBhMXVikW4B5VnzLsvPg,5579
13
+ keras_rs/src/layers/embedding/distributed_embedding_config.py,sha256=nmDqZlXiZGxc2UmEaUULaOvRjwq427ReSltDGEBrv5I,5816
14
14
  keras_rs/src/layers/embedding/embed_reduce.py,sha256=c-MnEw1-KWs0jTf0JJ_ZBOY-9hRkiFyu989Dof3DnS8,12343
15
15
  keras_rs/src/layers/embedding/jax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  keras_rs/src/layers/embedding/jax/checkpoint_utils.py,sha256=wZ4I5WZVNg5WnrD2j7nhAXgLzDc7xMrUEkSAOx5Sz5c,3495
@@ -50,7 +50,7 @@ keras_rs/src/metrics/utils.py,sha256=fGTo8j0ykVE5Y3yQCS2orSFcHY20Uxt0NazyPsybUsw
50
50
  keras_rs/src/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  keras_rs/src/utils/doc_string_utils.py,sha256=CmqomepmaYcvpACpXEXkrJb8DMnvIgmYK-lJ53lYarY,1675
52
52
  keras_rs/src/utils/keras_utils.py,sha256=dc-NFzs3a-qmRw0vBDiMslPLfrm9yymGduLWesXPhuY,2123
53
- keras_rs_nightly-0.2.2.dev202508050345.dist-info/METADATA,sha256=ziJ6IdTpbj--g7l4hlNVsozpxk9I-Pr7iTs_APV3vxw,5273
54
- keras_rs_nightly-0.2.2.dev202508050345.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
- keras_rs_nightly-0.2.2.dev202508050345.dist-info/top_level.txt,sha256=pWs8X78Z0cn6lfcIb9VYOW5UeJ-TpoaO9dByzo7_FFo,9
56
- keras_rs_nightly-0.2.2.dev202508050345.dist-info/RECORD,,
53
+ keras_rs_nightly-0.2.2.dev202508060343.dist-info/METADATA,sha256=kpIe9X61t56x-jdjn7jOwgazH7OMHKSBt5MwKrMml9s,5273
54
+ keras_rs_nightly-0.2.2.dev202508060343.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
+ keras_rs_nightly-0.2.2.dev202508060343.dist-info/top_level.txt,sha256=pWs8X78Z0cn6lfcIb9VYOW5UeJ-TpoaO9dByzo7_FFo,9
56
+ keras_rs_nightly-0.2.2.dev202508060343.dist-info/RECORD,,