def ensure_serialization_context(): """Ensure the serialization addons on registered, even when Ray has not been started.""" ctx = StandaloneSerializationContext() ray.serialization_addons.apply(ctx)
def ensure_serialization_context(): """Ensure the serialization addons on registered, even when Ray has not been started.""" ctx = StandaloneSerializationContext() ray.serialization_addons.apply(ctx)