Skip to content

Conversation

@pcuenca
Copy link
Member

@pcuenca pcuenca commented Nov 7, 2022

These tests crash on mps because the size of the latents triggers pytorch/pytorch#84039.

I used @require_torch_gpu because I don't think we want to run them in Flax either (I might be mistaken). If we want to run them on CPU in addition to GPU, I can change that decorator to skip mps instead (and maybe skip flax too).

This is a first attempt to try to run slow tests on mps.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@pcuenca pcuenca changed the title Tests: fix mps crashes Tests: fix mps crashes when running slow tests Nov 7, 2022
@pcuenca pcuenca mentioned this pull request Nov 7, 2022
@pcuenca
Copy link
Member Author

pcuenca commented Nov 7, 2022

Superseded by #1104.

@pcuenca pcuenca closed this Nov 7, 2022
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.

3 participants