mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 13:20:12 +06:00
Avoid CI OOM (#26639)
fix avoid oom Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
8835bff6a0
commit
740fc6a1da
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user