mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Revert cloudpickle -> pickling change, which no longer seems necessary. (#127)
This commit is contained in:
parent
b0ba54e4c0
commit
1c95840765
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ from __future__ import absolute_import
|
|||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
import cloudpickle
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
@ -521,7 +520,7 @@ class Worker(object):
|
|||
function_to_run_id = random_string()
|
||||
key = "FunctionsToRun:{}".format(function_to_run_id)
|
||||
self.redis_client.hmset(key, {"function_id": function_to_run_id,
|
||||
"function": cloudpickle.dumps(function)})
|
||||
"function": pickling.dumps(function)})
|
||||
self.redis_client.rpush("Exports", key)
|
||||
self.driver_export_counter += 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue