Skip to content

Commit 1782570

Browse files
committed
0.0.12
1 parent 16aac6e commit 1782570

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "transfusion-pytorch"
3-
version = "0.0.11"
3+
version = "0.0.12"
44
description = "Transfusion in Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "lucidrains@gmail.com" }

transfusion_pytorch/transfusion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ def __init__(
556556

557557
# modality transforms
558558

559+
modality_token_transform = cast_tuple(modality_token_transform)
559560
modality_token_transform = [default(transform, identity) for transform in modality_token_transform]
560561
self.modality_token_transform = [Rearrange(maybe_einops_eq) if isinstance(maybe_einops_eq, str) else maybe_einops_eq for maybe_einops_eq in modality_token_transform]
561562

0 commit comments

Comments
 (0)