Commit Graph

5715 Commits

Author SHA1 Message Date
Sumanth Ratna 54215ff287 [tune] implement shim instantiation (#10456)
* Create ray.tune.suggest.create.create_scheduler

* Update __init__.py

* Resolve conflict in __init__.py

* Create ray.tune.schedulers.create.create_scheduler

* Update __init__.py

* Move create_scheduler to tune.schedulers.__init__

* Move create_searcher to tune.suggest.__init__

* Delete tune.suggest.create

* Delete tune.schedulers.create

* Update imports for shim functions in tune.__init__

* Remove shim from tune.suggest.__init__.__all__

* Remove shim from tune.schedulers.__init__.__all__

* Add ShimCreationTest

* Move ShimCreationTest to test_api

* Delete test_shim.py

* Add docstring for ray.tune.create_scheduler

* Add docstring to ray.tune.create_searcher

* Fix typo in ray.tune.create_scheduler docstring

* Fix lint errors in tune.schedulers.__init__

* Fix lint errors in tune.suggest.__init__

* Fix lint errors in tune.suggest.__init__

* Fix lint errors in tune.schedulers.__init__

* Fix imports in test_api

* Fix lint errors in test_api

* Fix kwargs in create_searcher

* Fix kwargs in create_scheduler

* Merge branch 'master' into shim-instantiation

* Update use-case in docs in tune.create_scheduler

* Update use-case in docs in tune.create_searcher

* Remove duplicate pytest run from test_api

* Add check to create_searcher


Co-authored-by: Richard Liaw <rliaw@berkeley.edu>

* Add check to create_scheduler

* lint

* Compare types of instances in test_api

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>

* Add tune.create_searcher to docs

* Fix doc build

* Fix tests

* Add tune.create_scheduler to docs

* Fix tests

* Fix lint errors

* Update Ax search for master

* Fix metric kwarg for Ax in test_api

* Fix doc build

* Fix HyperOptSearch import in test_api

* Fix HyperOptSearch import in create_searcher

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-09-05 09:36:42 -07:00
Kai Yang f03e91788a Java doc: "Using Actors" page (#10438) 2020-09-05 23:28:03 +08:00
Hao Chen da8181725d [Java] Fix duplicated isInitialized methods (#10601) 2020-09-05 23:13:53 +08:00
Sven Mika 244aafdcf8 [RLlib] Curiosity enhancements. (#10373) 2020-09-05 13:14:24 +02:00
Lixin Wei f31ee84bfd [Streaming] Fault Tolerance Implementation (#10595) 2020-09-05 16:40:47 +08:00
Max Fitton 31f8ce4768 [Dashboard] Plasma Memory Usage in Machine View (#10552)
* wip

* lint

* more lint

Co-authored-by: Max Fitton <max@semprehealth.com>
2020-09-05 00:34:26 -07:00
Richard Liaw 4d4b262069 [docs] Tips for first-time users (copy from blog) (#10578)
Co-authored-by: Alex Wu <itswu.alex@gmail.com>
2020-09-04 21:44:22 -07:00
fyrestone 77efad8616 Fix Java exception serialization (#10568) 2020-09-05 11:06:14 +08:00
Edward Oakes 523705ac0f Fix new dashboard test process check (#10584) 2020-09-04 22:04:44 -05:00
Kai Yang 6a78ba9752 Java doc: "Starting Ray" page (#10062) 2020-09-05 10:15:52 +08:00
chaokunyang 7ee0fdba3d [Java] Throw exception if Ray.init() is not called and users try to access ray API (#10497) 2020-09-05 10:09:19 +08:00
Eric Liang 8ee7c182f5 [1.0] move placement groups from experimental to util. Note they are still undocumented. (#10554)
* move files

* Update __init__.py

* remove

* Update __init__.py
2020-09-04 19:01:24 -07:00
Richard Liaw 4b3b46e09f [docs] Tips for testing Ray applications (#10583) 2020-09-04 18:40:48 -07:00
Kai Fricke 2fac66650d [tune] extend search space api docs (#10576)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-09-04 18:39:51 -07:00
architkulkarni c4c0857107 [Serve] Parametrize tests for pydantic backend (#10559) 2020-09-04 17:24:24 -07:00
Eric Liang 2e5e9b291b [ray 1.0] Make private a few more things (#10551)
* reomve some more stuff

* no underscore
2020-09-04 17:19:27 -07:00
architkulkarni 6ae9e76b81 [RLlib] Fix seeding issue (#10589) 2020-09-04 17:17:53 -07:00
Edward Oakes 34bda32054 [tune/serve] Fix tune/serve integration script broken by serve API change (#10586) 2020-09-04 17:11:58 -07:00
Simon Mo 40cd572d79 [Doc] Add a section for synchronization primitives in Ray (#10581)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-09-04 17:09:15 -07:00
Simon Mo 55b6c19d98 [Serve] Implement ServeHandle refactoring (#10527) 2020-09-04 15:50:56 -07:00
Kai Fricke 6b6780a108 [tune] Allow trials to remain paused in BOHB (#10531)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-09-04 15:29:33 -07:00
Eric Liang 30911960c8 [1.0] Simple, universal instead of Simple and universal (#10587) 2020-09-04 14:04:29 -07:00
SangBin Cho cb919c5e5c Revert "[Streaming] Fault Tolerance Implementation (#10008)" (#10582)
This reverts commit 1b1466748f.
2020-09-04 13:21:18 -07:00
Eric Liang da83bbd764 [1.0] Move dask scheduler from experimental to util (#10553)
* move dask

* fix dask
2020-09-04 12:16:32 -07:00
Edward Oakes b1bd58581b Print "Connecting to existing cluster" message to stderr instead of stdout (#10575) 2020-09-04 12:51:59 -05:00
Maksim Smolin 02efa2549d [cli] Fix colors on light themes (#10577) 2020-09-04 10:45:27 -07:00
Edward Oakes 786f12edfd [serve] Serve client refactor (#10409) 2020-09-04 12:02:23 -05:00
Kai Fricke 2e49e22f21 [tune] Add test_sample to bazel BUILD (#10566) 2020-09-04 09:09:02 -07:00
Lixin Wei 1b1466748f [Streaming] Fault Tolerance Implementation (#10008) 2020-09-04 20:44:34 +08:00
Kai Yang 5f5160ead9 [Core] Multi-tenancy: Worker capping (#10500) 2020-09-04 20:34:06 +08:00
SangBin Cho 2a7f56e429 [Placement group] Fix Logging issues. (#10557) 2020-09-03 23:55:10 -07:00
PidgeyBE 51df0820de [autoscaler] Fix ingress manifest bug (#10536) 2020-09-04 01:09:16 -05:00
Justin Terry 352718610d Multi-agent Algorithm Documentation Updates (#9722) 2020-09-03 22:37:46 -07:00
chaokunyang cf3875bd8c [Java] add exitActor API for java (#10496) 2020-09-04 10:11:42 +08:00
chaokunyang 5e4db6ad24 [Java] add default kill option (#10473) 2020-09-04 10:08:52 +08:00
Kai Fricke 5c3d4a6670 [tune] added MXNet integration callbacks (#10533) 2020-09-03 18:06:44 -07:00
Edward Oakes ead30ca655 [Core] fix named actor bug (#10550) 2020-09-03 17:48:31 -07:00
Simon Mo 94374e1dd9 [Serve] Add Latency and Queue Size Metrics (#10535) 2020-09-03 17:33:37 -07:00
Simon Mo eff4375c3d [Serve] Produtionize Starlette Middlewares (#10529) 2020-09-03 17:31:38 -07:00
architkulkarni 0d93e92720 [Serve] Reimplement BackendConfig as pydantic model (#10389) 2020-09-03 19:16:17 -05:00
Richard Liaw 43a7a64b30 [tune] horovod trainable (#10304) 2020-09-03 16:53:35 -07:00
Clark Zinzow 7068c63dd8 Set Ray task name to Dask key for Dask tasks. (#10547) 2020-09-03 15:37:55 -07:00
Ian Rodney c54853d45b [Autoscaler] Actually try to catch when docker does not exist (#10549) 2020-09-03 14:00:06 -07:00
Sumanth Ratna 89bf262130 [tune] Fix lr typo in FAQ (#10548) 2020-09-03 13:37:39 -07:00
Ian Rodney a13c83d7f0 Add WorkerCrashedError to cancel docs (#10534) 2020-09-03 13:23:04 -07:00
Clark Zinzow 0c0b0d0a73 [Core] Added support for submission-time task names. (#10449)
* Added support for submission-time task names.

* Suggestions from code review: add missing consts

Co-authored-by: SangBin Cho <rkooo567@gmail.com>

* Add num_returns arg to actor method options docstring example.

* Add process name line and proctitle assertion to submission-time task name section of advanced docs.

* Add submission-time task name --> proctitle test for Python worker.

* Added Python actor options tests for num_returns and name.

* Added Java test for submission-time task names.

* Add dashboard image to task name docs section.

* Move to fstrings.

Co-authored-by: SangBin Cho <rkooo567@gmail.com>
2020-09-03 11:45:24 -07:00
Edward Oakes 71274954d1 Remove unnecessary output when connecting to a cluster. (#10512) 2020-09-03 13:30:33 -05:00
Edward Oakes e4d80e1b0f fix passing sys config to start (#10514) 2020-09-03 11:18:21 -07:00
krfricke 91535e9102 [tune] Refactored Keras integration callbacks (#10509) 2020-09-03 10:16:08 -07:00
Ian Rodney dee2ab55eb [docker] Use sh syntax and pull ray-deps (#10517) 2020-09-03 09:30:03 -07:00