Skip to content

Commit ef81cf7

Browse files
committed
Merge remote-tracking branch 'origin' into ap/ifrt_shardings
2 parents d71f0cc + 0a37253 commit ef81cf7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ PythonCall = "0.9"
8181
Random = "1.10"
8282
Random123 = "1.7"
8383
ReactantCore = "0.1.5"
84-
Reactant_jll = "0.0.70"
84+
Reactant_jll = "0.0.71"
8585
Scratch = "1.2"
8686
Sockets = "1.10"
8787
SpecialFunctions = "2.4"

src/xla/Sharding.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ mutable struct OpSharding
7171

7272
function OpSharding(ptr::Ptr{Cvoid}, args...)
7373
@assert ptr != C_NULL
74-
return finalizer(free_op_sharding, new(ptr, args...))
74+
# return finalizer(free_op_sharding, new(ptr, args...))
75+
return new(ptr, args...)
7576
end
7677
end
7778

0 commit comments

Comments
 (0)