Skip to content

Commit 4082123

Browse files
committed
Turn off all ldiv and inv tests
1 parent be7b385 commit 4082123

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/amd/tensors.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ for V in spacelist
429429
t1 = AMDGPU.rand(T, W1, W1)
430430
t2 = AMDGPU.rand(T, W2, W2)
431431
t = AMDGPU.rand(T, W1, W2)
432-
@test t1 * (t1 \ t) t
432+
#=@test t1 * (t1 \ t) ≈ t
433433
@test (t / t2) * t2 ≈ t
434-
#=AMDGPU.@allowscalar begin
434+
AMDGPU.@allowscalar begin
435435
@test t1 \ one(t1) ≈ inv(t1)
436436
@test one(t1) / t1 ≈ pinv(t1)
437437
tp = pinv(t) * t
@@ -457,24 +457,24 @@ for V in spacelist
457457
@test TensorKit.to_cpu(t2 * t') ht2 * ht'
458458
@test TensorKit.to_cpu(t2' * t') ht2' * ht'
459459

460-
AMDGPU.@allowscalar begin
460+
#=AMDGPU.@allowscalar begin
461461
@test TensorKit.to_cpu(inv(t1)) ≈ inv(ht1)
462462
@test TensorKit.to_cpu(pinv(t)) ≈ pinv(ht)
463463
464464
if T == Float32 || T == ComplexF32
465465
continue
466466
end
467467
468-
#=@test TensorKit.to_cpu(t1 \ t) ≈ ht1 \ ht
468+
@test TensorKit.to_cpu(t1 \ t) ≈ ht1 \ ht
469469
@test TensorKit.to_cpu(t1' \ t) ≈ ht1' \ ht
470470
@test TensorKit.to_cpu(t2 \ t') ≈ ht2 \ ht'
471471
@test TensorKit.to_cpu(t2' \ t') ≈ ht2' \ ht'
472472
473473
@test TensorKit.to_cpu(t2 / t) ≈ ht2 / ht
474474
@test TensorKit.to_cpu(t2' / t) ≈ ht2' / ht
475475
@test TensorKit.to_cpu(t1 / t') ≈ ht1 / ht'
476-
@test TensorKit.to_cpu(t1' / t') ≈ ht1' / ht'=#
477-
end
476+
@test TensorKit.to_cpu(t1' / t') ≈ ht1' / ht'
477+
end=#
478478
end
479479
end
480480
if BraidingStyle(I) isa Bosonic && hasfusiontensor(I)

0 commit comments

Comments
 (0)