You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use rwkv.cpp in two different threads. For this, I'm loading the model and then using two context clones (via rwkv_clone_context). Everything works fine when each thread runs rwkv_eval, but when running simultaneously in two threads, I get an error:
Hello,
I'm trying to use rwkv.cpp in two different threads. For this, I'm loading the model and then using two context clones (via
rwkv_clone_context
). Everything works fine when each thread runs rwkv_eval, but when running simultaneously in two threads, I get an error:It seems that
alloc
/free
are called "out of order" for the two contexts. Any idea how to solve this?Thanks!
The text was updated successfully, but these errors were encountered: