From 0fa2e1b2169a564539030056769ac9ac62919b89 Mon Sep 17 00:00:00 2001 From: matthewdeng Date: Wed, 27 Jul 2022 19:08:15 -0700 Subject: [PATCH] [air] fix xgboost_benchmark script by passing in args (#27146) --- release/air_tests/air_benchmarks/workloads/xgboost_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/air_tests/air_benchmarks/workloads/xgboost_benchmark.py b/release/air_tests/air_benchmarks/workloads/xgboost_benchmark.py index 047e98276a69..a8eabb949ca5 100644 --- a/release/air_tests/air_benchmarks/workloads/xgboost_benchmark.py +++ b/release/air_tests/air_benchmarks/workloads/xgboost_benchmark.py @@ -58,7 +58,7 @@ def exception(self): self._exception = self._pconn.recv() return self._exception - p = MyProcess(target=f, *args, **kwargs) + p = MyProcess(target=f, args=args, kwargs=kwargs) start = time.monotonic() p.start() p.join()