File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1238,7 +1238,7 @@ end
1238
1238
@test size (perm) == (4 , 3 , 6 )
1239
1239
@test size (info) == (4 , 3 )
1240
1240
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 =
1242
1242
1e-2
1243
1243
end
1244
1244
end
Original file line number Diff line number Diff line change 190
190
x = rand (1 : 256 , 3 , 4 )
191
191
x_ra = Reactant. to_rarray (x)
192
192
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
+ )
195
199
end
196
200
197
201
@testset " approx top k lowering" begin
You can’t perform that action at this time.
0 commit comments