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

Disable GPU based validation in tests by default but keep it on CI #5269

Closed
wants to merge 1 commit into from

Conversation

nical
Copy link
Contributor

@nical nical commented Feb 19, 2024

Description

With gpu based validation, cargo xtask test immediately fills all of my RAM and makes the desktop unusable (forcing me to hard-reboot the computer) on the two computers I have handy (they have 32 and 64 GB of RAM).

I don't know if it's a mesa or AMD specific thing but it's so disruptive that I think that we need to take a more careful approach to enabling the the advanced validation stuff. This PR turns it off by default for people running tests locally (can be re-enabled using the WGPU_GPU_BASED_VALIDATION environment variable), but leaves it enabled on CI for now.

Checklist

  • Run cargo fmt.
  • Run cargo clippy.

@nical nical requested a review from a team as a code owner February 19, 2024 11:09
@cwfitzgerald
Copy link
Member

Let's pull it everywhere - #5154 is having issues with dx12 GBV, and it's already been taking way too long.

The failures you're getting now is because we're now missing the additional validation errors when GBV is enabled.

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Clicking button

@cwfitzgerald
Copy link
Member

Tried a different strategy in #5271

@nical nical closed this Feb 19, 2024
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