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
We should document how to set the number of threads for training on CPUs (in case anyone would like to do that).
Basically, it's export OMP_NUM_THREADS=8 for intra-op parallelism.
Alternatively, this may be set programatically with torch.set_num_threads() and set_num_interop_threads().