facebookresearch / facebookresearch/fairseq2
Allow setting the number of threads in TBB's task_arena
Open
data pipeline
enhancement
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 144
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
We should expose a `set_num_threads()` function that the user can call before using other APIs of fairseq2 to adjust the number of threads we are allowed to use from the process thread pool.
Contributor guide
Assessment
This issue has not been assessed yet.