broccoli-ml 9.4.1__tar.gz → 9.4.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: 9.4.1
3
+ Version: 9.4.2
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -203,6 +203,7 @@ class RecyclingLinear(nn.Module):
203
203
 
204
204
  if idx_tensor.size(0):
205
205
  centred_value_weights = self._mean_value_weights()
206
+ centred_value_weights = centred_value_weights.expand(indices.size(0), -1)
206
207
  if self.xglu:
207
208
  gate_indices = indices
208
209
  value_indices = indices + (self.linear.out_features // 2)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "9.4.1"
3
+ version = "9.4.2"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes
File without changes
File without changes