From 041dd80302b33f40857a4eb722c8630553c8be0f Mon Sep 17 00:00:00 2001 From: Pietro Palombini Date: Sun, 31 May 2026 08:44:55 -0300 Subject: [PATCH] Bump SMAC sampler dependency to 2.4.0 --- package/samplers/smac_sampler/README.md | 6 +++--- package/samplers/smac_sampler/requirements.txt | 2 +- package/samplers/smac_sampler/sampler.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/samplers/smac_sampler/README.md b/package/samplers/smac_sampler/README.md index 24544d68..1157095d 100644 --- a/package/samplers/smac_sampler/README.md +++ b/package/samplers/smac_sampler/README.md @@ -3,16 +3,16 @@ author: Difan Deng title: SMAC3 description: SMAC offers a robust and flexible framework for Bayesian Optimization to support users in determining well-performing hyperparameter configurations for their (Machine Learning) algorithms, datasets and applications at hand. The main core consists of Bayesian Optimization in combination with an aggressive racing mechanism to efficiently decide which of two configurations performs better. tags: [sampler, Bayesian optimization, Gaussian process, Random Forest] -optuna_versions: [3.6.1] +optuna_versions: [4.8.0] license: MIT License --- ## APIs -A sampler that uses SMAC3 v2.2.0 verified by unittests that can be run by the following: +A sampler that uses SMAC3 v2.4.0 verified by unittests that can be run by the following: ```shell -$ pip install pytest optunahub smac +$ pip install pytest -r package/samplers/smac_sampler/requirements.txt $ python -m pytest package/samplers/smac_sampler/tests/ ``` diff --git a/package/samplers/smac_sampler/requirements.txt b/package/samplers/smac_sampler/requirements.txt index 4dd49382..93b37957 100644 --- a/package/samplers/smac_sampler/requirements.txt +++ b/package/samplers/smac_sampler/requirements.txt @@ -1,3 +1,3 @@ optuna optunahub -smac==2.2.0 \ No newline at end of file +smac==2.4.0 diff --git a/package/samplers/smac_sampler/sampler.py b/package/samplers/smac_sampler/sampler.py index 566119c0..99e9f989 100644 --- a/package/samplers/smac_sampler/sampler.py +++ b/package/samplers/smac_sampler/sampler.py @@ -42,7 +42,7 @@ class SMACSampler(optunahub.samplers.SimpleBaseSampler): """ - A sampler that uses SMAC3 v2.2.0. + A sampler that uses SMAC3 v2.4.0. Please check the API reference for more details: https://automl.github.io/SMAC3/main/5_api.html