GithubHelp home page GithubHelp logo

Failure handling about hpbandster HOT 2 OPEN

automl avatar automl commented on August 14, 2024 1
Failure handling

from hpbandster.

Comments (2)

sfalkner avatar sfalkner commented on August 14, 2024

Hey Tonmoy,
sorry for the delay.
I am not sure what kinds of exceptions you want to handle. You can always put a try-except statement into your worker's compute method and repeat the computation yourself.
Catching network connectivity errors and retrying is a bit more tricky. Do you see those a lot, because I have not experiences those ever, but AFAIK, you run really long jobs, right?

from hpbandster.

guysmoilov avatar guysmoilov commented on August 14, 2024

@sfalkner I would like to use BOHB for long running training jobs as well, on preemptible instances. I can't imagine that all workers will survive the whole optimization process. It would definitely be important to retry failed configurations at least a couple of times, and the high-budget jobs are especially likely to fail at some point due to longer running times.
Come to think of it, the way to handle this best would probably be to have the Worker save periodic checkpoints to cloud storage, and be able to re-create the Worker if it fails and resume from that checkpoint, until it completes its allotted budget successfully.
Of course, this means that TCP socket connectivity is NOT the way to find out that a Worker is permanently dead - you have to handle the situation where the same job is now resumed by a new Worker instance. So instead of sockets, it should be persistent event queues or DB entries or something.
In effect, I guess this means getting rid of the NameServer as it is now and replacing it with a persistent cloud data structure to represent current state, which can be written and read by Workers and the Master.

from hpbandster.

Related Issues (20)

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.