keras-hub-nightly 0.19.0.dev202503030351__py3-none-any.whl → 0.19.0.dev202503050350__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.
@@ -330,7 +330,11 @@ class PaliGemmaVitEncoder(keras.layers.Layer):
330
330
  # `compute_output_spec` fails to propagate `inputs_shape`
331
331
  # correctly, causing it to be `None`.
332
332
  inputs_shape = [None, None, None]
333
- return [inputs_shape[0], inputs_shape[1], self.hidden_dim]
333
+ return [
334
+ inputs_shape[0],
335
+ (inputs_shape[1] // self.patch_size) ** 2,
336
+ self.hidden_dim,
337
+ ]
334
338
 
335
339
  def get_config(self):
336
340
  config = super().get_config()
@@ -1,7 +1,7 @@
1
1
  from keras_hub.src.api_export import keras_hub_export
2
2
 
3
3
  # Unique source of truth for the version number.
4
- __version__ = "0.19.0.dev202503030351"
4
+ __version__ = "0.19.0.dev202503050350"
5
5
 
6
6
 
7
7
  @keras_hub_export("keras_hub.version")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: keras-hub-nightly
3
- Version: 0.19.0.dev202503030351
3
+ Version: 0.19.0.dev202503050350
4
4
  Summary: Industry-strength Natural Language Processing extensions for Keras.
5
5
  Home-page: https://github.com/keras-team/keras-hub
6
6
  Author: Keras team
@@ -8,7 +8,7 @@ keras_hub/api/tokenizers/__init__.py,sha256=lhvIqP8xqdkjmKSEBujHNxh5Tk5A3T0I7AUu
8
8
  keras_hub/api/utils/__init__.py,sha256=Gp1E6gG-RtKQS3PBEQEOz9PQvXkXaJ0ySGMqZ7myN7A,215
9
9
  keras_hub/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  keras_hub/src/api_export.py,sha256=9pQZK27JObxWZ96QPLBp1OBsjWigh1iuV6RglPGMRk0,1499
11
- keras_hub/src/version_utils.py,sha256=IbMdDb_2Uhc7BLNglnATg3Htq2YfUSaKEl77bklgvAk,222
11
+ keras_hub/src/version_utils.py,sha256=UtwPnt-YBO0TG5qgOsh-0UoAEtQ8TM49VN_o745paj0,222
12
12
  keras_hub/src/layers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  keras_hub/src/layers/modeling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  keras_hub/src/layers/modeling/alibi_bias.py,sha256=1XBTHI52L_iJDhN_w5ydu_iMhCuTgQAxEPwcLA6BPuk,4411
@@ -257,7 +257,7 @@ keras_hub/src/models/pali_gemma/pali_gemma_decoder_block.py,sha256=24ABQ1vGlppV-
257
257
  keras_hub/src/models/pali_gemma/pali_gemma_image_converter.py,sha256=5yM_jUtrFsWIieiwfFBoP7mtPmQAwywkeLKbd7fhmzk,371
258
258
  keras_hub/src/models/pali_gemma/pali_gemma_presets.py,sha256=zF04iShXky_c3IfUbmLlBN2FYb6iCWH1DWTgDdTCqrI,13006
259
259
  keras_hub/src/models/pali_gemma/pali_gemma_tokenizer.py,sha256=ljTiADHo0Ok88q-jVzwJIle2C8xcxnudLTsBLzIySaM,2415
260
- keras_hub/src/models/pali_gemma/pali_gemma_vit.py,sha256=R-W7SCnlLjkgiJ9vrn3ctbBES_yCxJSrCld5dV7nzaY,18235
260
+ keras_hub/src/models/pali_gemma/pali_gemma_vit.py,sha256=mwzhdo6wjemOjic4p6vECMlScxyI_meXMWBZ76YlblE,18308
261
261
  keras_hub/src/models/phi3/__init__.py,sha256=zIbf1MU-ks91mEkjTRJAsk51N3BBnXDF2JM1vO-13PQ,245
262
262
  keras_hub/src/models/phi3/phi3_attention.py,sha256=7eeEP3za6arfqzyLtrJV6desV2_9b6bR5LkupeURrHs,9978
263
263
  keras_hub/src/models/phi3/phi3_backbone.py,sha256=fY-OY2ZrqxDHglYjTM0OCacBdEQHwj-XNmU0MnXL7iU,8885
@@ -423,7 +423,7 @@ keras_hub/src/utils/transformers/convert_pali_gemma.py,sha256=B1leeDw96Yvu81hYum
423
423
  keras_hub/src/utils/transformers/convert_vit.py,sha256=9SUZ9utNJhW_5cj3acMn9cRy47u2eIcDsrhmzj77o9k,5187
424
424
  keras_hub/src/utils/transformers/preset_loader.py,sha256=DgGJXbTSB9Na8FIR-YWWVqQPOFxHwWrGm41EwcS_EFs,3797
425
425
  keras_hub/src/utils/transformers/safetensor_utils.py,sha256=CYUHyA4y-B61r7NDnCsFb4t_UmSwZ1k9L-8gzEd6KRg,3339
426
- keras_hub_nightly-0.19.0.dev202503030351.dist-info/METADATA,sha256=sCc-GtjdNAXsbn5E7q9a4X2QMEXAlySkeN6vheSRnrg,7715
427
- keras_hub_nightly-0.19.0.dev202503030351.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
428
- keras_hub_nightly-0.19.0.dev202503030351.dist-info/top_level.txt,sha256=N4J6piIWBKa38A4uV-CnIopnOEf8mHAbkNXafXm_CuA,10
429
- keras_hub_nightly-0.19.0.dev202503030351.dist-info/RECORD,,
426
+ keras_hub_nightly-0.19.0.dev202503050350.dist-info/METADATA,sha256=AC3PI3IISgcNWK1Qm4gyTZvAS6Q3x6CrBRUvy6OMHD4,7715
427
+ keras_hub_nightly-0.19.0.dev202503050350.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
428
+ keras_hub_nightly-0.19.0.dev202503050350.dist-info/top_level.txt,sha256=N4J6piIWBKa38A4uV-CnIopnOEf8mHAbkNXafXm_CuA,10
429
+ keras_hub_nightly-0.19.0.dev202503050350.dist-info/RECORD,,