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
If we are parsing multiple partial codes the parsers currently run sequentially in a single thread, this should be much faster parallel in multiple threads. ExampleOptions
The text was updated successfully, but these errors were encountered:
the second link says that we should use asyncio or threading only if the program is io_bound. I wonder if multithread benefit the parsing. Using multiprocess, I met the problem that if we use spawn as start method, process init takes a long time; but fork cannot be compatible with cuda environment, is there any advice? thx!
upd: using other language without GIL might be a solution?
If we are parsing multiple partial codes the parsers currently run sequentially in a single thread, this should be much faster parallel in multiple threads. Example Options
The text was updated successfully, but these errors were encountered: