Skip to content

Commit

Permalink
Seperate dynamic eincode and static eincode (#119)
Browse files Browse the repository at this point in the history
* update

* update

* more

* tests pass

* tests pas

* maybe ok

* no specialize for dynamic einsum

* update project.toml

* update docstrings

* allow vector input in get size dict
  • Loading branch information
GiggleLiu authored Oct 3, 2021
1 parent 57ea8b7 commit 7fec381
Show file tree
Hide file tree
Showing 21 changed files with 2,221 additions and 2,168 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1'
os:
- ubuntu-latest
- macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OMEinsum"
uuid = "ebe7aa44-baf0-506c-a96f-8464559b3922"
authors = ["Andreas Peter <[email protected]>"]
version = "0.4.8"
version = "0.5.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ julia> allow_loops(false);

julia> Zl = ein"is, oij, js -> os"(x, W, y);
┌ Error: using `loop_einsum` to evaluate
│ code = EinCode{((1, 2), (3, 1, 4), (4, 2)),(3, 2)}()
│ code = is, oij, js -> os
size.(xs) = ((10, 50), (20, 10, 10), (10, 50))
size(y) = (20, 50)
└ @ OMEinsum ~/.julia/dev/OMEinsum/src/loop_einsum.jl:26
Expand Down
Binary file modified benchmark/compiletime-refactor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7fec381

Please sign in to comment.