skeskinen / bert.cpp

ggml implementation of BERT
MIT License
464 stars 58 forks source link

throwing the error while running the model #27

Open Jasheenshaik opened 1 year ago

Jasheenshaik commented 1 year ago

Hi i have been implementing the bert cpp but i am facing the following error OSError: dlopen(examples/../build/libbert.so, 0x0006): tried: 'examples/../build/libbert.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OSexamples/../build/libbert.so' (no such file), '/usr/lib/examples/../build/libbert.so' (no such file, not in dyld cache), 'examples/../build/libbert.so' (no such file), '/Users/compl-558jasheen/Downloads/bert.cpp-master/build/libbert.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/compl-558jasheen/Downloads/bert.cpp-master/build/libbert.so' (no such file), '/Users/compl-558jasheen/Downloads/bert.cpp-master/build/libbert.so' (no such file) Exception ignored in: <function BertModel.del at 0x7f95006a8b80> Traceback (most recent call last): File "examples/sample_dylib.py", line 40, in del self.lib.bert_free(self.ctx) AttributeError: 'BertModel' object has no attribute 'lib'

From the error i can understand that the file is missing i have done same procedure for installing the bert.cpp as mention can you please help me .

Thanks Jasheen shaik

joyyang1215 commented 2 months ago

same issue