-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding ONNXmutable to the General registry #46
Comments
Haha, yes I sure have and I think I will do it, especially now when a non-zero number of users have asked for it :) What has been holding me back is mainly #14 as I'm not fully happy with forcing dependencies to NaiveNASflux (which has heavy dependencies like JuMP) to people who just want to export their models. Since there is some movement in the ML ecosystem community to create a better and more flexible ONNX system I might scrap the idea of #14 and just work towards extracting functionality out of ONNXmutable into libraries which it can depend on. This leaves me with the second problem that the name ONNXmutable kinda sucks. Once it is in the general registry its no longer possible to change the name, only create a new package. The two main reasons why I haven't gotten around to change it is 1) I can't think of another name and 2) I'm not sure exactly how to do so without screwing over people who use the package. Anyways, I'll try to resolve this soon, possibly just accepting that the name is bad and make a release. Thanks again for showing interest and good luck with MIPVerify. It looks very cool!
Nothing to worry about. This package does not depend on ONNX which is kinda outdated and scheduled for a revamp with a completely different scope |
I think it would definitely be helpful to split ONNXmutable into libraries with different functionality, but it would take some thought about how to design things properly. As I understand it, your library includes:
Perhaps the three could be organized in something like I think JuMP may provide a good model for this, with a base of MathProgBase / MathOptInterface, a higher level interface of JuMP, and individual interfaces for each solver (Cbc, GLPK, Gurobi...). Here are the rough parallels I see
I agree with this because it doesn't really summarize all the things the package does ("oh yeah, download ONNXMutable to import your graph!") but splitting the packages might help with that. |
I wrote a long essay about how I think one could structure things here: FluxML/FluxML-Community-Call-Minutes#10 Things holding me back is basically just getting the energy/motivation to do so (contrary to what it might seem like, I don't love working with ONNX :) ) as well as creating a single person ONNX ecosystem that noone but me will understand how to use. I think JuMP was designed by a somewhat large group of people with stakes in the ecosystem and despite what everyone says about design by comitte it does have the big advantage that when the stuff materializes there is a large enough group of people who knows how the parts shall fit together. If I/we go for something like in the link, I think this package can stay as is, just that most functionality is handled by dependencies. Mutable is there because the thing that makes CompGraph unique is the JuMP backed mutation capabilities, meaning it is very easy to modify the graph. Maybe I should just do what all the internet entrepreneurs do and give it a short sassy nonsensical name, maybe |
Thanks, this was very helpful.
This is a good point in favor of keeping things as is foir ONNXmutable |
FYI, I have now added ONNXmutable to the general registry under the name ONNXNaiveNASflux. That name might be even worse than ONNXmutable from a marketing pov, but it at least makes it clear that it is a bit of a niche package once/if more canonical ONNX packages materialize. |
I'm planning to use
ONNXmutable
to importonnx
files for use in my own package (https://github.com/vtjeng/MIPVerify.jl), and distribution would be a lot easier if there's a version ofONNXmutable
that my release could be pinned to. Please consider adding ONNXmutable to the General registry!I'm not sure whether this is relevant, but it looks like this might not be straightforward because the current released version of
ONNX
and the most recent commit onONNXmutable
required different versions ofProtoBuf
?The text was updated successfully, but these errors were encountered: