Skip to content

[ROCm] Use float datatype for RNN test for MIOpen#36772

Closed
ashishfarmer wants to merge 1 commit intopytorch:masterfrom
ashishfarmer:use_float_test_for_mio_rnn
Closed

[ROCm] Use float datatype for RNN test for MIOpen#36772
ashishfarmer wants to merge 1 commit intopytorch:masterfrom
ashishfarmer:use_float_test_for_mio_rnn

Conversation

@ashishfarmer
Copy link
Copy Markdown

This pull request changes the datatype for test_RNN_cpu_vs_cudnn_no_dropout on ROCm testing to float.
Currently MIOpen RNN does not support double datatype, so using only double would not run this test using MIOpen. To correctly test PyTorch RNN operator using MIOpen, we would need to test it using float tensors and module.
The changes in this PR addresses the comments in #34615

@ezyang @iotamudelta

@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Apr 17, 2020

💊 Build failures summary and remediations

As of commit 9756707 (more details on the Dr. CI page):


  • 1/5 failures possibly* introduced in this PR

    • 1/5 non-CircleCI failure(s)
  • 4/5 broken upstream at merge base 753157b on Apr 16 from 4:22pm to 5:54pm PDT (4 commits; 6615886 - 05bbf6a)

    Please rebase on the viable/strict branch (expand for instructions)

    If your commit is newer than viable/strict, you can try basing on an older, stable commit:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase --onto FETCH_HEAD $(git merge-base origin/master HEAD)
    

    If your commit is older than viable/strict:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase FETCH_HEAD
    

    Check out the recency history of this "viable master" tracking branch.


🚧 4 upstream failures:

These were probably caused by upstream breakages:


Extra GitHub checks


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 4 times.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@ezyang merged this pull request in 9df9aef.

@ashishfarmer ashishfarmer deleted the use_float_test_for_mio_rnn branch April 17, 2020 16:44
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
This pull request changes the datatype for `test_RNN_cpu_vs_cudnn_no_dropout` on ROCm testing to float.
Currently MIOpen RNN does not support double datatype, so using only double would not run this test using MIOpen. To correctly test PyTorch RNN operator using MIOpen, we would need to test it using float tensors and module.
The changes in this PR addresses the comments in pytorch#34615

ezyang iotamudelta
Pull Request resolved: pytorch#36772

Differential Revision: D21089533

Pulled By: ezyang

fbshipit-source-id: b5781e4ca270d64c6b949b3f0436e7b4eb870e27
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.

5 participants