You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codeflash/code_utils/config_consts.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,10 @@
38
38
# Adaptive optimization
39
39
# TODO (ali): make this configurable with effort arg once the PR is merged
40
40
ADAPTIVE_OPTIMIZATION_THRESHOLD=2# Max adaptive optimizations per single candidate tree (for example : optimize -> refine -> adaptive -> another adaptive).
41
-
MAX_ADAPTIVE_OPTIMIZATIONS_PER_TRACE=4# maximum number of adaptive optimizations we will do for each function (this can be 2 adaptive optimizations for 2 candidates for example)
41
+
# MAX_ADAPTIVE_OPTIMIZATIONS_PER_TRACE = 4 # maximum number of adaptive optimizations we will do for each function (this can be 2 adaptive optimizations for 2 candidates for example)
42
+
MAX_ADAPTIVE_OPTIMIZATIONS_PER_TRACE= (
43
+
0# disable adaptive optimizations until we have this value controlled by the effort arg
0 commit comments