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
Updated LLM model weights to include 'google/gemini-2.5-pro' with adjusted weights across all tasks. Reduced verbosity and streamlined optimization hints in config prompts for clarity. Adjusted parallel_evaluations to 4 for most tasks (except polynomial_real, set to 1 to avoid JAX conflicts) and increased evaluator timeout for polynomial_real. Updated initial_program.py files to clarify and reorganize optimization opportunities.
Copy file name to clipboardExpand all lines: examples/algotune/affine_transform_2d/config.yaml
+5-61Lines changed: 5 additions & 61 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ llm:
14
14
api_base: "https://openrouter.ai/api/v1"
15
15
models:
16
16
- name: "google/gemini-2.5-flash"
17
-
weight: 1.0
17
+
weight: 0.8
18
+
- name: "google/gemini-2.5-pro"
19
+
weight: 0.2
18
20
19
21
temperature: 0.4# Optimal (better than 0.2, 0.6, 0.8)
20
22
max_tokens: 128000# Increased from 16000 for much richer context
@@ -68,16 +70,10 @@ prompt:
68
70
69
71
Focus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness.
70
72
71
-
72
-
73
-
74
-
75
73
PERFORMANCE OPTIMIZATION OPPORTUNITIES:
76
74
You have access to high-performance libraries that can provide significant speedups:
77
75
78
76
• **JAX** - JIT compilation for numerical computations
79
-
Key insight: Functions should be defined outside classes for JIT compatibility
80
-
For jnp.roots(), consider using strip_zeros=False in JIT contexts
81
77
82
78
• **Numba** - Alternative JIT compilation, often simpler to use
83
79
@@ -86,59 +82,7 @@ prompt:
86
82
87
83
• **Vectorization** - Look for opportunities to replace loops with array operations
88
84
89
-
EXPLORATION STRATEGY:
90
-
1. Profile to identify bottlenecks first
91
-
2. Consider multiple optimization approaches for the same problem
92
-
3. Try both library-specific optimizations and algorithmic improvements
93
-
4. Test different numerical libraries to find the best fit
Copy file name to clipboardExpand all lines: examples/algotune/convolve2d_full_fill/config.yaml
+5-23Lines changed: 5 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ llm:
14
14
api_base: "https://openrouter.ai/api/v1"
15
15
models:
16
16
- name: "google/gemini-2.5-flash"
17
-
weight: 1.0
17
+
weight: 0.8
18
+
- name: "google/gemini-2.5-pro"
19
+
weight: 0.2
18
20
19
21
temperature: 0.4# Optimal (better than 0.2, 0.6, 0.8)
20
22
max_tokens: 128000# Increased from 16000 for much richer context
@@ -70,17 +72,11 @@ prompt:
70
72
The output is a 2D array representing the convolution result.
71
73
72
74
Focus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness.
73
-
74
-
75
-
76
-
77
75
78
76
PERFORMANCE OPTIMIZATION OPPORTUNITIES:
79
77
You have access to high-performance libraries that can provide significant speedups:
80
78
81
79
• **JAX** - JIT compilation for numerical computations
82
-
Key insight: Functions should be defined outside classes for JIT compatibility
83
-
For jnp.roots(), consider using strip_zeros=False in JIT contexts
84
80
85
81
• **Numba** - Alternative JIT compilation, often simpler to use
86
82
@@ -89,21 +85,7 @@ prompt:
89
85
90
86
• **Vectorization** - Look for opportunities to replace loops with array operations
91
87
92
-
EXPLORATION STRATEGY:
93
-
1. Profile to identify bottlenecks first
94
-
2. Consider multiple optimization approaches for the same problem
95
-
3. Try both library-specific optimizations and algorithmic improvements
96
-
4. Test different numerical libraries to find the best fit
97
-
98
-
99
-
PROBLEM-SPECIFIC OPTIMIZATION HINTS:
100
-
This task involves 2D convolution in 'full' mode - consider:
101
-
• FFT-based convolution algorithms (O(n log n) vs O(n²))
102
-
• scipy.signal functions may have optimized implementations
103
-
• JAX also has FFT operations if JIT compilation benefits outweigh library optimizations
104
-
• Memory layout and padding strategies can impact performance
105
-
106
-
num_top_programs: 10# Increased from 3-5 for richer learning context
88
+
num_top_programs: 5# Increased from 3-5 for richer learning context
107
89
num_diverse_programs: 5# Increased from 2 for more diverse exploration
Copy file name to clipboardExpand all lines: examples/algotune/eigenvectors_complex/config.yaml
+5-62Lines changed: 5 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ llm:
14
14
api_base: "https://openrouter.ai/api/v1"
15
15
models:
16
16
- name: "google/gemini-2.5-flash"
17
-
weight: 1.0
17
+
weight: 0.8
18
+
- name: "google/gemini-2.5-pro"
19
+
weight: 0.2
18
20
19
21
temperature: 0.4# Optimal (better than 0.2, 0.6, 0.8)
20
22
max_tokens: 128000# Increased from 16000 for much richer context
@@ -76,17 +78,11 @@ prompt:
76
78
- eigenvectors is an array of n eigenvectors, each of length n, representing the eigenvector corresponding to the eigenvalue at the same index.
77
79
78
80
Focus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness.
79
-
80
-
81
-
82
-
83
81
84
82
PERFORMANCE OPTIMIZATION OPPORTUNITIES:
85
83
You have access to high-performance libraries that can provide significant speedups:
86
84
87
85
• **JAX** - JIT compilation for numerical computations
88
-
Key insight: Functions should be defined outside classes for JIT compatibility
89
-
For jnp.roots(), consider using strip_zeros=False in JIT contexts
90
86
91
87
• **Numba** - Alternative JIT compilation, often simpler to use
92
88
@@ -95,60 +91,7 @@ prompt:
95
91
96
92
• **Vectorization** - Look for opportunities to replace loops with array operations
97
93
98
-
EXPLORATION STRATEGY:
99
-
1. Profile to identify bottlenecks first
100
-
2. Consider multiple optimization approaches for the same problem
101
-
3. Try both library-specific optimizations and algorithmic improvements
102
-
4. Test different numerical libraries to find the best fit
Copy file name to clipboardExpand all lines: examples/algotune/fft_cmplx_scipy_fftpack/config.yaml
+6-64Lines changed: 6 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ llm:
14
14
api_base: "https://openrouter.ai/api/v1"
15
15
models:
16
16
- name: "google/gemini-2.5-flash"
17
-
weight: 1.0
17
+
weight: 0.8
18
+
- name: "google/gemini-2.5-pro"
19
+
weight: 0.2
18
20
19
21
temperature: 0.4# Optimal (better than 0.2, 0.6, 0.8)
20
22
max_tokens: 128000# Increased from 16000 for much richer context
@@ -66,22 +68,16 @@ prompt:
66
68
67
69
This task requires computing the N-dimensional Fast Fourier Transform (FFT) of a complex-valued matrix.
68
70
The FFT is a mathematical technique that converts data from the spatial (or time) domain into the frequency domain, revealing both the magnitude and phase of the frequency components.
69
-
The input is a square matrix of size n×n, where each element is a complex number containing both real and imaginary parts.
71
+
The input is a square matrix of size nxn, where each element is a complex number containing both real and imaginary parts.
70
72
The output is a square matrix of the same size, where each entry is a complex number representing a specific frequency component of the input data, including its amplitude and phase.
71
73
This transformation is crucial in analyzing signals and data with inherent complex properties.
72
74
73
75
Focus on improving the solve method to correctly handle the input format and produce valid solutions efficiently. Your solution will be compared against the reference AlgoTune baseline implementation to measure speedup and correctness.
74
-
75
-
76
-
77
-
78
76
79
77
PERFORMANCE OPTIMIZATION OPPORTUNITIES:
80
78
You have access to high-performance libraries that can provide significant speedups:
81
79
82
80
• **JAX** - JIT compilation for numerical computations
83
-
Key insight: Functions should be defined outside classes for JIT compatibility
84
-
For jnp.roots(), consider using strip_zeros=False in JIT contexts
85
81
86
82
• **Numba** - Alternative JIT compilation, often simpler to use
87
83
@@ -90,61 +86,7 @@ prompt:
90
86
91
87
• **Vectorization** - Look for opportunities to replace loops with array operations
92
88
93
-
EXPLORATION STRATEGY:
94
-
1. Profile to identify bottlenecks first
95
-
2. Consider multiple optimization approaches for the same problem
96
-
3. Try both library-specific optimizations and algorithmic improvements
97
-
4. Test different numerical libraries to find the best fit
0 commit comments