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)menuconfigto configure the build.configfilegenconfigto generate the configuration headerconfig.hwhy kconfig?