Re: MXNet and Cython

2018-02-15 Thread Chris Olivier
Speed isn't everything. It's the only thing. :) On Thu, Feb 15, 2018 at 3:52 AM, Pedro Larroy wrote: > I don't know about the speed, and it shouldn't be the only criteria to > do things. My main question is: Why Cython instead of C++, is there > data or a

Re: MXNet and Cython

2018-02-15 Thread Pedro Larroy
I don't know about the speed, and it shouldn't be the only criteria to do things. My main question is: Why Cython instead of C++, is there data or a prototype that would show light into what is the best decision here? Regarding the bindings, as with boost::python seems it's a very thin wrapper

Re: MXNet and Cython

2018-02-14 Thread Chris Olivier
*I don't see in pybind11 that it's claiming to be especially performant, only that it's convenient in passing data back and forth.* *Is it claimed somewhere that it is especially fast?* On Wed, Feb 14, 2018 at 10:45 AM, Pedro Larroy wrote: > Why Cython and not

Re: MXNet and Cython

2018-02-14 Thread Pedro Larroy
Why Cython and not just C++ with simple python bindings like https://github.com/pybind/pybind11 ? What's the motivation? Have we considered the trade offs between maintainability, speed and tooling? Also this Cython code is not going to be portable as it would be in C++, and has some learning

MXNet and Cython

2018-02-12 Thread Chris Olivier
Hi all, I am starting to look into converting some of the python code to Cython. Any comments, suggestions, past experiences, are welcome. Can reply to this thread, or I have an editable document here:

[jira] [Updated] (MXNET-6) Cython Refactoring

2018-02-05 Thread Chris Olivier (JIRA)
[ https://issues.apache.org/jira/browse/MXNET-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Olivier updated MXNET-6: -- Epic Name: Cython Refactoring > Cython Refactoring > -- > >

[jira] [Updated] (MXNET-6) Cython Refactoring

2018-02-05 Thread Chris Olivier (JIRA)
[ https://issues.apache.org/jira/browse/MXNET-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Olivier updated MXNET-6: -- Issue Type: Epic (was: Improvement) > Cython Refactoring > -- > >

[jira] [Updated] (MXNET-6) Cython Refactoring

2018-02-05 Thread Chris Olivier (JIRA)
[ https://issues.apache.org/jira/browse/MXNET-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Olivier updated MXNET-6: -- Labels: cython performance (was: ) > Cython Refactoring > -- > >

[jira] [Created] (MXNET-6) Cython Refactoring

2018-02-05 Thread Chris Olivier (JIRA)
Chris Olivier created MXNET-6: - Summary: Cython Refactoring Key: MXNET-6 URL: https://issues.apache.org/jira/browse/MXNET-6 Project: Apache MXNet Issue Type: Improvement Reporter