Commit graph

2787 commits

Author SHA1 Message Date
Richard Liaw
f87669372d
[cli] enable log-new-style by default (#10213) 2020-08-21 15:21:43 -07:00
fangfengbin
36c6c4b298
[Placement group] Check if placement group bundle index is valid (#10194)
* add part code

* rebase master

* add java testcase

* fix review comments

* fix lint error

* rebase master

* fix lint error

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-21 11:04:56 -07:00
Max Fitton
17f801dc69
Make get_py_stack return more stack frames (#9512) 2020-08-21 13:02:12 -05:00
SangBin Cho
92664249e8
Partially Use f string (#10218)
* flynt. trial 1.

* Trial 1.

* Addressed code review.
2020-08-20 18:21:16 -07:00
architkulkarni
07cd815e5a
[Serve] Type hints for API (#10205) 2020-08-20 15:33:04 -07:00
Stephanie Wang
85e57a7a98
[Object spilling] Look up the location of the primary raylet from the owner's metadata (#10197)
* Get the primary copy from the owner, python test, some node manager fixes

* fixes and todo

* update

* lint

* fix build
2020-08-20 14:46:59 -07:00
Eric Liang
0baf992a4f
[hotfix] [autoscaler] Address remaining comments on renaming instance => node (#10229)
* more renaming

* fix import
2020-08-20 14:37:41 -07:00
Eric Liang
85a6876119
[autoscaler] Rename instance_type => node_type, TAG_RAY_INSTANCE_TYPE => TAG_RAY_USER_NODE_TYPE (#10207) 2020-08-20 12:27:11 -07:00
Amog Kamsetty
8d466749ee
[Tune] PBT hyperparam_mutations fix (#10217) 2020-08-20 12:02:29 -07:00
fangfengbin
a462ae2747
[Placement Group]Add strict spread strategy (#10174)
* support STRICT_SPREAD strategy

* fix review comments

* rebase master

* fix lint error

* fix lint error

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-20 10:18:58 -07:00
SangBin Cho
224933b5e4
[Placement Group] Remove API part 2 (#10215)
* Initial progress done.

* Fix mistake.

* Addressed code review.

* Fix cpp build issue.

* Addressed code review.
2020-08-20 09:50:13 -07:00
Eric Liang
538cb802d5
[autoscaler] Refactor multi node type autoscaler config (#10190) 2020-08-19 20:46:00 -07:00
Richard Liaw
2fd59de05d
[autoscaler] hotfix - swallowed error for missing yaml (#10212) 2020-08-19 20:02:56 -07:00
Amog Kamsetty
9ff687c093
[SGD][Docs] docs for training/ validation results (#10181) 2020-08-19 17:22:28 -07:00
Amog Kamsetty
44e254788a
[Tune] PBT hyperparam_mutations improvements (#10170) 2020-08-19 16:50:19 -07:00
Alex Wu
b70dce0d02
[autoscaler] Hotfix bad None check (#10196) 2020-08-19 13:27:20 -07:00
fangfengbin
9734dbca3e
[Placement Group]Reschedule bundles when the node of bundles is dead (#10021) 2020-08-19 13:24:42 -07:00
Edward Oakes
888f0a2c60
[serve] Use ray.experimental.metrics (#10185) 2020-08-19 13:03:22 -05:00
architkulkarni
de46464aa3
[Experimental] Queue: replace polling with async actor (#10120) 2020-08-19 11:55:42 -05:00
Sven Mika
2cbe29a7fa
[RLlib] Curiosity minor fixes, do-overs, and testing. (#10143) 2020-08-19 17:49:50 +02:00
Max Fitton
9c5e5a9757
[Dashboard] Fix and Recommit Reverted Group by Actor Class PR (#10186)
* Revert "Revert "[Dashboard] Group by Actor Class (#10147)" (#10180)"

This reverts commit e4d2ca620a.

* Fix metrics test to agree with the new logical view API

* lint2

Co-authored-by: Max Fitton <max@semprehealth.com>
2020-08-18 20:55:58 -07:00
Edward Oakes
ba0f531da0
[serve] Remove SLO code and blist dependency (#10075) 2020-08-18 17:52:36 -05:00
SangBin Cho
263df6163c
[Placement Group] Placement group remove api part 1 (#10063)
* Added basic rpc calls.

* fix issues.

* Fix the gcs server not getting request issue.

* In Progress.

* Basic logic done. Tests are required.

* In progress.

* In progress in refactoring context.

* Revert "In progress in refactoring context."

This reverts commit 38236256cf1306c60dd203e75d45ceb4509c8106.

* Working now.

* Python test works.

* Lint.

* Addressed code review.

* Addressed code review.

* Lint.

* Added unit tests.

* Done, but one of unit tests fail

* Addressed code review.

* Addressed the last code review.

* Fix the wrong test case.
2020-08-18 12:44:00 -07:00
Lixin Wei
d188becec2
[Python Worker] Add pid to log file name (#10149)
Co-authored-by: Alex Wu <alex@anyscale.io>
2020-08-18 11:48:48 -07:00
Simon Mo
bedc2c24c8
Export Metrics in OpenCensus Protobuf Format (#10080) 2020-08-18 11:32:42 -07:00
Max Fitton
8d06e30a06
[Dashboard] Fix Ray Dashboard command error messages (#10050) 2020-08-18 13:30:51 -05:00
Max Fitton
e4d2ca620a
Revert "[Dashboard] Group by Actor Class (#10147)" (#10180)
This reverts commit 71f6f83f1d.
2020-08-18 11:27:46 -07:00
Tomasz Wrona
aff7f19360
[tune] Added logger_config field (#8521)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-18 11:10:22 -07:00
Richard Liaw
eacf7dddba
update-code (#10106) 2020-08-18 09:28:32 -07:00
Alex Wu
0b5d5ec17d
[Autoscaler] Pass custom resources to "ray start" multi instance autoscaling (#9986) 2020-08-17 22:34:07 -07:00
Max Fitton
71f6f83f1d
[Dashboard] Group by Actor Class (#10147)
* Update dashboard API to be able to pass actors in a flat structure in addition to nested.

* Working on adapting front-end to display UI w/ new actor class grouping

* wip

* Group logical view by actor class.

Co-authored-by: Max Fitton <max@semprehealth.com>
2020-08-17 22:03:50 -07:00
SangBin Cho
8cedcdf2df
[Tests] Fix test output (#10162)
* Trial 1.

* Fix.

* Revert "Fix."

This reverts commit 26ad970f753d581f340857be30054d6954df8255.

* Revert "Trial 1."

This reverts commit 63f7aca5162bb40f2d5e28fb9647598cbde7ad41.

* Another fix try.

* Last trial.

* Remove unnecessary comment.

* Small fix.

* Use better units.

* Lint.
2020-08-17 21:24:20 -07:00
Robert Nishihara
d45418936c
Skip failing tests on Windows. (#10139) 2020-08-17 18:56:17 -07:00
Amog Kamsetty
d3bac298d5
[Tune] PBT Error if metric not available (#9957) 2020-08-17 16:12:14 -07:00
Alex Wu
4b14bf85e4
[Autoscaler] Resource demand vector (hearbeat -> autoscaler plumbing) (#10127) 2020-08-17 13:57:15 -07:00
Ian Rodney
a079f46c25
[autoscaler]/[docker] Cleanup YAMLs & Use RAY docker images (#10108) 2020-08-17 09:49:28 -07:00
SangBin Cho
053188dfbe
[Placement Group] Support Placement Group state table. (#10090)
* Done.

* Addressed code review.

* Linting.

* Fix lint.

* Fix lint.

* Fix a test.

* Lint.

* Add a lint sleep to test.

* Fix the lint issue.

* Fixed doc build error.
2020-08-17 09:24:50 -07:00
fangfengbin
edd783bc32
[Placement Group]Add soft pack strategy (#10099) 2020-08-17 12:01:34 +08:00
krfricke
8f0f7371a0
[tune] Added Kubernetes syncer and sync client (#10097)
Co-authored-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
Co-authored-by: Kai Fricke <kai@anyscale.com>
2020-08-16 14:09:28 -07:00
Philipp Moritz
c7adb464e4
[autoscaler] Fix run_env='host' for initialization commands (#10137) 2020-08-15 15:25:54 -07:00
Philipp Moritz
e95f0afe4c
[autoscaler] Expand key path for hashing with expanduser (#10125) 2020-08-14 18:50:27 -07:00
Amog Kamsetty
f87a4aa45d
[Tune] Pbt Function API (#9958)
* adding function convnet example

* add unit test

* update test

* update example

* wip

* move error from experiment to tune

* wip

* Fix checkpoint deletion

* updating code

* adding smoke test

* updating pbt guide

* formatting

* fix build

* add best checkpoint analysis util

* update test

* add comments

* remove class api

* fix example

* add setup and teardown to tests

* formatting

* Update python/ray/tune/tests/test_trial_scheduler_pbt.py

Co-authored-by: Kai Fricke <kai@anyscale.com>
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-14 17:52:30 -07:00
Siyuan (Ryans) Zhuang
17ca1d8ff4
[Core] Object spilling prototype (#9818) 2020-08-14 15:39:10 -07:00
Robert Nishihara
36e626e95d
Revert "[Dashboard] Start the new dashboard (#9860)" (#10116)
This reverts commit 739933e5b8.
2020-08-14 14:06:57 -07:00
Philipp Moritz
6b53df9599
Hash contents of SSH key instead of key path (#10103) 2020-08-14 00:10:31 -07:00
Lixin Wei
0fe5722744
[Core] Add cached memory to unsued memory in Linux/BSD (#10084)
* add cached memory to available memory

* format

* bug fixed

* bug fixed

* fixed

* lint
2020-08-13 23:47:52 -07:00
Ian Rodney
a252aa29da
[docker] Wrap more internal items with run_env="host" (#10078) 2020-08-13 20:35:06 -07:00
SangBin Cho
55fe7f65a5
[Tests] Make test_output debugging easy (#10091)
* Fix.

* Fix.
2020-08-13 18:45:26 -07:00
Eric Liang
c9f13b0833
[Placement Groups] Support CUDA_VISIBLE_DEVICES (#10053) 2020-08-13 18:00:04 -07:00
Simon Mo
01f38bc5d1
CoreWorker correctly push metrics to agent (#10031) 2020-08-13 16:44:53 -07:00