You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NeMo uses the deprecated pkg_resources component of setuptools in the Megatron GPT model. As of yesterday's v70.0.0 release of Setuptools, this change
removes packaging from being imported by pkg_resouces and results in the above ImportError
Steps/Code to reproduce bug
install setuptools v70.0.0
install NeMo 1.23
Attempt to import nemo.collections.nlp.models.language_modeling import MegatronGPTPromptLearningModel
Expected behavior
Model to import with no ImportError
Environment overview (please complete the following information)
Describe the bug
NeMo uses the deprecated pkg_resources component of setuptools in the Megatron GPT model. As of yesterday's v70.0.0 release of Setuptools, this change
removes packaging from being imported by pkg_resouces and results in the above ImportError
Steps/Code to reproduce bug
Expected behavior
Model to import with no ImportError
Environment overview (please complete the following information)
Environment details
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
The text was updated successfully, but these errors were encountered: