Large model can't get initialize ( memoryview is too large) #12589
-
While trying to load a custom model, I'm guetting the ValueError: memoryview is too large Is there a way to overcome this issue? or even better, to compress my language model? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
So msgpack does have a hard-coded 2GB filesize limit for an individual file. I think the main place this could come up in practice is with a large transformer model. What components do you have in your pipeline (in particular, I'd be surprised if any of the files in the |
Beta Was this translation helpful? Give feedback.
-
i first converted the vectors with spacy init vectors, then i'm loading the model from disk with spacy.load the markdown return:
the file size of model/vocab/vectors is 9GB, I wouln't know how to prune it wisely |
Beta Was this translation helpful? Give feedback.
-
I have executed the --prune init command and am waiting for the task to be completed, here's the error for the initialize command:
|
Beta Was this translation helpful? Give feedback.
This has been updated in #12607, to be released in v3.5.3.