Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Batched Einsum ArrayContext #217

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions arraycontext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
from .impl.jax import EagerJAXArrayContext
from .impl.pyopencl import PyOpenCLArrayContext
from .impl.pytato import PytatoJAXArrayContext, PytatoPyOpenCLArrayContext
from .impl.pytato.batched_einsum import BatchedEinsumPytatoPyOpenCLArrayContext
from .impl.pytato.split_actx import SplitPytatoPyOpenCLArrayContext
from .loopy import make_loopy_program
# deprecated, remove in 2022.
from .metadata import _FirstAxisIsElementsTag
Expand Down Expand Up @@ -98,6 +100,9 @@
"outer",

"PyOpenCLArrayContext", "PytatoPyOpenCLArrayContext",
"SplitPytatoPyOpenCLArrayContext",
"BatchedEinsumPytatoPyOpenCLArrayContext",

"PytatoJAXArrayContext",
"EagerJAXArrayContext",

Expand Down
382 changes: 382 additions & 0 deletions arraycontext/impl/pytato/batched_einsum/__init__.py

Large diffs are not rendered by default.

Loading
Loading