-
Notifications
You must be signed in to change notification settings - Fork 481
Description
/kind discussion
The final commitment of Chocolate was 4 years ago and the community seems to be inactive. So the framework can not work on Python 3.10 since some Python standard libraries are not working on Python 3.10 as shown below:
../../../../../opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/chocolate/conditional/thompson.py:1
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/chocolate/conditional/thompson.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Sequence
../../../../../opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/chocolate/base.py:1
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/chocolate/base.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping, Sequence
IMO, we have the following 3 options to resolve an issue:
- Remove Chocolate Suggestion Service from katib between 1 and 2 releases.
- Continue to use Python 3.9 only for the Chocolate Suggestion Service.
- Fork or hold the Chocolate repository and then maintain the framework by katib community.
I would like to choose the first option since we can provide major Chocolate search algorithms by using other frameworks in the following after we remove that framework:
- Grid Search -> Optuna
- Random Search -> Hyperopt, Goptuna or Optuna
- Bayesian optimization -> Scikit-Optimize
- QuasiRandom -> None (We are not providing this by default)
- MOCMAES -> None (We are not providing this by default)
@kubeflow/wg-automl-leads @anencore94 wdyt?
TODO for removing Chocolate Suggestion Service:
- Support grid search algorithm in Optuna Suggestion Service. (Support for grid search algorithm in Optuna Suggestion Service #2060)
- Remove all codes related Chocolate Suggestion Service. (Remove Chocolate Suggestion Service #2071)
- Update kubeflow documentation. ([Katib] Update documentation for suggestion algorithms website#3418)
Love this feature? Give it a 👍 We prioritize the features with the most 👍