Re: mxnet ctrl-c
That would be great. Thanks Chris! On Mon, Sep 23, 2019 at 12:11 PM Chris Olivier wrote: > thanks for the response. i trying to write to a “gpu” (sort of) with mxnet > and sometimes takes a long time and having no way to interrupt it > gracefully is “bad”. I will try to experiment with chaining back to the > python through normal signal channels. if i can get it to work i’ll post a > PR. > > On Mon, Sep 23, 2019 at 12:00 PM Anirudh Subramanian < > anirudh2...@gmail.com> > wrote: > > > Currently I don't see any special handling in the code base for this. We > > have atexit.register which invokes MXInvokeShutdown from python but that > > doesnt work for signals. > > > > Anirudh > > > > On Sun, Sep 22, 2019 at 7:30 PM Chris Olivier > > wrote: > > > > > question: how does gluon handle ctrl-c during a “long” imperative > > operation > > > where the GLI hasn’t been released yet? is it supposed to be caught in > > c++ > > > or python or no special handling for it at the moment? > > > > > >
Re: mxnet ctrl-c
thanks for the response. i trying to write to a “gpu” (sort of) with mxnet and sometimes takes a long time and having no way to interrupt it gracefully is “bad”. I will try to experiment with chaining back to the python through normal signal channels. if i can get it to work i’ll post a PR. On Mon, Sep 23, 2019 at 12:00 PM Anirudh Subramanian wrote: > Currently I don't see any special handling in the code base for this. We > have atexit.register which invokes MXInvokeShutdown from python but that > doesnt work for signals. > > Anirudh > > On Sun, Sep 22, 2019 at 7:30 PM Chris Olivier > wrote: > > > question: how does gluon handle ctrl-c during a “long” imperative > operation > > where the GLI hasn’t been released yet? is it supposed to be caught in > c++ > > or python or no special handling for it at the moment? > > >
Re: mxnet ctrl-c
Currently I don't see any special handling in the code base for this. We have atexit.register which invokes MXInvokeShutdown from python but that doesnt work for signals. Anirudh On Sun, Sep 22, 2019 at 7:30 PM Chris Olivier wrote: > question: how does gluon handle ctrl-c during a “long” imperative operation > where the GLI hasn’t been released yet? is it supposed to be caught in c++ > or python or no special handling for it at the moment? >
mxnet ctrl-c
question: how does gluon handle ctrl-c during a “long” imperative operation where the GLI hasn’t been released yet? is it supposed to be caught in c++ or python or no special handling for it at the moment?