Skip to content

Commit 49d3f68

Browse files
committed
Increase tests timeout and reduce iterations in parameter_server example
1 parent a26dd5c commit 49d3f68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

auto_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def searchForPython(python_implementations):
3030

3131

3232
# ----------------------------------------------------------------------------------
33-
TIMEOUT = 60 # timeout for each test (in seconds)
33+
TIMEOUT = 120 # timeout for each test (in seconds)
3434
CHARM_QUIET_AFTER_NUM_TESTS = 5
3535

3636
commonArgs = ['++local']

examples/ray/parameter_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def compute_gradients(self, weights):
125125
def sync_train(args):
126126
ray.init()
127127

128-
iterations = 101
128+
iterations = 11
129129
num_workers = 4
130130

131131
model = ConvNet()
@@ -159,7 +159,7 @@ def async_train(args):
159159

160160
model = ConvNet()
161161
test_loader = get_data_loader()[1]
162-
iterations = 101
162+
iterations = 11
163163
num_workers = 4
164164

165165
print("Running asynchronous parameter server training.")

0 commit comments

Comments
 (0)