-
Notifications
You must be signed in to change notification settings - Fork 31
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
Kconfig #71
base: master
Are you sure you want to change the base?
Kconfig #71
Conversation
Nice! Looks good to me. Slightly related to this, I think we need to discuss which configuration parameters we expect. For example, I see that currently you have the operators, versions, attribute types tensor types. Regarding the versions, we have something like this (I used some random numbers):
So this means that it would be possible to have in the same build operators from different versions. One of the problems that I see is that a different operator version, can imply also a different schema version. So we have to also control that the model is read with the correct schema .pb version. Not a problem, but just bringing it up. I'm wondering if it makes sense to have that much flexibility. I mean, I think the input to Kconfig could be something simpler like the opset version and the specific operators. No need to specify the version per operator. I know you want cONNXr as flexible as possible, but does it really make sense to have in the same build 3 operator from opset X, 7 from opset Y and 13 from opset Z? I think the user should be able to say: I want full opset 10, or I want operators X,Y,Z from opset 13. But don't allow to have weird mixes, that from my point of view doesn't makes sense on a practical level. Side question: Is it possible to have in the same model operators from different versions? I would say no, because in the |
@alrevuelta |
d8f6007
to
3b87255
Compare
@alrevuelta |
this is just a demo to evaluate if kconfig would be feasible as build system configuration.
pip install kconfiglib
)menuconfig
to configure the build.config
filegenconfig
to generate the configuration headerconfig.h
why kconfig?