Skip to content

Commit 9f12637

Browse files
committed
until torch supports assoc scan
1 parent b4a162d commit 9f12637

File tree

3 files changed

+3
-181
lines changed

3 files changed

+3
-181
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 = "titans-pytorch"
3-
version = "0.4.6"
3+
version = "0.4.7"
44
description = "Titans"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" }
@@ -25,7 +25,7 @@ classifiers=[
2525
]
2626

2727
dependencies = [
28-
"accelerated-scan>=0.2.0",
28+
"assoc-scan",
2929
"axial_positional_embedding>=0.3.10",
3030
"einops>=0.8.0",
3131
"einx>=0.3.0",

titans_pytorch/associative_scan.py

Lines changed: 0 additions & 178 deletions
This file was deleted.

titans_pytorch/neural_memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from tensordict import TensorDict
1717

18-
from titans_pytorch.associative_scan import AssocScan
18+
from assoc_scan import AssocScan
1919

2020
from titans_pytorch.memory_models import(
2121
MemoryMLP,

0 commit comments

Comments
 (0)