mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
adding catch for HTTP error (#432)
This commit is contained in:
@@ -64,7 +64,7 @@ def _test_xgboost(method="BlendSearch"):
|
||||
max_iter = 10
|
||||
for num_samples in [128]:
|
||||
time_budget_s = 60
|
||||
for n_cpu in [4]:
|
||||
for n_cpu in [2]:
|
||||
start_time = time.time()
|
||||
ray.shutdown()
|
||||
ray.init(num_cpus=n_cpu, num_gpus=0)
|
||||
|
||||
Reference in New Issue
Block a user