Skip to content

Commit

Permalink
add callZooFunc and change all callBigDlFunc to callZooFunc (intel-an…
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxin2012 committed Nov 26, 2019
1 parent 254efdb commit 566f754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/orca/src/bigdl/orca/ray/util/raycontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ class JVMGuard():
def registerPids(pids):
import traceback
try:
from bigdl.util.common import callBigDlFunc
from zoo.common.utils import callZooFunc
import zoo
callBigDlFunc("float",
"jvmGuardRegisterPids",
pids)
callZooFunc("float",
"jvmGuardRegisterPids",
pids)
except Exception as err:
print(traceback.format_exc())
print("Cannot sucessfully register pid into JVMGuard")
Expand Down

0 comments on commit 566f754

Please sign in to comment.