mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
Remove wrong dependency between TritonGPU and NVGPU dialect (#2276)
This commit is contained in:
@@ -36,5 +36,7 @@ def test_op(M, N, dtype, mode):
|
||||
x.grad = None
|
||||
th_y.backward(dy)
|
||||
th_dx = x.grad.clone()
|
||||
|
||||
torch.testing.assert_close(th_dx, tt_dx)
|
||||
if dtype == 'float16':
|
||||
torch.testing.assert_close(th_dx, tt_dx, rtol=0.001, atol=0.001)
|
||||
else:
|
||||
torch.testing.assert_close(th_dx, tt_dx)
|
||||
|
||||
Reference in New Issue
Block a user