Skip to content

Commit 1f29716

Browse files
committed
update to mHC
1 parent 9d03a53 commit 1f29716

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "transfusion-pytorch"
3-
version = "0.14.5"
3+
version = "0.15.0"
44
description = "Transfusion in Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
@@ -29,7 +29,7 @@ dependencies = [
2929
'einx>=0.3.0',
3030
'einops>=0.8.0',
3131
'ema-pytorch',
32-
'hyper-connections>=0.0.10',
32+
'hyper-connections>=0.3.6',
3333
'jaxtyping',
3434
'loguru',
3535
'rotary_embedding_torch>=0.8.4',

transfusion_pytorch/transfusion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
from rotary_embedding_torch import RotaryEmbedding, apply_rotary_emb
4646

47-
from hyper_connections import HyperConnections
47+
from hyper_connections import ManifoldConstrainedHyperConnections
4848

4949
from tqdm import tqdm
5050
from loguru import logger
@@ -1067,7 +1067,7 @@ def __init__(
10671067

10681068
counter = count()
10691069

1070-
init_residual_fn, self.expand_stream, self.reduce_stream = HyperConnections.get_init_and_expand_reduce_stream_functions(num_residual_streams, num_fracs = num_residual_fracs)
1070+
init_residual_fn, self.expand_stream, self.reduce_stream = ManifoldConstrainedHyperConnections.get_init_and_expand_reduce_stream_functions(num_residual_streams, num_fracs = num_residual_fracs)
10711071

10721072
# layers
10731073

0 commit comments

Comments
 (0)