Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
a3e1a15
Update the experiments setup json schema
jhozzova Aug 7, 2024
594a87b
Update experiments.py to work with a new schema
jhozzova Aug 7, 2024
f4fdac7
Update caching.py to work with a new schema
jhozzova Aug 7, 2024
f34a7f0
Add KTT tuning to runner.py
jhozzova Aug 7, 2024
aad790d
Update searchspace_statistics.py to work with a common output json sc…
jhozzova Aug 7, 2024
77289b0
Update visualization scripts regarding new schema
jhozzova Aug 13, 2024
13a8ffc
Fix version number for kernel_tuner in pyproject.toml
jhozzova Aug 14, 2024
a28a240
Add example experiment files for KTT
jhozzova Aug 20, 2024
94c8193
Merge pull request #2 from jhozzova/new_schema_integration
fjwillemsen Aug 20, 2024
6810ede
Update
fjwillemsen Sep 25, 2024
25397e8
Wrote conversion script to new experiments file
fjwillemsen Oct 1, 2024
0ee3bb5
Updated to new experiments schema
fjwillemsen Oct 10, 2024
90c3790
Ensure a usable error is given in the case of an incorrect experiment…
fjwillemsen Oct 10, 2024
e6edebc
Fixed an issue where cachefile patterns weren't recognized, improved …
fjwillemsen Oct 10, 2024
9e0ae03
Several minor improvements
fjwillemsen Oct 10, 2024
4b5f376
Generated T1 input files now have absolute kernel paths
fjwillemsen Oct 11, 2024
05e2e50
Improved warnings, fixed order of tunable parameters
fjwillemsen Oct 11, 2024
30c82c3
Fixed an issue that led to groups being aliased instead of copied
fjwillemsen Oct 11, 2024
ac9ed40
Improved the paths figures are saved to
fjwillemsen Oct 11, 2024
a8d6506
Various minor changes enabling compatibility with the new experiments…
fjwillemsen Oct 11, 2024
64036bb
Silence warnings when tuning, added experiments file for comparing BO
fjwillemsen Oct 11, 2024
92ad96f
Implemented experiments file generation
fjwillemsen Oct 12, 2024
d1b4310
Generate an experiments file using provided values and defaults
fjwillemsen Oct 16, 2024
761f2c9
Will infer display name from strategy name if not specifed
fjwillemsen Oct 22, 2024
7b29cfd
Cutoff percentiles are properly read from new format
fjwillemsen Oct 22, 2024
53b1e70
Simplified validation of experiments file format
fjwillemsen Oct 23, 2024
71f0cbb
Implemented T4 schema validator
fjwillemsen Oct 23, 2024
b9259a1
Implemented conversion of time units based on T4 metadata
fjwillemsen Oct 23, 2024
c647b87
Time unit conversion supports lists
fjwillemsen Oct 23, 2024
69a98af
Generalized several useful Searchspace statistics functions
fjwillemsen Oct 23, 2024
fd8f319
Completed conversion of time based on units
fjwillemsen Oct 23, 2024
1b0ca47
Baseline visualization in absolute plot, disabled automatic conversio…
fjwillemsen Oct 23, 2024
d9bf8bc
Improvement to reporting non-overlapping time range
fjwillemsen Oct 23, 2024
31bd3bb
Revamped plots specification in experiments files
fjwillemsen Oct 25, 2024
ec8cfe7
Fixed milliseconds spelling error
fjwillemsen Oct 26, 2024
5df77f3
Fixed milliseconds spelling error
fjwillemsen Oct 26, 2024
76cf59b
Updated experiments file conversion to new experiments file format
fjwillemsen Oct 26, 2024
9053a0e
Setup mock test in new experiments and T4 format
fjwillemsen Oct 26, 2024
3d0fc66
Converted integration test files to new experiments file format
fjwillemsen Oct 26, 2024
2de6060
Adjusted the tests for execute_experiments in accordance with new int…
fjwillemsen Oct 26, 2024
f774b70
Adjusted integration visualization test to work with new directory st…
fjwillemsen Oct 26, 2024
4936168
Adjusted integration tests to work with new directory structure
fjwillemsen Oct 27, 2024
d4098e6
Formated experiment files for readability
fjwillemsen Oct 27, 2024
7185cb4
Implemented final changes to tests after new interface, schema and di…
fjwillemsen Oct 27, 2024
93ba31c
Deprecated old KTT conversion features while awaiting soon to be rele…
fjwillemsen Oct 27, 2024
f3cc418
Removed old deprecated Kernel Tuner interface as new interface is ful…
fjwillemsen Oct 27, 2024
2317e2b
Setup basis for plotting per search strategy
fjwillemsen Oct 27, 2024
a0aa5cc
Implemented heatmap plotting
fjwillemsen Oct 27, 2024
16ac432
Implemented heatmap plotting for 'applications' and 'gpus' axis types
fjwillemsen Oct 28, 2024
c6a7275
Updated hyperparameter tuning comparison with new heatmap plots
fjwillemsen Oct 28, 2024
0df4097
Extended integration tests to include heatmap plot
fjwillemsen Oct 28, 2024
09470a7
More flexible setup of labels
fjwillemsen Oct 28, 2024
4041963
Extended experiments schema with setting vmin, vmax and bins
fjwillemsen Oct 28, 2024
c90189d
Implemented heatmap plotting for 'time' and 'searchspaces' axis types
fjwillemsen Oct 29, 2024
2e11f59
Extended tests to include time and searchspace heatmaps
fjwillemsen Oct 29, 2024
ea5d0ee
Parametrized test for more accurate reporting
fjwillemsen Oct 29, 2024
bca7137
Recalculated aspect ratio for non-square heatmaps
fjwillemsen Oct 29, 2024
b13879e
Layout of heatmaps and colorbars matches figure size
fjwillemsen Oct 29, 2024
bbd4566
Improvements for more optimal use of space for heatmap plots
fjwillemsen Oct 29, 2024
89c714f
Improved the placement of ticks to ensure the full range is displayed
fjwillemsen Oct 29, 2024
b04657f
Added script for convertion kernel tuner cache files to T4 format
fjwillemsen Oct 29, 2024
2cde8b3
Created a script for extending a Kernel Tuner cachefile parameters by…
fjwillemsen Oct 30, 2024
9fb655e
Minor improvements to cachefile extension script
fjwillemsen Oct 30, 2024
1cb5794
Adjusted minimum number of valid evaluations
fjwillemsen Oct 30, 2024
96380a0
Heatmap colors are now set to fixed points, making visual comparison …
fjwillemsen Oct 30, 2024
c7f96c3
Inverted heatmap axis are now handled correctly
fjwillemsen Oct 30, 2024
6d05e93
Added and updated experiment files for hyperparameter tuning comparison
fjwillemsen Oct 30, 2024
743482e
Added a try-catch system to re-execute experiment caches that did not…
fjwillemsen Nov 2, 2024
81bc092
Changed error type
fjwillemsen Nov 3, 2024
0bcfaf6
Updated comparison of hypertuned algorithms
fjwillemsen Nov 6, 2024
6edcbb5
Extended VMin and colorbar range
fjwillemsen Nov 6, 2024
f0fe17c
Added meta comparison of optimization algorithms for hyperparameter t…
fjwillemsen Nov 7, 2024
9d28395
Implemented support for different objectives and optimization direction
fjwillemsen Nov 7, 2024
ff75788
Comparison of various BO methods
fjwillemsen Nov 20, 2024
ef72b3b
Added comparison of hypertuners for paper
fjwillemsen Mar 5, 2025
5766147
Added automatic conversion of runtimes to measurement if measurement …
fjwillemsen Mar 5, 2025
50a464b
Added GEMM to hypertuning comparison
fjwillemsen Mar 6, 2025
ab937b7
Added benchmark_hub repository as submodule
fjwillemsen Mar 6, 2025
fd709e2
Implemented repository of caches, kernels and experiment files
fjwillemsen Mar 7, 2025
f64f8a2
Updated benchmark_hunb
fjwillemsen Mar 7, 2025
b5e0f7e
Fixed an error with quotes in an f-string
fjwillemsen Mar 7, 2025
31978df
Changed default kernel location
fjwillemsen Mar 7, 2025
11c5bf4
Changed default experiments location
fjwillemsen Mar 7, 2025
27efe35
Adjusted for new paper
fjwillemsen Mar 7, 2025
5960b93
Updated experiments file
fjwillemsen Mar 8, 2025
6079bce
Generate a unique filename for generated experiment files to avoid co…
fjwillemsen Mar 8, 2025
dd02fc8
Added tuned and inverse tuned comparisons of basinhopping, dual_annea…
fjwillemsen Mar 8, 2025
55399b5
Added tuning and inv. tuning of differential evolution and genetic al…
fjwillemsen Mar 9, 2025
384cb21
Added tuning and inv. tuning of PSO
fjwillemsen Mar 10, 2025
8571416
Removed basinhopping and dual annealing
fjwillemsen Mar 10, 2025
c2f1fd7
Removed basinhopping and dual annealing
fjwillemsen Mar 10, 2025
97b73e2
With too few data points, return directly instead off smoothing
fjwillemsen Mar 10, 2025
7093271
Adjusted the cutoff percentile for hyperparameter tunoing
fjwillemsen Mar 10, 2025
6c21d42
Started over with hyperparamtuning, added dual_annealing and MLS tunings
fjwillemsen Mar 10, 2025
6ac3ea5
Updated hypertuner comparison
fjwillemsen Mar 11, 2025
f687932
Added genetic algorithm and simulated annealing tuned params
fjwillemsen Mar 12, 2025
d49967a
Added tuned MLS
fjwillemsen Mar 12, 2025
77f253b
Put dual annealing back in comparison
fjwillemsen Mar 12, 2025
22446c1
Improved time margin calculation
fjwillemsen Mar 13, 2025
0787d7e
Revised and tested benchmark kernels, added Nvidia A6000 bruteforced
fjwillemsen Mar 13, 2025
d4aaa76
Added newly tuned basinhopping
fjwillemsen Mar 13, 2025
d2b3669
Added tuned and inv. tuned for diff_evo, greedy_ils, PSO and simulate…
fjwillemsen Mar 14, 2025
7267df2
Renamed 'inv.' to untuned
fjwillemsen Mar 14, 2025
6fde831
Adjusted the runner to re-run on too many function evaluations
fjwillemsen Mar 14, 2025
fd1cf54
Registered cutoff times in experiments group, adjusted cutoff margin
fjwillemsen Mar 14, 2025
56fad13
Merge branch 'standardization' of https://github.com/fjwillemsen/auto…
fjwillemsen Mar 14, 2025
01aff51
Adjusted time cutoff margin calculation
fjwillemsen Mar 14, 2025
7b01b82
Cut out results that are beyond the cutoff time to detect and re-run …
fjwillemsen Mar 14, 2025
d89098f
Require at least two valid configurations
fjwillemsen Mar 14, 2025
8a4146c
Early check for valid configs without results that are beyond cutoff …
fjwillemsen Mar 14, 2025
5db75a0
Added Genetic Algorithm tuned and untuned
fjwillemsen Mar 14, 2025
6e203f1
Added MLS, removed Basinhopping, Dual Annealing, and Greedy ILS
fjwillemsen Mar 15, 2025
9c6e052
Useful error on loading numpy file exception, increased number of at…
fjwillemsen Mar 15, 2025
0d0a2ce
Remove substrings from label data
fjwillemsen Mar 15, 2025
ea70873
Colorbar limits
fjwillemsen Mar 17, 2025
3b4ba4e
Merge branch 'standardization' of https://github.com/fjwillemsen/auto…
fjwillemsen Mar 17, 2025
53dd034
Added setting colorbar limits
fjwillemsen Mar 17, 2025
b7dcd69
Minor improvements to warnings and removed redundant code
fjwillemsen Mar 17, 2025
f7320d1
Added warning for broken numpy files
fjwillemsen Mar 17, 2025
9c0ca13
Set compare_hypertuners_paper experiments file as in paper
fjwillemsen Mar 18, 2025
74b746f
Added new and improved plotting options for heatmaps
fjwillemsen Mar 18, 2025
1410ac1
Updated benchmark_hub submodule
fjwillemsen Mar 18, 2025
9fc7383
Added experiments file and supporting files for comparing meta-strate…
fjwillemsen Mar 18, 2025
a3f77fc
Improved error reporting and code legibility
fjwillemsen Mar 18, 2025
0eea8e4
Added diff_evo tuning to comparison
fjwillemsen Mar 18, 2025
2b5371c
Created new function in searchsspace_statistics for getting both the …
fjwillemsen Mar 19, 2025
057a3e7
Added new heatmap experiment files, updated main experiment file
fjwillemsen Mar 20, 2025
733f15b
Improved heatmap plotting to support left / right comparison plots
fjwillemsen Mar 20, 2025
7393a14
Raised an error when optimum is in baseline
fjwillemsen Mar 20, 2025
0af8700
Set the colorbar limit defaults to color range limits
fjwillemsen Mar 20, 2025
48465bc
Raise an error on zero division
fjwillemsen Mar 20, 2025
da4eda2
Adjusted path in experiments defaults to make tests work
fjwillemsen Mar 20, 2025
539bbcf
Auto-downscaling of cutoff points that equal 1.0, automatic applicati…
fjwillemsen Mar 20, 2025
b153241
Added diff_evo to metastrategy for hyperparamtuning comparison
fjwillemsen Mar 20, 2025
00bd081
Updated benchmark hub
fjwillemsen Mar 20, 2025
108b822
Merge branch 'standardization' of https://github.com/fjwillemsen/auto…
fjwillemsen Mar 20, 2025
58e0c35
Issue a warning if heatmap data is outside the visible colorbar range
fjwillemsen Mar 20, 2025
62aadb0
Added numpy <2 restriction because of Kernel Tuner
fjwillemsen Mar 20, 2025
fd32d31
Implemented 'minimum_fraction_of_budget_valid' in experiments standard
fjwillemsen Mar 20, 2025
9021c6e
Converted experiment files to updated format
fjwillemsen Mar 20, 2025
1e2b2af
Updated hyperparameters
fjwillemsen Mar 25, 2025
b618005
Improved error message and extended heatmap color range
fjwillemsen Mar 25, 2025
7b8d1eb
Updated dependencies and classifiers
fjwillemsen Mar 25, 2025
b1e60ac
Applied linting to modified codebase
fjwillemsen Mar 25, 2025
8ad08f6
Updated benchmark hub
fjwillemsen Mar 25, 2025
9d3b0d1
Bumped Kernel Tuner version
fjwillemsen Mar 25, 2025
4cd9394
Updated heatmap experiment files with new values
fjwillemsen Mar 26, 2025
071d144
Improved calculation of stopping point
fjwillemsen May 8, 2025
fe8a23c
Improved type error message raised when having inner arrays in cache …
fjwillemsen May 9, 2025
53125bb
Improved W7800 cachefiles
fjwillemsen May 9, 2025
d295126
Added W7800 to experiment files
fjwillemsen May 9, 2025
ceec2f8
Added optional visual limit for aggregate plot, changed figure size
fjwillemsen May 11, 2025
70977d2
Added support for dividing between train and test set
fjwillemsen May 11, 2025
3db28cd
Added drawing a line on heatmap to divide train and test
fjwillemsen May 12, 2025
234b410
Added visual distinction between train and test in heatmaps
fjwillemsen May 12, 2025
059905c
Added labels to visual distinction between test and train, added real…
fjwillemsen May 12, 2025
dd4510f
Improvements to lowest real value minimum in aggregate plot
fjwillemsen May 12, 2025
367a2cf
Removed redundant references to minimization and objective time keys …
fjwillemsen May 12, 2025
6c0bce9
Updated experiments defaults with new benchmark hub data
fjwillemsen May 12, 2025
ebf2875
Created a new interface for reading and writing common input and outp…
fjwillemsen May 12, 2025
06c09ce
Implemented automatic derivation of the optimization objective and di…
fjwillemsen May 12, 2025
9a5ba30
Removed 'minimization'and 'objective_performance_keys' from experimen…
fjwillemsen May 12, 2025
3b34023
Various improvements and fixes related to flexible objective and opti…
fjwillemsen May 12, 2025
2ae7f50
Various major improvements towards independence of optimization key a…
fjwillemsen May 12, 2025
86f67d6
Switched to time-based cutoff point over function evaluations
fjwillemsen May 13, 2025
93114b9
Improved handling of cutoff start time and defaults, improved error r…
fjwillemsen May 13, 2025
a7e786c
Implemented specification of custom labels
fjwillemsen May 14, 2025
487c12b
Slight adjustments to evaluation
fjwillemsen May 15, 2025
2702a54
Moved hyperparameter tuning data to benchmark hub
fjwillemsen May 15, 2025
068b65d
Improved visualization to plot only real values on time axis
fjwillemsen May 15, 2025
1805ddf
Improved handling of labels en ticks
fjwillemsen May 15, 2025
51f93e2
Improved handling of labels en ticks
fjwillemsen May 15, 2025
c4fff3a
Updated hyperparameters of PSO and simulated annealing
fjwillemsen May 16, 2025
e1294d3
Updated hyperparameters of genetic algorithm
fjwillemsen May 18, 2025
2c7fada
Updated hyperparameters of firefly algorithm
fjwillemsen May 19, 2025
54146ed
Minor changes to experiment files
fjwillemsen May 19, 2025
3473f2f
Added median comparison to experiments file
fjwillemsen May 20, 2025
4a103a8
Added mean configurations to experiments file
fjwillemsen May 20, 2025
9fa1e25
Updated hyperparametertuning cachefiles, added firefly
fjwillemsen May 24, 2025
8ff98f9
Changed hypertuning comparison applications
fjwillemsen May 24, 2025
8e1f0d6
Updated names
fjwillemsen May 24, 2025
99ee9ba
Print on adjusted index for real vmin in aggregated plot
fjwillemsen May 24, 2025
cd7277b
Adjusted plot sizes
fjwillemsen Jun 2, 2025
5c16528
Implemented passing custom search method path
fjwillemsen Jun 2, 2025
eac2e22
Added experiments file for comparing constrained to non-constrained s…
fjwillemsen Jun 12, 2025
870dad7
Added pyATF strategies to comparison
fjwillemsen Jun 19, 2025
1039d05
Introduced the 'cap to vmin' argument, allowing values under the heat…
fjwillemsen Jun 24, 2025
04de14b
New, more extensive color mapping and improved capping
fjwillemsen Jun 25, 2025
f73345c
Both sides of heatmaps can now be plotted in one experiments run
fjwillemsen Jun 26, 2025
df49cb1
Experiment files for Constrained Optimization paper are now split int…
fjwillemsen Jun 26, 2025
cb2c114
Improved aggregate figure size to fit y-label
fjwillemsen Jun 26, 2025
cc1195e
Implemented the optional parameter, allowing curves to be returned f…
fjwillemsen Jun 26, 2025
ef94bfb
Implemented head2head comparison data collection for comparing strate…
fjwillemsen Jun 26, 2025
5f63d41
Applied clipping on the index values to avoid out-of-bounds errors
fjwillemsen Jun 27, 2025
273b341
Implemented the plotting of head2head comparisons
fjwillemsen Jun 27, 2025
bc77f62
Implemented proper color mapping and color bar to head2head plot
fjwillemsen Jun 27, 2025
92e5083
Placed head2head labels and ticks on top
fjwillemsen Jun 27, 2025
3abcfee
Implemented objective part of head2head aggregate comparison, improve…
fjwillemsen Jun 27, 2025
fc1b742
Implemented adding means under head2head heatmap, additional improvem…
fjwillemsen Jun 27, 2025
8e3ef1b
Minor improvements to plotting and plot sizes
fjwillemsen Jun 28, 2025
7b6e611
Improvements to the experiment files
fjwillemsen Jun 28, 2025
47e4dcb
Improved handling of NaNs in head2head comparison
fjwillemsen Jun 28, 2025
5cdf40c
In head2head comparison, strategies that never reach the target recei…
fjwillemsen Jun 29, 2025
9cc1ecd
Implemented text annotation options for heatmaps
fjwillemsen Jun 29, 2025
fa9a556
Various minor improvements to plotting
fjwillemsen Jun 29, 2025
41fd57e
Improvement to annotation plotting in heatmaps
fjwillemsen Jun 29, 2025
0c5b8a4
Improvements to font size
fjwillemsen Jun 30, 2025
6a9a50a
Use end time for head2head if not found
fjwillemsen Jun 30, 2025
8c2a4ba
Switched to Numpy 2.0, code changes for compatibility
fjwillemsen Jul 3, 2025
101d283
Applied Ruff formatting
fjwillemsen Jul 3, 2025
c36bf80
Further improvements based on linting
fjwillemsen Jul 3, 2025
3181010
Further improvements based on linting
fjwillemsen Jul 3, 2025
36ad35a
Updated benchmark_hub submodule
fjwillemsen Jul 3, 2025
1cc9cdb
Further specification of linting
fjwillemsen Jul 3, 2025
348e91c
Minor improvements based on tests
fjwillemsen Jul 3, 2025
a0774d4
Adjusted tests to recent changes
fjwillemsen Jul 3, 2025
47e11b4
Adjusted head2head plot generation to be reselient to NaNs
fjwillemsen Jul 3, 2025
8229311
Added head2head plot to tests
fjwillemsen Jul 3, 2025
90d471e
Minor improvements to head2head plots
fjwillemsen Jul 3, 2025
f53955e
Implemented quick and optional full validation of T4 files on loading…
fjwillemsen Jul 18, 2025
6081542
Improved to_valid_array performance
fjwillemsen Jul 18, 2025
c8a1f04
Updated benchmarkhub
fjwillemsen Jul 18, 2025
9312c4c
Improvements to docstrings
fjwillemsen Jul 25, 2025
f78802b
Remove the second color (orange) to avoid confusion with the fourth (…
fjwillemsen Jul 28, 2025
161f093
Implemented color index override for parent strategies
fjwillemsen Aug 7, 2025
b9aac41
Implemented extensive comparison for hyperparameter tuning paper
fjwillemsen Aug 7, 2025
0feecd2
Automatic compression and memory pressure reduction in results collec…
fjwillemsen Aug 9, 2025
c81fd74
Implemented optional printing means of columns and rows of heatmaps
fjwillemsen Aug 19, 2025
43067cf
Experiment files for the upcoming LLaMEA paper with Niki
fjwillemsen Aug 19, 2025
5536c5a
Improved the color index resolution and assertions
fjwillemsen Aug 19, 2025
5543e8a
Updated experiment files for upcoming paper
fjwillemsen Sep 3, 2025
60e9e12
Updated dependency version
fjwillemsen Sep 3, 2025
b86d569
Removed publication-specific experiment files to other repository
fjwillemsen Sep 3, 2025
30e6950
Add note to readme that installing in a virtual environment or with p…
fjwillemsen Sep 3, 2025
f4edf3a
Dropped python3.9 support, ensured python 3.12 and 3.13 are tested th…
fjwillemsen Sep 3, 2025
5e7b92c
Various improvements to linting
fjwillemsen Sep 3, 2025
d167a0d
Merge remote-tracking branch 'origin/main' into standardization
fjwillemsen Sep 3, 2025
3b60e4f
Updated benchmark hub submodule
fjwillemsen Sep 3, 2025
e216cc7
Merge branch 'standardization' of https://github.com/fjwillemsen/auto…
fjwillemsen Sep 3, 2025
0a83604
Updated Kernel Tuner dependency version
fjwillemsen Sep 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
cache: pip

# Publishes to PyPi
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ cached_data_used/kernels/*
cached_data_used/visualizations/*
cached_data_used/last_run/*
cached_data_used/import_runs/*
methodology_paper_evaluation/run/*
hyperparametertuning/*
hyperparametertuning_*/*
test_run_experiment/*

# ignore setup files
*/setup/*_input.json

# exceptions
!cached_data_used/cachefiles/ktt_values_to_kerneltuner.py
!cached_data_used/cachefiles/*.py

# ignore specific experiment files
experiment_files/milo.json
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "benchmark_hub"]
path = benchmark_hub
url = https://github.com/AutoTuningAssociation/benchmark_hub.git
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Currently, the stable releases of this software package are compatible with [Ker
## Installation
The package can be installed with `pip install autotuning_methodology`.
Alternatively, it can be installed by cloning this repository and running `pip install .` in the root of the cloned project.
Python >= 3.9 is supported.
Like most Python packages, installing in a virtual environment or with `pipx` is recommended. Python >= 3.10 is supported.

## Notable features
- Official software by the authors of the methodology-defining paper.
Expand Down
1 change: 1 addition & 0 deletions benchmark_hub
Submodule benchmark_hub added at ff76e2
116 changes: 0 additions & 116 deletions cached_data_used/cachefiles/ktt_values_to_kerneltuner.py

This file was deleted.

2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Getting Started

Start out by installing the package.
The simplest way to do this is ``pip install autotuning_methodology``.
Python 3.9 and up are supported.
Python 3.10 and up are supported.

Defining an experiment
^^^^^^^^^^^^^^^^^^^^^^
Expand Down
72 changes: 72 additions & 0 deletions experiment_files/compare_bo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"version": "1.0.0",
"name": "Methodology paper evaluation",
"parent_folder": "./methodology_paper_evaluation",
"experimental_groups_defaults": {
"applications": [
{
"name": "convolution",
"folder": "./cached_data_used/kernels",
"input_file": "convolution.json"
},
{
"name": "pnpoly",
"folder": "./cached_data_used/kernels",
"input_file": "pnpoly.json"
}
],
"gpus": [
"RTX_3090",
"RTX_2080_Ti"
],
"pattern_for_full_search_space_filenames": {
"regex": "./cached_data_used/cachefiles/${applications}/${gpus}_T4.json"
},
"stochastic": true,
"repeats": 100,
"samples": 32,
"minimum_number_of_valid_search_iterations": 20,
"ignore_cache": false
},
"search_strategies": [
{
"name": "bayes_opt_og",
"search_method": "bayes_opt",
"display_name": "Bayesian Optimization",
"autotuner": "KernelTuner"
},
{
"name": "dual_annealing",
"search_method": "dual_annealing",
"display_name": "Dual Annealing",
"autotuner": "KernelTuner"
}
],
"statistics_settings": {
"minimization": true,
"cutoff_percentile": 0.96,
"cutoff_percentile_start": 0.5,
"cutoff_type": "fevals",
"objective_time_keys": [
"all"
],
"objective_performance_keys": [
"time"
]
},
"visualization_settings": {
"x_axis_value_types": [
"fevals",
"time",
"aggregated"
],
"y_axis_value_types": [
"normalized",
"baseline"
],
"resolution": 1000.0,
"confidence_level": 0.95,
"compare_baselines": false,
"compare_split_times": false
}
}
132 changes: 132 additions & 0 deletions experiment_files/compare_simple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"version": "1.2.0",
"name": "Compare constrained strategies pyATF vs KT",
"parent_folder": "/var/scratch/fjwillem/constrained_optimization",
"experimental_groups_defaults": {
"applications": [
{
"name": "dedispersion_milo",
"folder": "../autotuning_methodology/benchmark_hub/kernels",
"input_file": "dedispersion_milo.json",
"objective_performance_keys": [
"time"
]
}
],
"gpus": [
"A100",
"A4000"
],
"pattern_for_full_search_space_filenames": {
"regex": "./benchmark_hub/cachefiles/${applications}/${gpus}_T4.json"
},
"stochastic": true,
"repeats": 100,
"samples": 32,
"minimum_fraction_of_budget_valid": 0.1,
"minimum_number_of_valid_search_iterations": 10,
"ignore_cache": false
},
"search_strategies": [
{
"name": "genetic_algorithm_constrained",
"search_method": "genetic_algorithm",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": true
}
],
"display_name": "KT GA constrained",
"autotuner": "KernelTuner"
},
{
"name": "genetic_algorithm_non_constrained",
"search_method": "genetic_algorithm",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": false
}
],
"display_name": "KT GA non-constrained",
"autotuner": "KernelTuner",
"color_parent": "genetic_algorithm_constrained"
},
{
"name": "pso_constrained",
"search_method": "pso",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": true
}
],
"display_name": "KT PSO constrained",
"autotuner": "KernelTuner"
},
{
"name": "pso_non_constrained",
"search_method": "pso",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": false
}
],
"display_name": "KT PSO non-constrained",
"autotuner": "KernelTuner",
"color_parent": "pso_constrained"
},
{
"name": "simulated_annealing_constrained",
"search_method": "simulated_annealing",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": true
}
],
"display_name": "KT SA constrained",
"autotuner": "KernelTuner"
},
{
"name": "simulated_annealing_non_constrained",
"search_method": "simulated_annealing",
"search_method_hyperparameters": [
{
"name": "constraint_aware",
"value": false
}
],
"display_name": "KT SA non-constrained",
"autotuner": "KernelTuner",
"color_parent": "simulated_annealing_constrained"
}
],
"statistics_settings": {
"cutoff_percentile": 0.95,
"cutoff_percentile_start": 0.01,
"cutoff_type": "time",
"objective_time_keys": [
"all"
]
},
"visualization_settings": {
"plots": [
{
"scope": "aggregate",
"style": "head2head",
"comparison": {
"unit": "time",
"relative_time": 0.5
},
"annotate": true
}
],
"resolution": 1000.0,
"confidence_level": 0.95,
"compare_baselines": false,
"compare_split_times": false
}
}
Loading