RuntimeError: [enforce fail at alloc_cpu.cpp:114] data. DefaultCPUAllocator: not enough memory: you tried to allocate 33507323568 bytes.
Closed this issue · 1 comments
Godly-GM commented
guenthermi commented
It looks like your machine doesn't have enough memory to encode very long sequences of text. You could use the long late chunking method, which is implemented in the _embed_with_overlap
method (
long_late_chunking_embed_size
in the function) property to circumvent this issue.