Commit graph

3033 commits

Author SHA1 Message Date
SangBin Cho
7b29eb7949
[Build] Try parallel Python builds. (#10291)
* Trial 1.

* Parallelize even more.
2020-08-28 00:06:52 -07:00
SongGuyang
cb70864c04
[cpp worker] support cluster mode and object Put/Get works (#9682) 2020-08-28 13:53:36 +08:00
Richard Liaw
0d22c0b653
[tune] Avoid recreating actor multiple times (#10374) 2020-08-27 18:02:26 -07:00
Richard Liaw
922bf9f45a
[cli] improve error handling, don't swallow errors (#10370) 2020-08-27 17:59:44 -07:00
Richard Liaw
ed5de89470
FIX: Lint (#10384) 2020-08-27 17:56:39 -07:00
SangBin Cho
f35339b5ff
[Dashboard] Change default ip address for the dashboard to ipv4 (#10287)
* Done.

* Add todo.

* Addressed code review.

* Fix issue.

* Fix test failure.

* Fix a test.
2020-08-27 14:43:10 -07:00
Alex Wu
7dbc1f439c
[hotfix] Autoscaler monitor fix unit tests 2020-08-27 14:26:41 -07:00
Alex Wu
76898d4ebc
[Autoscaler][hotfix] Remove additionalProperties from available_node_types schema (#10366) 2020-08-27 13:56:44 -07:00
Eric Liang
bd245a1c18
[api] Clean up and document Actor name / lifetime API (#10332) 2020-08-27 13:38:39 -07:00
Clark Zinzow
0178d6318e
[Core] Expand job ID to 4 bytes by removing object flag bytes. (#10187) 2020-08-27 14:08:17 -05:00
Philipp Moritz
b8673e5697
[autoscaler] Make KeyName optional in AWS autoscaler (#10336) 2020-08-27 11:08:44 -07:00
architkulkarni
eea7a86163
[Serve] add type hints for controller and backend_worker (#10288) 2020-08-27 10:20:36 -07:00
Stephanie Wang
f75dfd60a3
[api] API deprecations and cleanups for 1.0 (internal_config and Checkpointable actor) (#10333)
* remove

* internal config updates, remove Checkpointable

* Lower object timeout default

* remove json

* Fix flaky test

* Fix unit test
2020-08-27 10:19:53 -07:00
Amog Kamsetty
0aec4cbccb
[Tune] Update PBT Transformers Example (#10289)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
Co-authored-by: krfricke <krfricke@users.noreply.github.com>
2020-08-27 08:25:05 -07:00
krfricke
53ab228b75
[tune] Fix log to file on actor reuse (#10363) 2020-08-27 08:22:19 -07:00
Alex Wu
6d2af33a01
[Autoscaler] Proper resource demand plumbing (#10329) 2020-08-26 23:36:01 -07:00
Lixin Wei
fe6daef85e
[Core]Add runtime context for python worker (#10309)
* add runtime context for python

* fixed

* code fixed

* test added

* lint

* lint
2020-08-26 20:11:42 -07:00
Ameer Haj Ali
17c8c63e7e
Metadata schema (#10328)
* metadata

* Eric

Co-authored-by: Ameer Haj Ali <ameerhajali@Ameers-MacBook-Pro.local>
2020-08-26 15:43:03 -07:00
Richard Liaw
29e8a664c4
[cli] make sure old-style works (#10344) 2020-08-26 15:26:24 -07:00
Ian Rodney
dc378a80b7
[autoscaler/docker] Docker Inititialization Revamp (#9515)
* Basic idea

* Small fixes

* dockerize start commands in Command Runner

* Remove run_init from CommandRunnerInterface

* Add Parens

Co-authored-by: Simon Mo <simon.mo@hey.com>

* Cleaning up

* Response to richards comments

* Further small fixes

* Fix Json

* schema format fix

* cleanup

* run more often

* fix indent

* Fix richards responses

* fix ups

* remove docker_commands from schema

* default to list

* fix docker cmd runner test

* lint fix

Co-authored-by: Simon Mo <simon.mo@hey.com>
2020-08-26 10:29:06 -07:00
Michael Luo
4e9888ce2f
[RLlib] Dreamer (#10172) 2020-08-26 13:24:05 +02:00
Alex Wu
9ca159aa0b
[Autoscaler] Multi node commands (#10236) 2020-08-25 23:35:38 -07:00
Amog Kamsetty
8c0503ddd3
[Tune] Convert PBT DCGAN Example to Function API (#10246)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-25 22:34:19 -07:00
Antoni Baum
87ed20738e
[tune] Add on_pause, on_unpause to ConcurrencyLimiter (#10320)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-25 22:33:17 -07:00
Simon Mo
ed3fdd2c0b
[Serve] Remove register_custom_serializer (#10331) 2020-08-25 21:20:43 -07:00
Edward Oakes
cbd9632f3a
Fix wait timeout logic (#10199) 2020-08-25 22:41:39 -05:00
fyrestone
08adbb371f
Cross language exception (#10023) 2020-08-26 10:46:05 +08:00
Robert Nishihara
79eefbf357
Better checking that ray.init() has been called. (#10261) 2020-08-25 17:13:11 -07:00
Stephanie Wang
d4537ac1ce
[core] Try to schedule tasks locally before spilling over to remote nodes (#10302)
* Regression test

* Spillback

* Remove check for actor tasks
2020-08-25 15:01:59 -07:00
Richard Liaw
146d91385c
[tune] custom trial directory name (#10214) 2020-08-25 12:52:54 -07:00
SangBin Cho
3b3ca96a4e
[Placement Group] Wait (#10259)
* Initial progress done.

* Fix wrong test.

* Improve tests.

* Update code.

* Addressed code review and merge conflict.

* Addressed code review.
2020-08-24 20:14:48 -07:00
Richard Liaw
6dc22a6d68
[autoscaler] Fix logging regression (#10280) 2020-08-24 14:25:12 -07:00
fyrestone
05c103af94
[Dashboard] Start the new dashboard (#10131)
* Use new dashboard if environment var RAY_USE_NEW_DASHBOARD exists; new dashboard startup

* Make fake client/build/static directory for dashboard

* Add test_dashboard.py for new dashboard

* Travis CI enable new dashboard test

* Update new dashboard

* Agent manager service

* Add agent manager

* Register agent to agent manager

* Add a new line to the end of agent_manager.cc

* Fix merge; Fix lint

* Update dashboard/agent.py

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

* Update dashboard/head.py

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

* Fix bug

* Add tests for dashboard

* Fix

* Remove const from Process::Kill() & Fix bugs

* Revert error check of execute_after

* Raise exception from DashboardAgent.run

* Add more tests.

* Fix compile on Linux

* Use dict comprehension instead of dict(generator)

* Fix lint

* Fix windows compile

* Fix lint

* Test Windows CI

* Revert "Test Windows CI"

This reverts commit 945e01051ec95cff5fcc1c0bc37045b46e7ad9a6.

* Fix ParseWindowsCommandLine bug

* Update src/ray/util/util.cc

Co-authored-by: Robert Nishihara <robertnishihara@gmail.com>

Co-authored-by: 刘宝 <po.lb@antfin.com>
Co-authored-by: SangBin Cho <rkooo567@gmail.com>
Co-authored-by: Robert Nishihara <robertnishihara@gmail.com>
2020-08-24 13:24:23 -07:00
Max Fitton
832f5cdccb
[Dashboard] Memory View Group by Stack Trace and UI Overhaul (#10227) 2020-08-24 14:54:42 -05:00
PidgeyBE
a82124d304
Update memory_monitor.py (#9212) 2020-08-24 10:29:01 -07:00
Eric Liang
4761eacc3e
[autoscaler] Also account for head node resources in multi node type autoscaling (#10230) 2020-08-24 10:26:22 -07:00
Ian Rodney
f051c2852e
[docker] docker cp correctly into container (#10253) 2020-08-24 09:18:34 -07:00
SangBin Cho
1f54acd274
[Tech Debt] Use f-string for python/ray/*.py (#10268)
* In progress.

* Done with critical path.

* Modified cluster_utils.py and log_monitor.py

* Addressed code review.
2020-08-23 22:01:31 -07:00
fangfengbin
b61a79efd7
[Placement Group]Fix SigSegv bug (#10262)
* fix SigSegv bug

* fix review comments

* fix ut bug

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-23 11:33:40 -07:00
Richard Liaw
73c4246332
[Core] fix-bad-stack (#10266) 2020-08-23 10:33:29 -07:00
Yu Shan
5264f888e4
fix iterable dataset (issue 9899) (#9952) 2020-08-22 19:40:38 -07:00
Maksim Smolin
245c0a9e43
[cli] Tests (#10057)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-22 13:29:10 -07:00
fangfengbin
8362029dcf
[Placement Group]Fix CrossLanguageInvocationTest failure (#10257)
* add part code

* rebase master

* add part code

* rebase master

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-22 12:12:00 -07:00
Richard Liaw
6bd5458bef
[tune] cleanup error messaging/diagnose_serialization helper (#10210) 2020-08-22 11:50:49 -07:00
Richard Liaw
24ee496b89
[tune] support rerunning failed trials (#10060) 2020-08-22 09:59:05 -07:00
krfricke
c31876002d
[tune/rllib] made wandb compatible with rllib trainables (#10252) 2020-08-21 17:25:52 -07:00
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