Comments (7)
We recently did that! :D
Awesome, I didn't know!
That does look like the best workaround for now. Once 3.7 support is dropped for Orion, DEHB should be a standard dependency that can pip be installed I hope! In that case, I think it is okay to close the issue for now?
Yes, we can close this issue. The only work to do is on our side.
A side note, thanks for including this in Orion! In case you have some DEHB user statistics or any example benchmarking DEHB on Orion and can share them with us, that'd be great! Of course, no compulsion and this request is purely out of curiosity. :)
We don't collect statistics as of now but will likely start doing so in the near future. Happy to share! We also have an integration with BOHB (from HpBandster). I recently noticed it is not maintained anymore unfortunately. I see there is interested work being done on SMAC3 that would make it easier to integrate it with Oríon, which could be used instead of HpBandster for BOHB: automl/SMAC3#859. Looking forward to making them work together too. :)
We are looking into HPOBench to benchmark our algorithms and wrappers (including DEHB). Happy to share results when we have our benchmark integration ready. :)
from dehb.
Hi @bouthilx,
I'm not sure for the exact reason that DEHB doesn't support python 3.7 but you should upgrade in the near future. Numpy, scipy, scikit-learn and the general python machine learning stack has started dropping support for 3.7.
Best,
Eddie
from dehb.
Hi @eddiebergman,
We do support 3.8 and 3.9 (ref) as well but hoped we could support 3.7 a little further. I just saw that numpy dropped support for 3.7, did not know that many other libraries too. That's a compelling argument. 😅 By the way, this request was not for a specific user (me) but rather for our integration of DEHB in the library Oríon.
Thanks!
Xavier
from dehb.
Oh if that's the case then I would basically advocate to drop python 3.7 and encourage users to upgrade, it reaches end of life next year while numpy already reached there.
from dehb.
Hello @bouthilx
Would it be possible to change the python dependency to '>=3.7' or some changes would be required to DEHB's code?
As you can see we don't have test cases to handle this case explicitly and the python version check quite likely comes from the base python DEHB was developed on (and therefore tested). I am not sure if anything will break. The single-worker DEHB version should run fine actually. However, the distributed Dask setting might throw issues owing to dependency checks with Dask.
Do you think there's a way to address this without necessarily pushing a new pip version with a downgraded python dependency? Could Orion work off a branch which I could create with the min dependency set to 3.7
?
from dehb.
Thank you both for your help. I verified ubuntu's default python version as a reference and 3.8 is supported since 20.04, which includes 2 LTS versions (20.04 and 22.04). This sounds reasonable as a base version. We are having issues supporting 3.10 but that is not related to DEHB (weird conda packaging issue: Epistimio/orion#690). Supporting 3.8 and 3.9 only feels a bit constraining.
I created a fork of DEHB for now with support for 3.7 (https://github.com/bouthilx/DEHB) but that's far from ideal. We'll point back to main DEHB repo as soon as we drop support for 3.7.
Do you have plans to upload DEHB on PyPI?
from dehb.
Do you have plans to upload DEHB on PyPI?
We recently did that! :D
I created a fork of DEHB for now with support for 3.7
That does look like the best workaround for now. Once 3.7 support is dropped for Orion, DEHB should be a standard dependency that can pip be installed I hope! In that case, I think it is okay to close the issue for now?
A side note, thanks for including this in Orion! In case you have some DEHB user statistics or any example benchmarking DEHB on Orion and can share them with us, that'd be great! Of course, no compulsion and this request is purely out of curiosity. :)
from dehb.
Related Issues (20)
- Continuously develop unit tests
- Keep active brackets in a dictionary HOT 1
- Implement ask-and-tell interface for DEHB HOT 1
- Use of deprecated np.int in dimension type checking HOT 3
- [Bug] `isinstance(self, Client)` will never be `True` HOT 6
- Configuration and budgets in each brackets HOT 6
- Using Dask ```Client``` as context manager
- No support for Constant type in vector_to_configspace() and configspace_to_vector() HOT 3
- Update CHANGELOG with the historic releases
- Updating and populating the documentation
- Implement versioning for documentation HOT 1
- Introduce IDs for evaluated configurations HOT 2
- Continuing configuration evolution when run budget is exhausted. HOT 2
- Implement parallel DE
- [Bug] Seeding is not applied to configspace HOT 3
- Is there any way to hide non-critical logs to stdout? HOT 8
- ERROR - Failed to communicate with scheduler during heartbeat. followed by TimeoutError: No valid workers found HOT 2
- Test backward compatibility with NumPy2.0 HOT 4
- Ask & Tell for DE
- Update numpy dependency as soon as ConfigSpace works with numpy 2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dehb.