Skip to content

Commit d6b6ad0

Browse files
authored
fix: update distributed APIs to new jll (#1454)
1 parent dd78cff commit d6b6ad0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Reactant"
22
uuid = "3c362404-f566-11ee-1572-e11a4b42c853"
33
authors = ["William Moses <[email protected]>", "Valentin Churavy <[email protected]>", "Sergio Sánchez Ramírez <[email protected]>", "Paul Berg <[email protected]>", "Avik Pal <[email protected]>", "Mosè Giordano <[email protected]>"]
4-
version = "0.2.144"
4+
version = "0.2.145"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -90,7 +90,7 @@ PythonCall = "0.9.25"
9090
Random = "1.10"
9191
Random123 = "1.7"
9292
ReactantCore = "0.1.15"
93-
Reactant_jll = "0.0.216"
93+
Reactant_jll = "0.0.217"
9494
ScopedValues = "1.3.0"
9595
Scratch = "1.2"
9696
Sockets = "1.10"

src/xla/Distributed.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function DistributedRuntimeClient(
1414
rpc_timeout_in_seconds::Integer=120,
1515
shutdown_timeout_in_minutes::Integer=5,
1616
heartbeat_interval_in_seconds::Integer=10,
17-
max_missing_heartbeats::Integer=10,
1817
use_compression::Bool=true,
1918
)
2019
GC.@preserve coordinator_bind_address begin
@@ -24,7 +23,6 @@ function DistributedRuntimeClient(
2423
Int32(rpc_timeout_in_seconds)::Int32,
2524
Int32(shutdown_timeout_in_minutes)::Int32,
2625
Int32(heartbeat_interval_in_seconds)::Int32,
27-
Cint(max_missing_heartbeats)::Cint,
2826
use_compression::Bool,
2927
)::Ptr{Cvoid}
3028
end
@@ -69,7 +67,6 @@ function DistributedRuntimeService(
6967
coordinator_bind_address::String,
7068
num_nodes::Integer;
7169
heartbeat_interval_in_seconds::Integer=10,
72-
max_missing_heartbeats::Integer=10,
7370
cluster_register_timeout_in_minutes::Integer=60,
7471
shutdown_timeout_in_minutes::Integer=5,
7572
)
@@ -78,7 +75,6 @@ function DistributedRuntimeService(
7875
coordinator_bind_address::Cstring,
7976
Cint(num_nodes)::Cint,
8077
Int32(heartbeat_interval_in_seconds)::Int32,
81-
Cint(max_missing_heartbeats)::Cint,
8278
Int32(cluster_register_timeout_in_minutes)::Int32,
8379
Int32(shutdown_timeout_in_minutes)::Int32,
8480
)::Ptr{Cvoid}
@@ -135,7 +131,6 @@ function update!(
135131
rpc_timeout_in_seconds::Integer=120,
136132
shutdown_timeout_in_minutes::Integer=5,
137133
heartbeat_interval_in_seconds::Integer=10,
138-
max_missing_heartbeats::Integer=10,
139134
use_compression::Bool=true,
140135
)
141136
@assert 0 process_id < num_processes
@@ -166,7 +161,6 @@ function update!(
166161
coordinator_bind_address,
167162
num_processes;
168163
heartbeat_interval_in_seconds,
169-
max_missing_heartbeats,
170164
cluster_register_timeout_in_minutes,
171165
shutdown_timeout_in_minutes,
172166
)
@@ -189,7 +183,6 @@ function update!(
189183
rpc_timeout_in_seconds,
190184
shutdown_timeout_in_minutes,
191185
heartbeat_interval_in_seconds,
192-
max_missing_heartbeats,
193186
use_compression,
194187
)
195188
@debug "[PID $(process_id)] Connecting to Reactant distributed service on \

0 commit comments

Comments
 (0)