mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[air] fix xgboost_benchmark script by passing in args (#27146)
This commit is contained in:
parent
db26c779a0
commit
0319dcd889
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ def run_and_time_it(f):
|
||||||
self._exception = self._pconn.recv()
|
self._exception = self._pconn.recv()
|
||||||
return self._exception
|
return self._exception
|
||||||
|
|
||||||
p = MyProcess(target=f, *args, **kwargs)
|
p = MyProcess(target=f, args=args, kwargs=kwargs)
|
||||||
start = time.monotonic()
|
start = time.monotonic()
|
||||||
p.start()
|
p.start()
|
||||||
p.join()
|
p.join()
|
||||||
|
|
Loading…
Add table
Reference in a new issue