broccoli-ml 13.0.2__tar.gz → 13.0.3__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: 13.0.2
3
+ Version: 13.0.3
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -387,9 +387,6 @@ class FeedforwardBlock(nn.Module):
387
387
  self.beta = beta
388
388
  self.xglu = activation.__name__.endswith("GLU")
389
389
 
390
- if self.post_norm:
391
- self.layernorm = nn.LayerNorm(output_features)
392
-
393
390
  if activation_kwargs is not None:
394
391
  self.activation = activation(**activation_kwargs)
395
392
  else:
@@ -467,9 +464,6 @@ class FeedforwardBlock(nn.Module):
467
464
  return processed
468
465
 
469
466
  def reset_parameters(self):
470
- if self.post_norm:
471
- self.layernorm.reset_parameters()
472
-
473
467
  # Iterate over the sequential block to reset parameters
474
468
  for module in self.process:
475
469
  if hasattr(module, "reset_parameters"):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "13.0.2"
3
+ version = "13.0.3"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes