-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[WIP] 3482 Develop components for the model package MVP #3593
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
Conversation
* [DLMED] add ConfigParser Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add more doc-string Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add unit tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix CI error Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix test error Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] skip for windows Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix windows test Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
for more information, see https://pre-commit.ci
Signed-off-by: Nic Ma <nma@nvidia.com>
for more information, see https://pre-commit.ci
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
|
/build |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
|
/build |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
|
/build |
|
/build |
Signed-off-by: Nic Ma <nma@nvidia.com>
for more information, see https://pre-commit.ci
|
The config parsing code looks good to me, submitting that separately to be integrated now separate from the other concepts here would work. |
Hi @ericspod , Thanks for your review. Thanks in advance. |
|
Hi @ericspod , BTW, do you know any other solutions in other projects that parse / construct python instances from JSON / YAML config? Thanks in advance. |
These solutions are about creating new types or objects without classes from JSON. What I think we need is just a way to instantiate existing classes based on a name to find the right class and the values for constructor arguments given as JSON. Given a schema like {
"object_type" : "foo.bar.baz",
"arguments" : {
"arg1":1,
"arg2":[0,1,2]
}
}This would be interpreted as creating a new object of type |
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
386a64b to
01fdf0a
Compare
|
closing this one as the major part is now merged into dev, the others are tracked here #3482 |
Fixes #3482 .
Description
Develop the complete prototype of model package in this branch as @wyli suggested: #3518 (comment).
Then split into smaller PRs for review.
Status
Work in progress
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.