broccoli-ml 0.15.0__tar.gz → 0.15.2__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: 0.15.0
3
+ Version: 0.15.2
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -257,8 +257,10 @@ class FeedforwardBlock(nn.Module):
257
257
  nn.LayerNorm(input_features),
258
258
  linear_module(input_features, self.max_features),
259
259
  self.activation,
260
- nn.LayerNorm(self.max_features),
261
- linear_module(ratio * output_features, output_features, bias=False),
260
+ nn.LayerNorm(ratio * output_features),
261
+ SpectralNormLinear(
262
+ ratio * output_features, output_features, bias=False
263
+ ),
262
264
  self.dropout,
263
265
  ]
264
266
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.15.0"
3
+ version = "0.15.2"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes