Skip to content

Commit d59b439

Browse files
authored
feat: new batching opt passes (#1582)
* feat: new opt passes * feat: new batching passes [skip ci] * chore: bump jll
1 parent e175cf0 commit d59b439

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Reactant"
22
uuid = "3c362404-f566-11ee-1572-e11a4b42c853"
33
authors = ["William Moses <[email protected]>", "Valentin Churavy <[email protected]>", "Sergio Sánchez Ramírez <[email protected]>", "Paul Berg <[email protected]>", "Avik Pal <[email protected]>", "Mosè Giordano <[email protected]>"]
4-
version = "0.2.157"
4+
version = "0.2.158"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -100,7 +100,7 @@ PythonCall = "0.9.25"
100100
Random = "1.10"
101101
Random123 = "1.7"
102102
ReactantCore = "0.1.15"
103-
Reactant_jll = "0.0.235"
103+
Reactant_jll = "0.0.236"
104104
ScopedValues = "1.3.0"
105105
Scratch = "1.2"
106106
Sockets = "1.10"

src/Compiler.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,12 @@ function optimization_passes(
907907
"self_add_to_convolution_like($(Int(backend == "tpu")))",
908908
"self_mul_to_convolution_like($(Int(backend == "tpu")))",
909909
"subtract_multiply_const_to_add_mul_const",
910+
"concat_insert_dim_dot_general",
911+
"concat_insert_dim_gather",
912+
"concat_insert_dim_iota",
913+
"concat_insert_dim_reduce",
914+
"concat_insert_dim_sort",
915+
"concat_insert_dim_reduce_window",
910916
]
911917

912918
if !compile_options.disable_scatter_gather_optimization_passes

0 commit comments

Comments
 (0)