ShannonAI / mrc-for-flat-nested-ner

Code for ACL 2020 paper `A Unified MRC Framework for Named Entity Recognition`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kazalbrur opened this issue · comments

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.

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?

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