isofit.debug.ray_bypass

This module circumvents the ray package while maintaining ray-like syntax in the code. Only the exact ISOFIT use cases of Ray are implemented here. If new uses of Ray are implemented, those uses/functions will have to be defined here as well.

To enable, set the environment variable ISOFIT_DEBUG to “1”. For example:

$ export ISOFIT_DEBUG=1 $ python isofit …

Additionally, you may pass it as a temporary environment variable via:

$ ISOFIT_DEBUG=1 python isofit …

Attributes

Logger

Classes

Remote

util

Functions

__getattr__(key)

Reports any call to Ray that is not emulated

remote(*args, **kwargs)

init(*args, **kwargs)

get(jobs)

wait(jobs[, num_returns])

put(obj)

shutdown(*args, **kwargs)

Module Contents

Logger[source]
class Remote(obj, *args, **kwargs)[source]
obj[source]
args = ()[source]
kwargs[source]
__getattr__(key)[source]

Returns a Remote object on the key being requested. This enables ray.remote(Class).func.remote()

remote(*args, **kwargs)[source]
get()[source]
__repr__()[source]
__getattr__(key)[source]

Reports any call to Ray that is not emulated

remote(*args, **kwargs)[source]
init(*args, **kwargs)[source]
get(jobs)[source]
wait(jobs, num_returns=1, **kwargs)[source]
put(obj)[source]
shutdown(*args, **kwargs)[source]
class util[source]
class ActorPool(actors)[source]
actors[source]
map_unordered(func, iterable)[source]