parallelformers icon indicating copy to clipboard operation
parallelformers copied to clipboard

RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'

Open samarthsarin opened this issue 2 years ago • 2 comments

I am trying to use Roberta NER and BERT NER uncased but for both of the models I am getting the following issues. Is it something which is still under development or anything wrong from my side?

Error: RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'

samarthsarin avatar Jul 13 '22 08:07 samarthsarin

Hi. please let me know the code you used.

hyunwoongko avatar Jul 13 '22 10:07 hyunwoongko

normally, that error occurs when you use LayerNorm layer on CPU.

hyunwoongko avatar Jul 13 '22 10:07 hyunwoongko