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
Importing the transformer_engine.common.utils resets the warning filters to default settings using warnings.simplefilter('default') in the global scope. This results in the console being flooded with DeprecationWarnings, which are normally ignored by Python by default.
Would it be possible to move setting the warning filter config to a more controlled scope in this module?
TransformerEngine/transformer_engine/common/utils.py
Line 9 in f85553e
Importing the
transformer_engine.common.utilsresets the warning filters to default settings usingwarnings.simplefilter('default')in the global scope. This results in the console being flooded with DeprecationWarnings, which are normally ignored by Python by default.Would it be possible to move setting the warning filter config to a more controlled scope in this module?