ShannonAI / mrc-for-flat-nested-ner

Code for ACL 2020 paper `A Unified MRC Framework for Named Entity Recognition`
657 stars 117 forks source link

RuntimeError: [enforce fail at CPUAllocator.cpp:56] #14

Open kazalbrur opened 4 years ago

kazalbrur commented 4 years ago

While I am trying to train the on En_Ontonotes5 datasets. At the feature extraction stage i have face the following problem .

RuntimeError: [enforce fail at CPUAllocator.cpp:56] posix_memalign(&data, gAlignment, nbytes) == 0. 12 vs 0Type a message"

NB. I am using Geforce GTX 1080 Ti , 8 GPU server with 12 GB GPU memory for per GPU and 512 GB CPU Memory .

Would you please help me to figure out the problem ?

Thank you.

ghost commented 4 years ago

Please make sure that the Pytorch version is 1.1.0. From my understanding, a RuntimeError is raised after loading train/dev datasets. Please correct me if I'm wrong. And could you please provide more details about your experiments such as train_batch_size, max_sequence_len, and n_gpu?

ghost commented 4 years ago

Please reopen the issue if you have any updates. Many Thanks.