Skip to content

[Chore] increase number of workers for the tests.#7558

Merged
sayakpaul merged 9 commits intomainfrom
increase-workers-pr-tests
Apr 3, 2024
Merged

[Chore] increase number of workers for the tests.#7558
sayakpaul merged 9 commits intomainfrom
increase-workers-pr-tests

Conversation

@sayakpaul
Copy link
Copy Markdown
Member

@sayakpaul sayakpaul commented Apr 2, 2024

Additionally, this PR changes the docker-cpu runners to a a better one.

@sayakpaul sayakpaul requested a review from DN6 April 2, 2024 07:13
run: |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the runner has 32 cores available for pipelines why not bump this up further? To 8?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 9afd3cc.
🤞
Let's see

@sayakpaul
Copy link
Copy Markdown
Member Author

Nice, we're down to 7 minutes now.

@sayakpaul sayakpaul merged commit ad55ce6 into main Apr 3, 2024
@sayakpaul sayakpaul deleted the increase-workers-pr-tests branch April 3, 2024 11:41
noskill pushed a commit to noskill/diffusers that referenced this pull request Apr 5, 2024
* increase number of workers for the tests.

* move to beefier runner.

* improve the fast push tests too.

* use a beefy machine for pytorch pipeline tests

* up the number of workers further.
sayakpaul added a commit that referenced this pull request Dec 23, 2024
* increase number of workers for the tests.

* move to beefier runner.

* improve the fast push tests too.

* use a beefy machine for pytorch pipeline tests

* up the number of workers further.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants