Commit Graph
71 Commits
Author SHA1 Message Date
Edward OakesandPhilipp Moritz 4ed6ee0b1e Better error message for actor class inheritance (#5598) 2019-09-03 10:42:27 -07:00
Eric LiangandGitHub a101812b9f Replace --redis-address with --address in test, docs, tune, rllib (#5602)
* wip

* add tests and tune

* add ci

* test fix

* lint

* fix tests

* wip

* sugar dep
2019-09-01 16:53:02 -07:00
Eric LiangandRobert Nishihara e2e30ca507 Ray, Tune, and RLlib support for memory, object_store_memory options (#5226) 2019-08-21 23:01:10 -07:00
Hao ChenandGitHub 657ce4b3c7 increase timeout for test_actor_lifetime_load_balancing (#5463) 2019-08-17 17:25:53 +08:00
Eric LiangandGitHub 3bdd114282 [rllib] Better example rnn envs (#5300) 2019-07-28 14:07:18 -07:00
Stephanie WangandGitHub 3321555975 Increase timeout for ray.wait test (#5273)
* Increase test timeout for ray.wait

* make sure the actor is scheduled
2019-07-25 14:23:46 -07:00
Eric LiangandGitHub 5b76238bce Fix two types of eviction hangs (#5225) 2019-07-23 21:20:17 -07:00
Stephanie WangandGitHub 9c651f47bb Add regression test for actor load balancing (#5224)
* Add regression test for actor load balancing

* Increase timeout

* Reduce number of nodes?
2019-07-23 15:11:55 -07:00
Stephanie WangandGitHub 15959b0f0d Leave ray.wait calls open until the task or actor exits (#5234)
* Regression test

* Split TaskDependencyManager::SubscribeDependencies into ray.get and ray.wait dependencies
- Some initial implementation

* unit test

* Improve unit tests for TaskDependencyManager

* Implement SubscribeWaitDependencies and UnsubscribeWaitDependencies, unit tests passing

* Add ray.wait python test for drivers that exit early

* Add WorkerID to Worker

* Update test to use two nodes

* Regression test for ray.wait passes

* Extend regression test to include ray.wait from an actor

* Fix ClientID and WorkerIDs

* lint

* lint

* Remove unnecessary ray_get argument

* fix build
2019-07-23 11:55:28 -07:00
Hao ChenandStephanie Wang ea6aa6409a Reconstruct failed actors without sending tasks. (#5161)
* fast reconstruct dead actors

* add test

* fix typos

* remove debug print

* small fix

* fix typos

* Update test_actor.py
2019-07-15 10:25:09 -07:00
Eric LiangandGitHub 5aec750107 Add warning/error if object store memory exceeds available memory (#4893)
* exclude

* format

* add warning

* hatch

* reduce mem usage

* reduce object store mem

* set obj mem
2019-07-08 21:37:08 -07:00
Joey JiangandHao Chen a7f84b536f Fix no cpus test (#5009) 2019-06-21 17:08:25 +08:00
Robert NishiharaandPhilipp Moritz 6703519144 Move global state API out of global_state object. (#4857) 2019-05-26 11:27:53 -07:00
Robert NishiharaandPhilipp Moritz d81e71e297 Enable actor methods to be decorated on the caller side also and get postprocessors. (#4732)
* Allow decorating ray actor methods.

* Add test.

* Add get postprocessors.

* Improve documentation.

* Make it work for remote functions.

* Temporary fix.
2019-05-04 11:53:47 -07:00
William MaandRobert Nishihara c99e3caaca Change resource bookkeeping to account for machine precision. (#4533) 2019-04-23 11:59:53 -07:00
Yuhong GuoandPhilipp Moritz c2349cf12d Remove local/global_scheduler from code and doc. (#4549) 2019-04-03 17:05:09 -07:00
Hao ChenandRobert Nishihara 23404f7bcf Fix some flaky tests (#4535) 2019-04-02 17:57:11 -07:00
William MaandRobert Nishihara 11580fb7dc Changes where actor resources are assigned (#4323) 2019-03-24 15:49:36 -07:00
Yuhong GuoandHao Chen 8ce7565530 Refactor pytest fixtures for ray core (#4390) 2019-03-20 11:48:32 +08:00
Yuhong GuoandGitHub becffc6cef Fix checkpoint crash for actor creation task. (#4327)
* Fix checkpoint crash for actor creation task.

* Lint

* Move test to test_actor.py

* Revert unused code in test_failure.py

* Refine test according to Raul's suggestion.
2019-03-14 23:42:57 +08:00
William MaandRobert Nishihara c7a4c74f55 Moving tests from test/ to python/ray/tests/ (#3950) 2019-02-21 11:09:08 -08:00