Skip to content

Commit 9d0e935

Browse files
suofacebook-github-bot
authored andcommitted
skip torchbind on rocm (#38501)
Summary: Pull Request resolved: #38501 Test Plan: Imported from OSS Differential Revision: D21579298 Pulled By: suo fbshipit-source-id: 4ac0b6beac26c97c1e0ff68304996ce62be8e8ce
1 parent 4d4895a commit 9d0e935

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/jit/test_torchbind.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ def forward(self) -> str:
240240
mod = TorchBindOptionalExplicitAttr()
241241
scripted = torch.jit.script(mod)
242242

243+
@skipIfRocm
243244
def test_torchbind_no_init(self):
244245
with self.assertRaisesRegex(RuntimeError, 'torch::init'):
245246
x = torch.classes._TorchScriptTesting._NoInit()

0 commit comments

Comments
 (0)