Are these objects thread safe for concurrent use?

#21
by hiranya911 - opened

Can I use the same INSTRUCTOR object from multiple threads for encoding? Any issues we need to be aware of?

NLP Group of The University of Hong Kong org

Hi, Thanks a lot for your interest in the INSTRUCTOR model!

Yes, it is possible to use INSTRUCTOR in multi-threading process. You may need to take care of the model/data copy/parallel issues in the encoding.

Sign up or log in to comment