broccoli-ml 0.13.3__py3-none-any.whl → 0.13.5__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.
broccoli/vit.py CHANGED
@@ -305,7 +305,8 @@ class ViTEncoder(nn.Module):
305
305
  linear_module=linear_module,
306
306
  )
307
307
  elif pooling_out_channels == transformer_embedding_size:
308
- pass
308
+ self.intermediate_feedforward_layer = nn.Identity()
309
+ self.pooling_channels_padding = nn.Identity()
309
310
  elif pooling_out_channels < transformer_embedding_size:
310
311
  self.intermediate_feedforward_layer = nn.Identity()
311
312
  self.pooling_channels_padding = PadTensor(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: broccoli-ml
3
- Version: 0.13.3
3
+ Version: 0.13.5
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -10,8 +10,8 @@ broccoli/rope.py,sha256=hw7kBPNR9GQXj4GxyIAffsGKPfcTPOFh8Bc7oEHtaZY,12108
10
10
  broccoli/tensor.py,sha256=E2JK5mQwJf75e23-JGcDoT7QxQf89DJReUo2et1LhRY,1716
11
11
  broccoli/transformer.py,sha256=GzkHlzCe4k2-ALMbKpQ0wdsOEKTap6gjOK-FiA7KP3k,15929
12
12
  broccoli/utils.py,sha256=htq_hOsdhUhL0nJi9WkKiEYOjEoWqFpK5X49PtgTf-0,299
13
- broccoli/vit.py,sha256=EAbj9s_aFnZ3WDqE67uPXpCDtpJLlftWfzOq8UA8sZk,16480
14
- broccoli_ml-0.13.3.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
- broccoli_ml-0.13.3.dist-info/METADATA,sha256=8K7CpHg2lhBOcr_-Uq_kh9Mn5jiXXQx2HVn8WirBqiw,1257
16
- broccoli_ml-0.13.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
- broccoli_ml-0.13.3.dist-info/RECORD,,
13
+ broccoli/vit.py,sha256=UveYz5UgYhM0yi9EKd7Ptaxd8WlHhG_THO7YV3_jn00,16585
14
+ broccoli_ml-0.13.5.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
+ broccoli_ml-0.13.5.dist-info/METADATA,sha256=56lDwcr2TVfMiJl0dP92vSMNChlLffG03aBAnwr4kSg,1257
16
+ broccoli_ml-0.13.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
+ broccoli_ml-0.13.5.dist-info/RECORD,,