Giter Club home page Giter Club logo

Comments (7)

bouthilx avatar bouthilx commented on June 24, 2024 2

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.

eddiebergman avatar eddiebergman commented on June 24, 2024

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.

bouthilx avatar bouthilx commented on June 24, 2024

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.

eddiebergman avatar eddiebergman commented on June 24, 2024

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.

Neeratyoy avatar Neeratyoy commented on June 24, 2024

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.

bouthilx avatar bouthilx commented on June 24, 2024

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.

Neeratyoy avatar Neeratyoy commented on June 24, 2024

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 (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.