facebookresearch / facebookresearch/fairseq2

Allow setting the number of threads in TBB's task_arena

Open
#300 0 comments 1 reaction 1 assignee Claimed by @cbalioglu View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.