Skip to content

Commit e261d0f

Browse files
committed
fix: syntax
1 parent 8897299 commit e261d0f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/ops.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ end
108108
],
109109
)
110110

111-
@test cholesky(Array(x)).U @jit g1(x) broken = RunningOnTPU
112-
@test adjoint(cholesky(Array(x)).U) @jit g2(x) broken = RunningOnTPU
111+
@test cholesky(Array(x)).U @jit(g1(x)) broken = RunningOnTPU
112+
@test adjoint(cholesky(Array(x)).U) @jit(g2(x)) broken = RunningOnTPU
113113
end
114114

115115
@testset "clamp" begin

test/optimize_comm.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ if length(addressable_devices) ≥ 8
3737
@test !contains(hlo, "all-gather")
3838
@test contains(hlo, "collective-permute")
3939

40-
rotate(x)
4140
@jit shardy_passes = :to_mhlo_shardings rotate(rx)
4241
@test all(x .== convert(Array, rx))
4342
end
@@ -75,7 +74,6 @@ if length(addressable_devices) ≥ 8
7574
ry = Reactant.to_rarray(y; sharding)
7675

7776
hlo = repr(@code_xla shardy_passes = :to_mhlo_shardings dus(rx, ry))
78-
println(hlo)
7977
@test !contains(hlo, "all-to-all")
8078
@test !contains(hlo, "all-gather")
8179
@test contains(hlo, "collective-permute")

0 commit comments

Comments
 (0)