broccoli-ml 13.0.1__tar.gz → 13.0.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: 13.0.1
3
+ Version: 13.0.2
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -387,13 +387,6 @@ class FeedforwardBlock(nn.Module):
387
387
  self.beta = beta
388
388
  self.xglu = activation.__name__.endswith("GLU")
389
389
 
390
- if self.residual_path and (output_features < input_features):
391
- raise ValueError(
392
- "If the number of output features will be less than "
393
- "the number of input features, then `residual_path` "
394
- "should be set to False."
395
- )
396
-
397
390
  if self.post_norm:
398
391
  self.layernorm = nn.LayerNorm(output_features)
399
392
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "13.0.1"
3
+ version = "13.0.2"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes