We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From #18 -- it seems there are several issues when running the pipeline when only a single processor is available.
First, safe_thread_count returns 0, which causes problems downstream. https://github.com/Georgetown-IR-Lab/OpenNIR/blob/master/onir/util/concurrency.py#L11
safe_thread_count
Then, places that use util.blocking_tee and util.CtxtThread may have some race conditions.
util.blocking_tee
util.CtxtThread
Ideally, a solution that falls back when only one processor is detected. If not, a configuration switch somewhere could help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From #18 -- it seems there are several issues when running the pipeline when only a single processor is available.
First,
safe_thread_count
returns 0, which causes problems downstream. https://github.com/Georgetown-IR-Lab/OpenNIR/blob/master/onir/util/concurrency.py#L11Then, places that use
util.blocking_tee
andutil.CtxtThread
may have some race conditions.Ideally, a solution that falls back when only one processor is detected. If not, a configuration switch somewhere could help.
The text was updated successfully, but these errors were encountered: