broccoli-ml 14.0.0__tar.gz → 14.0.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: broccoli-ml
3
- Version: 14.0.0
3
+ Version: 14.0.1
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -612,11 +612,13 @@ class EncoderBlock(nn.Module):
612
612
  else:
613
613
  process_x = x
614
614
 
615
- processed = self.drop_path(self.attn(process_x, process_x, process_x))
615
+ processed = self.attn(process_x, process_x, process_x)
616
616
 
617
617
  if self.normformer:
618
618
  processed = self.normformer_norm(processed)
619
619
 
620
+ processed = self.drop_path(processed)
621
+
620
622
  x = self.alpha * x + processed
621
623
 
622
624
  if self.post_norm:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "14.0.0"
3
+ version = "14.0.1"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes