Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] run fast gpu tests conditionally on pull requests. #10310

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sayakpaul
Copy link
Member

@sayakpaul sayakpaul commented Dec 20, 2024

What does this PR do?

Fixes #9948. This will prevent PRs like #9449 to cause issues later down the road.

Approach taken

  • For now, changes to the following paths will trigger the fast GPU tests on PRs -
    • src/diffusers/models/modeling_utils.py
    • src/diffusers/models/model_loading_utils.py
    • src/diffusers/models/pipeline_utils.py
    • src/diffusers/models/pipeline_loading_utils.py
  • I don't think we have to run other test jobs like xformers, compilation, flax, etc. on PRs. Just examples, pipelines, and core module-level tests should be fine. No strong opinions here.

@sayakpaul sayakpaul requested review from DN6 and hlky December 20, 2024 04:13
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.

[Tests] add fast GPU workflow to the PR CI
1 participant