From 0ecbb698064b94560f24c24fbfbd6843786f088b Mon Sep 17 00:00:00 2001 From: Stas Bekman Date: Mon, 11 Jan 2021 13:00:08 -0800 Subject: [PATCH] [make docs] parallel build (#9522) After experimenting with different number of workers https://github.com/huggingface/transformers/issues/9496#issuecomment-758145868 4-5 workers seems to be the most optimal - let's go with 4 as surely we wouldn't find a cpu with less cores these days. Fixes part of https://github.com/huggingface/transformers/issues/9496 @sgugger --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0ace2a1ccb..63872a1721c 100644 --- a/Makefile +++ b/Makefile @@ -67,4 +67,4 @@ test-examples: # Check that docs can build docs: - cd docs && make html SPHINXOPTS="-W" + cd docs && make html SPHINXOPTS="-W -j 4"