File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ PythonCall = "0.9.25"
105105Random = " 1.10"
106106Random123 = " 1.7"
107107ReactantCore = " 0.1.16"
108- Reactant_jll = " 0.0.256 "
108+ Reactant_jll = " 0.0.257 "
109109ScopedValues = " 1.3.0"
110110Scratch = " 1.2"
111111Sockets = " 1.10"
Original file line number Diff line number Diff line change @@ -693,6 +693,7 @@ const AGGRESSIVE_SUM_TO_CONV = Ref(false)
693693const AGGRESSIVE_PROPAGATION = Ref (false )
694694const DUS_SLICE_SIMPLIFY = Ref (true )
695695const CONCATS_TO_DUS = Ref (false )
696+ const WHILE_UNROLL_THRESHOLD = Ref (5 )
696697
697698# Optimization passes via transform dialect
698699function optimization_passes (
@@ -912,6 +913,7 @@ function optimization_passes(
912913 " while_is_copy_simplify" ,
913914 " split_variadic_scatter_op" ,
914915 " dynamic_slice_simplify" ,
916+ " enzyme_hlo_unroll($(WHILE_UNROLL_THRESHOLD[]) )" ,
915917 ]
916918
917919 if ! compile_options. disable_auto_batching_passes
@@ -955,6 +957,9 @@ function optimization_passes(
955957 " transpose_licm(0)" ,
956958 " broadcastindim_licm(0)" ,
957959 " reshape_licm(0)" ,
960+ " dot_general_licm(0)" ,
961+ " reduce_licm(0)" ,
962+ " reduce_window_licm(0)" ,
958963 ],
959964 )
960965 end
You can’t perform that action at this time.
0 commit comments