keras-hub-nightly 0.19.0.dev202503030351__py3-none-any.whl → 0.19.0.dev202503040351__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.
- keras_hub/src/models/pali_gemma/pali_gemma_vit.py +5 -1
- keras_hub/src/version_utils.py +1 -1
- {keras_hub_nightly-0.19.0.dev202503030351.dist-info → keras_hub_nightly-0.19.0.dev202503040351.dist-info}/METADATA +1 -1
- {keras_hub_nightly-0.19.0.dev202503030351.dist-info → keras_hub_nightly-0.19.0.dev202503040351.dist-info}/RECORD +6 -6
- {keras_hub_nightly-0.19.0.dev202503030351.dist-info → keras_hub_nightly-0.19.0.dev202503040351.dist-info}/WHEEL +0 -0
- {keras_hub_nightly-0.19.0.dev202503030351.dist-info → keras_hub_nightly-0.19.0.dev202503040351.dist-info}/top_level.txt +0 -0
@@ -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 [
|
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()
|
keras_hub/src/version_utils.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: keras-hub-nightly
|
3
|
-
Version: 0.19.0.
|
3
|
+
Version: 0.19.0.dev202503040351
|
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=
|
11
|
+
keras_hub/src/version_utils.py,sha256=QeW0uwM2jrAo8QXhz-swYVB3iK6uhwThHrVqG_TPGv0,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=
|
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.
|
427
|
-
keras_hub_nightly-0.19.0.
|
428
|
-
keras_hub_nightly-0.19.0.
|
429
|
-
keras_hub_nightly-0.19.0.
|
426
|
+
keras_hub_nightly-0.19.0.dev202503040351.dist-info/METADATA,sha256=FWp0kJpZpd0JQ1GnnyHoll1as4LnXFGukXHa5dH7-Us,7715
|
427
|
+
keras_hub_nightly-0.19.0.dev202503040351.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
428
|
+
keras_hub_nightly-0.19.0.dev202503040351.dist-info/top_level.txt,sha256=N4J6piIWBKa38A4uV-CnIopnOEf8mHAbkNXafXm_CuA,10
|
429
|
+
keras_hub_nightly-0.19.0.dev202503040351.dist-info/RECORD,,
|
File without changes
|