BERT-QnA-Squad_2.0_Finetuned_Model icon indicating copy to clipboard operation
BERT-QnA-Squad_2.0_Finetuned_Model copied to clipboard

how to cancel the installation of apex?

Open LouZhiX opened this issue 5 years ago • 2 comments

if your computer can't get online, your project couldn't work. image

LouZhiX avatar Mar 27 '19 02:03 LouZhiX

Here apex is not installed. This error pops out from the modelling.py file of pytorch-pretrained-BERT code. "try: from apex.normalization.fused_layer_norm import FusedLayerNorm as BertLayerNorm except ImportError: logger.info("Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex .")". Apex is used for parallel processing. My code uses pytorch-pretrained-BERT which is throwing this warning. Hope, it resolves your issue.

surbhardwaj avatar Mar 27 '19 07:03 surbhardwaj

Thanks

LouZhiX avatar Mar 27 '19 07:03 LouZhiX