-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Neural Modules Configuration stage 2: config import-export #339
Conversation
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
…ig file is compatible during import Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 1 alert when merging d322c8b into 4f299f4 - view on LGTM.com new alerts:
|
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 1 alert when merging bf1729e into 142bed9 - view on LGTM.com new alerts:
|
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: nvidia <[email protected]>
looks good to me, what's up with CI though? |
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 6 alerts when merging dfc204d into abaac1b - view on LGTM.com new alerts:
|
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 2 alerts when merging 1d87187 into abaac1b - view on LGTM.com new alerts:
|
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 2 alerts when merging bedb48a into abaac1b - view on LGTM.com new alerts:
|
Signed-off-by: Tomasz Kornuta <[email protected]>
This pull request introduces 2 alerts when merging c87d2e2 into abaac1b - view on LGTM.com new alerts:
|
@@ -0,0 +1,141 @@ | |||
# ! /usr/bin/python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you rename this file? you are not testing Neural Module export, you are testing configuration export
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually you are right, was thinking about that when renamed examples/tutorial
@@ -0,0 +1,114 @@ | |||
# ! /usr/bin/python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rename this file too? again configuration import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, creating a separate PR
Functionality implemented in this PR:
The import distinguishes two cases: when importing from the root NeuralModule class and from the leaf neural module.
This PR have also "initializes" the module/config/checkpoint versioning. For now I am saving in config the only available information, i.e. version of the NeMo core plus collection name (collections do not have their own versioning, yet). I am also not performing any version checking during import. Generally I think this issue should be discussed in a separate "Problem brainstorming session".
Additionally, this PR cleans up: