-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Nemo and xgboost integration #103
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
I think we should squash the commits a bit so it's cleaner going forward what is going on this branch. I rebased as follows:
After above rebase the develop commit "d82ebef" appears cleanly before all the other commits. I look at the log and take the commit right after
The SHA for me after
And one more rebase to change the commit message.
This is what commit history will look like after above steps:
In my fork it looks like this: https://github.com/avolkov1/gQuant/commits/branch-nemo |
6168fb1
to
5d11293
Compare
This reverts commit d71820f.
Fixup tree inference Add dask compute node.
[REVIEW] Branch nemo handle dlyproc.
Avoid NeMo specific code within gQuant code base. Enhance the gQuant modules extensibility by supporting python packages as modules.
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.
Please refer to comments so far. I created a PR (yidong72#2) to refactor gquant nodes for nemo into a python package module. Please take a look and test.
I left a few comments regarding cleaning up the usage of _PortTypesMixin
. If it's not needed don't use it.
I'm still reviewing. I haven't looked at all the files yet.
Refactor NeMo gQuant nodes into a gquant plugin module.
In my latest commit, I address your comments. I change the UI a bit to add the log console button in the toolbar. Fixed the result tab size issue. |
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.
A few minor notes and comments. Let's resolve these or take note to fix in the future, and I'll merge.
done the changes. |
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.
One more change to fix spurious warning about ignoring delayed_process setting when delayed processing is not applicable.
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.
Looks great.
I forgot about the text in "10_nemo_chatbot.ipynb". The example for loading nemo modules in gquant there says
from gquant.plugin_nodes.nemo_util.nemoBaseNode import NeMoBase
import nemo
import nemo.backends.pytorch.tutorials
class EncoderRNNNode(NeMoBase):
def init(self):
super().init(nemo.backends.pytorch.tutorials.chatbot.modules.EncoderRNN)
. . .
nemo.asr= %(MODULEPATH)s/asr.py
nemo.common= %(MODULEPATH)s/common.py
nemo.cv= %(MODULEPATH)s/cv.py
nemo.nlp= %(MODULEPATH)s/nlp.py
nemo.simple_gan= %(MODULEPATH)s/simple_gan.py
nemo.tts= %(MODULEPATH)s/tts.py
nemo.tutorials= %(MODULEPATH)s/tutorials.py
Needs to be updated to:
from gquant.dataframe_flow import Node
# within <>/modules/nemo_gquant_modules
from .nemoBaseNode import NeMoBase
import nemo
import nemo.backends.pytorch.tutorials
class EncoderRNNNode(NeMoBase, Node):
def init(self):
NeMoBase.init(self, nemo.backends.pytorch.tutorials.chatbot.modules.EncoderRNN)
. . .
# gquantrc file
nemo_modules= %(MODULEPATH)s/nemo_gquant_modules
Functionally everything worked great. I'll merge this and we can fix up the notebook in another PR.
Thanks.
Create the inital PR to start the revew process. I still need to update the notebook text to make it ready