hippoformer 0.0.14__tar.gz → 0.0.15__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.4
2
2
  Name: hippoformer
3
- Version: 0.0.14
3
+ Version: 0.0.15
4
4
  Summary: hippoformer
5
5
  Project-URL: Homepage, https://pypi.org/project/hippoformer/
6
6
  Project-URL: Repository, https://github.com/lucidrains/hippoformer
@@ -365,7 +365,7 @@ class TEMTransformerBlock(Module):
365
365
 
366
366
  x = self.ff(x) + x
367
367
 
368
- next_kv_cache = next_kv_cache[:, -self.window_size:]
368
+ next_kv_cache = tuple(t[:, -self.window_size:] for t in next_kv_cache)
369
369
 
370
370
  return x, next_kv_cache
371
371
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hippoformer"
3
- version = "0.0.14"
3
+ version = "0.0.15"
4
4
  description = "hippoformer"
5
5
  authors = [
6
6
  { name = "Phil Wang", email = "lucidrains@gmail.com" }
File without changes
File without changes
File without changes