Skip to content

Commit 76068e3

Browse files
committed
test: more tests broken
1 parent 575decf commit 76068e3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

test/ops.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ end
12381238
@test size(perm) == (4, 3, 6)
12391239
@test size(info) == (4, 3)
12401240

1241-
@test @jit(recon_from_lu(lu_ra)) @jit(apply_permutation(x_ra, perm)) atol = 1e-5 rtol =
1241+
@test @jit(recon_from_lu(lu_ra)) @jit(apply_permutation(x_ra, perm)) atol = 1e-3 rtol =
12421242
1e-2
12431243
end
12441244
end

test/sorting.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,12 @@ end
190190
x = rand(1:256, 3, 4)
191191
x_ra = Reactant.to_rarray(x)
192192

193-
@test ffirstlinindices(iseven, x) @jit(findfirst(iseven, x_ra))
194-
@test flastlinindices(iseven, x) @jit(findlast(iseven, x_ra))
193+
@test ffirstlinindices(iseven, x) @jit(findfirst(iseven, x_ra)) broken = contains(
194+
string(Reactant.devices()[1]), "TPU"
195+
)
196+
@test flastlinindices(iseven, x) @jit(findlast(iseven, x_ra)) broken = contains(
197+
string(Reactant.devices()[1]), "TPU"
198+
)
195199
end
196200

197201
@testset "approx top k lowering" begin

0 commit comments

Comments
 (0)