KEMBAR78
Enable audio windows cuda tests by mszhanyi · Pull Request #1777 · pytorch/audio · GitHub
Skip to content

Conversation

@mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Sep 18, 2021

Enable unittest_windows_gpu.

  1. add cuda_install (runtime) step.
  2. add update cuda driver step.
  3. add set cuda envs.
  4. enable TORCHAUDIO_TEST_FORCE_CUDA=1

These 4 changes have to work together to pass unittest_windows_gpu

closes #1565

@mszhanyi mszhanyi marked this pull request as draft September 18, 2021 08:32
@mszhanyi
Copy link
Contributor Author

@mthrok If it's not urgent. I'll split this PR to multiple small PRs to submit because Nikita might not approve big PRs like this.
I think it's a transient issue for unittest_windows_gpu_py3.9, it should be passed by rerunning it.
And it looks there's nothing with binary_linux_conda_xxx failure.

@mszhanyi mszhanyi marked this pull request as ready for review September 27, 2021 03:39
@mszhanyi mszhanyi changed the title [Testing] enable windows cudatests enable windows cuda tests Sep 27, 2021
@mszhanyi mszhanyi changed the title enable windows cuda tests enable audio windows cuda tests Sep 27, 2021
@mthrok mthrok changed the title enable audio windows cuda tests Enable audio windows cuda tests Sep 27, 2021
@mthrok
Copy link
Contributor

mthrok commented Sep 27, 2021

Looks good. All the logs of unitttest_windows_gpu_* shows RNNT-loss tests ran and passed.
Thank you @mszhanyi !

@malfet Could you take a second look?

@mthrok
Copy link
Contributor

mthrok commented Sep 27, 2021

I looked at the build logs and it do not look like CUDA code is compiled.
The Windows binary packages do not have CUDA.
@mszhanyi @malfet I know this is a lot to ask, but it would really help us if you can look into it. (as a different scope than this PR)

@mszhanyi
Copy link
Contributor Author

I looked at the build logs and it do not look like CUDA code is compiled.
The Windows binary packages do not have CUDA.
@mszhanyi @malfet I know this is a lot to ask, but it would really help us if you can look into it. (as a different scope than this PR)

Sure. I'll look binary_windows_xxx_gpu workflow tomorrow. there should be another PR for binary_windows_xxx_gpu workflow

@malfet malfet merged commit d98c884 into pytorch:main Sep 27, 2021
mthrok pushed a commit to mthrok/audio that referenced this pull request Dec 13, 2022
The further code (and the closer code to it) uses a random int number from [4, 5], not [3, 5]

Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows GPU CI is not running GPU tests

4 participants