mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[ROCm] skip test_RNN_dropout_state (#149446)
PR to skip test_nn.py::TestNN::test_RNN_dropout_state Currently ROCm doesn't support dropout value for RNN PR to enable RNN dropout on ROCm still in review and blocked pytorch/pytorch#144572 Fixes: https://github.com/pytorch/pytorch/issues/68849 Pull Request resolved: https://github.com/pytorch/pytorch/pull/149446 Approved by: https://github.com/pruthvistony, https://github.com/jeffdaily
This commit is contained in:
parent
1d9401befc
commit
c99efc08fb
|
|
@ -4375,6 +4375,8 @@ tensor(..., device='meta', size=(1,), requires_grad=True)""")
|
|||
outs[0].sum().backward()
|
||||
|
||||
@unittest.skipIf(not TEST_CUDNN, "needs cudnn")
|
||||
@skipIfRocm(msg="ROCm doesn't support 'dropout' for RNN "
|
||||
"(WIP to enable dropout https://github.com/pytorch/pytorch/pull/144572)")
|
||||
def test_RNN_dropout_state(self):
|
||||
for p in (0, 0.1234):
|
||||
for train in (True, False):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user