alphagenome-pytorch 0.0.7__py3-none-any.whl → 0.0.8__py3-none-any.whl

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.
@@ -434,14 +434,14 @@ class TransformerTower(Module):
434
434
  maybe_pairwise_ff
435
435
  ) in self.layers:
436
436
 
437
- single = attn(single, rotary_emb = rotary_emb, pairwise = None) + single
438
- single = ff(single) + single
439
-
440
437
  if exists(maybe_single_to_pair):
441
438
  pairwise = maybe_single_to_pair(single, rel_pos_feats) + default(pairwise, 0.)
442
439
  pairwise = maybe_pairwise_attn(pairwise) + pairwise
443
440
  pairwise = maybe_pairwise_ff(pairwise) + pairwise
444
441
 
442
+ single = attn(single, rotary_emb = rotary_emb, pairwise = None) + single
443
+ single = ff(single) + single
444
+
445
445
  return single, pairwise
446
446
 
447
447
  # embedding
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alphagenome-pytorch
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary: AlphaGenome
5
5
  Project-URL: Homepage, https://pypi.org/project/alphagenome-pytorch/
6
6
  Project-URL: Repository, https://github.com/lucidrains/alphagenome
@@ -0,0 +1,6 @@
1
+ alphagenome_pytorch/__init__.py,sha256=7plC_YRm0UapNCl9hJEhFxXE-ELGKVy-DtuO5GUQxGI,101
2
+ alphagenome_pytorch/alphagenome.py,sha256=UjlOJGTMshcaNqmY0r6IRCgRunu7BTZyhbk2vNi5Mis,13948
3
+ alphagenome_pytorch-0.0.8.dist-info/METADATA,sha256=mhlnCRy7Ovq_Gt9ul_iIqws4zdoOcLjfQTBrlbcNic8,3386
4
+ alphagenome_pytorch-0.0.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ alphagenome_pytorch-0.0.8.dist-info/licenses/LICENSE,sha256=1yCiA9b5nhslTavxPjsQAO-wpOnwJR9-l8LTVi7GJuk,1066
6
+ alphagenome_pytorch-0.0.8.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- alphagenome_pytorch/__init__.py,sha256=7plC_YRm0UapNCl9hJEhFxXE-ELGKVy-DtuO5GUQxGI,101
2
- alphagenome_pytorch/alphagenome.py,sha256=6rDCYbXm3tsS6i4HpGjzVZG4ImFpAHdzdfQhjL70vPU,13948
3
- alphagenome_pytorch-0.0.7.dist-info/METADATA,sha256=wUhwmvfijnaqPTaY6q82_vopS6U-sVskX1sANF4ls80,3386
4
- alphagenome_pytorch-0.0.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- alphagenome_pytorch-0.0.7.dist-info/licenses/LICENSE,sha256=1yCiA9b5nhslTavxPjsQAO-wpOnwJR9-l8LTVi7GJuk,1066
6
- alphagenome_pytorch-0.0.7.dist-info/RECORD,,