Executes tasks via the event loop in the C++ core worker. Also properly handles signals (including KeyboardInterrupt), so ctrl-C in a python interactive shell works now (if connecting to an existing cluster).
* Remove actor handle ID from main ActorHandle constructor
* Set the actor caller ID when calling submit task instead of in the actor handle
* Remove ActorHandle::Fork, remove actor handle ID from protobuf
* Make inner actor handle const, remove new_actor_handles
* Move caller ID into the common task spec, start refactoring raylet
* Some fixes for forking actor handles
* Store ActorHandle state in CoreWorker, only expose actor ID to Python
* Remove some unused fields
* lint
* doc
* fix merge
* Remove ActorHandleID from python/cpp
* doc
* Fix core worker test
* Move actor table subscription to CoreWorker, reset actor handles on actor failure
* lint
* Remove GCS client from direct actor
* fix tests
* Fix
* Fix tests for raylet codepath
* Fix local mode
* Fix multithreaded test
* Fix AsyncSubscribe issue...
* doc
* fix serve
* Revert bazel
* initial commit
* lint
* clarify
* add feature flag
* comment
* add timeout to test
* fix print
* comment
* use id for scheduling class
* lint
* dad warn
* flake
* Cleaner, tabulated progress output.
* Minor HTML changes, trial ID instead of name
* Revert basic variant changes
* Cleanup, address richard's comments, add progress_reporter.py
* Add tabulate dependency
* Added more info to table, auto-hide columns with no data.
* lint
* Address comments
* Replace experiment tag w/ trial ID
* Fixed tests.
* Fixed test
* Added requirement
* Fix formatting
* Fixed local mode actor id
* Update python/ray/actor.py
Co-Authored-By: Edward Oakes <ed.nmi.oakes@gmail.com>
* Added hyphen to match comments
* Added tests to test_local_mode
* Helloworld
* Better test naming
* lint
* Check if trial's node is alive before trying to fetch result
* Added function for failed trials to trial_executor interface
* Address comments, add test.
* added class median_stopping_result to schedulers and updated __init__
* Dicts flatten and combine schedulers.
MedianStoppingRule is now combined with MedianStoppingResult; I think
the functionality is essentially the same so there's no need to
duplicate.
Dict flattening was already taken care of in a separate PR, so I've
reverted that.
* lint
* revert
* remove time sharing and simplify state
* fix
* fixtests
* added class median_stopping_result to schedulers and updated __init__
* update property names and types to reflect suggestions by ray developers, merged get_median_result and get_best_result into a single method to eliminate duplicate steps, added resource check on PAUSE condition, modified utility function to use updated properties
* updated tests for median_stopping_result in separate file
* remove stray characters from previous merge conflict
* reformatted and cleaned up dependencies from running code format and linting
* added class median_stopping_result to schedulers and updated __init__
* Dicts flatten and combine schedulers.
MedianStoppingRule is now combined with MedianStoppingResult; I think
the functionality is essentially the same so there's no need to
duplicate.
Dict flattening was already taken care of in a separate PR, so I've
reverted that.
* lint
* revert
* remove time sharing and simplify state
* fix
* added class median_stopping_result to schedulers and updated __init__
* update property names and types to reflect suggestions by ray developers, merged get_median_result and get_best_result into a single method to eliminate duplicate steps, added resource check on PAUSE condition, modified utility function to use updated properties
* updated tests for median_stopping_result in separate file
* remove stray characters from previous merge conflict
* reformatted and cleaned up dependencies from running code format and linting
* update scheduler to coordinate eval interval
* modify median_stopping_result to synchronize result evaluation at regular intervals, driven by least common interval
* add some logging info to median_result
* add new scheduler, SyncMedianStoppingResult, which evaluates and stops trials in a synchronous fashion
* Cleanup median_stopping_rule
- remove eval_interval
- pause trials with insufficient samples if there are other waiting trials
- compute score only for trials that have reached result_time
* Remove extraneous classes
* Fix median stopping rule tests
* Added min_time_slice flag to reduce potential checkpointing cost
* Only compute mean after grace
* Relegate logging to debug mode
* Implement metric interface
* Address comment: made actor_handles a dict
* Fix iteration
* Lint
* Mark lightweight actors as num_cpus=0 to prevent resource starvation
* Be more explicit about the readiness condition
* Make task_runner non-blocking
* Lint