Avoid CI OOM (#26639)
fix avoid oom Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -311,7 +311,7 @@ torch_job = CircleCIJob(
|
|||||||
"pip install -U --upgrade-strategy eager git+https://github.com/huggingface/accelerate",
|
"pip install -U --upgrade-strategy eager git+https://github.com/huggingface/accelerate",
|
||||||
],
|
],
|
||||||
parallelism=1,
|
parallelism=1,
|
||||||
pytest_num_workers=8,
|
pytest_num_workers=6,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -347,6 +347,7 @@ pipelines_torch_job = CircleCIJob(
|
|||||||
"pip install -U --upgrade-strategy eager .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm,video]",
|
"pip install -U --upgrade-strategy eager .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm,video]",
|
||||||
],
|
],
|
||||||
marker="is_pipeline_test",
|
marker="is_pipeline_test",
|
||||||
|
pytest_num_workers=6,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user