Value Error: buffer source array is read-only #12216
Answered
by
polm
KMayank29
asked this question in
Help: Coding & Implementations
-
I have attached the code snippet and the error I am having. Could you help me why spacy model is throwing the error when sent as ray remote task/actor? |
Beta Was this translation helpful? Give feedback.
Answered by
polm
Feb 2, 2023
Replies: 1 comment 2 replies
-
Please share code or terminal output as text, not as screenshots. I'm not familiar enough with ray to say exactly what's going on, but some searching suggests this is an issue with differences in how Cython and ray handle memory. We haven't updated it in a while and it was designed to be used in a different way, but spacy-ray might be a helpful reference for you. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
svlandeg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please share code or terminal output as text, not as screenshots.
I'm not familiar enough with ray to say exactly what's going on, but some searching suggests this is an issue with differences in how Cython and ray handle memory. We haven't updated it in a while and it was designed to be used in a different way, but spacy-ray might be a helpful reference for you.