Commit graph

178 commits

Author SHA1 Message Date
Guyang Song
88b8de5904
[C++ API] support ray::IsInitialized (#17780)
* support ray::IsInitialized

* address comments

* fix
2021-08-13 00:51:26 +08:00
Guyang Song
e53aeca6bb
[C++ API]support set resources in RayConfig (#17779) 2021-08-12 22:53:42 +08:00
Guyang Song
63f9ba2858
[C++ API][Fix] support ray::Init without RayConfig (#17733) 2021-08-12 10:59:21 +08:00
qicosmos
05da724521
[C++ Worker] Replace Ray::xxx with ray::xxx and update namespaces (#17388) 2021-08-10 11:17:59 +08:00
SongGuyang
c62ce78be8
make C++ example more simpler (#17609) 2021-08-09 19:39:16 +08:00
Hao Chen
0858f0e4f2
Change core worker C++ namespace to ray::core (#17610) 2021-08-08 23:34:25 +08:00
qicosmos
f1f7d4a085
[C++ Worker]Add some APIs for task call part one (#16499) 2021-08-05 17:25:36 +08:00
Chen Shen
53a0c74413
[nightly-test] fix non_streaming_shuffle_1tb_5000_partitions 2021-08-04 16:06:53 -07:00
SongGuyang
3e42f54910
Support copyright format for c++ files (#14348) 2021-08-04 17:19:38 +08:00
Siyuan (Ryans) Zhuang
8efc04a8a6
[Core] Actor namespace (#17178)
* set actor namespace in Python on creation

* get actor with namespace in Python

* update message
2021-07-19 21:51:04 -07:00
SongGuyang
21b464ae9d
[C++ API] support get ray address from env (#17144) 2021-07-16 17:17:43 +08:00
SongGuyang
dcb1baabd7
[C++ API] support loading C++ dynamic libraries from code search path (#16828) 2021-07-16 13:02:45 +08:00
Tao Wang
8b922a8517
[Cpp] Use global state accessor to get session dir, if necessary (#17105)
* [Cpp]use global state accessor to get session dir, if necessary

* per comment
2021-07-16 10:36:56 +08:00
Qing Wang
4bde71ca86
[Java][Core] Support get current actor handle. (#14900) 2021-07-12 15:27:54 -07:00
Tao Wang
eed0ffc6ff
[Core]Align storage of session_dir in java/python so it can be accessed u… (#16958)
* Align storage of session_dir in java/python so they can be accessed using internal kv manager

* align cpp
2021-07-12 17:42:13 +08:00
SongGuyang
560fd15568
[C++ worker] support build and add C++ worker to python wheel (#16496) 2021-07-08 14:42:26 +08:00
Kai Yang
e925051ce4
[Core] Get node to connect for driver in global state accessor (#16810) 2021-07-08 11:21:12 +08:00
SongGuyang
1d5c72ebde
[C++ API] rename 'ray_redis_address' to 'ray_address' (#16772) 2021-06-30 20:50:28 +08:00
SongGuyang
41b9a5102b
[C++ worker] support build C++ worker during python setup (#16636) 2021-06-29 10:29:47 +08:00
qicosmos
500891c1e0
[C++ Worker]Support windows (#16700) 2021-06-28 17:45:20 +08:00
qicosmos
4da69174c8
[C++ Worker]Remove unused boost sub libs for the generated template project (#16526) 2021-06-21 14:46:48 +08:00
qicosmos
0f87eca3e9
[C++ Worker]Generate a template project for users (#16337) 2021-06-16 17:45:45 +08:00
SongGuyang
379c87dbbb
[C++ worker] bugfix of incorrect flag name "redis_password" and add test to support connecting to external cluster (#16219) 2021-06-11 11:49:13 +08:00
SongGuyang
09eebf0cc7
[C++ worker] use gflags to parse arguments in default worker (#16350)
* remove id.h dependence for c++ worker headers

* delete unuseful test

* fix lint

* [C++ worker] support config from RayConfig and command line(gflag)

* check password

* fix

* fix some comments

* optimization

* add files

* default to run cluster mode

* fix

* add node-ip-address params to C++ worker

* fix lint

* use gflags in c++ default_worker
2021-06-11 00:46:12 +08:00
SongGuyang
67761a4fc5
[C++ worker] add node-ip-address params to C++ worker (#16253) 2021-06-10 11:10:56 +08:00
qicosmos
45d2331d5a
[C++ Woker] Remove ray core dependency completely (#16108) 2021-05-31 15:39:18 +08:00
SongGuyang
17b5f4dcaa
[C++ worker] support config from RayConfig and command line(gflag) (#16086) 2021-05-31 11:56:02 +08:00
SongGuyang
a4c108e5f6
[C++ worker] delete unuseful test (#16082) 2021-05-27 11:23:59 +08:00
qicosmos
bbb61d0c00
[C++ Worker] remove core.h in api (#16079)
* remove core.h in api

* remove unused code and header

* remove core.h and some depencencies

* fix
2021-05-26 20:52:21 +08:00
qicosmos
498da13944
[C++ worker] Impove cpp worker (#15907) 2021-05-26 16:45:56 +08:00
qicosmos
d8f58e683f
[C++ worker] Add c++ worker log (#16015) 2021-05-26 16:13:02 +08:00
SongGuyang
7c3874b38e
remove id.h dependence for c++ worker headers (#16055) 2021-05-26 11:56:24 +08:00
qicosmos
1b3df53ab8
[C++ worker] Remove some api dependencies on ray core (#16011) 2021-05-25 20:19:25 +08:00
SongGuyang
4ea7719416
[C++ worker] don't expose ObjectID to users (#15966) 2021-05-25 16:36:34 +08:00
qicosmos
8790bb465b
[C++ worker] Remove func ptr offset (#15809) 2021-05-19 18:03:39 +08:00
Frank Luan
0dc34566fe
Refactor raylet to allocate+write+seal one return object at a time (#15757)
* Refactor raylet to allocate+write+seal one return object at a time

* Fix build

* Fix C++ and Java runtime

* Skip Windows testing

* Fix java and cpp runtime

* Fix warnings

* Fix cpp and java tests

* Fix cpp and java runtime

Co-authored-by: Stephanie Wang <swang@cs.berkeley.edu>
2021-05-17 20:06:08 -07:00
qicosmos
e4fb1c163e
[C++ Worker] Support overload functions for REAY_REMOTE (#14981)
Co-authored-by: qicosmos <chufeng.qy@antgroup.com>
2021-05-12 11:19:39 +08:00
qicosmos
4795048f1b
[C++ Worker] Support ray remote in one line (#14979)
Co-authored-by: qicosmos <chufeng.qy@antgroup.com>
Co-authored-by: Ian Rodney <ian.rodney@gmail.com>
2021-05-11 16:29:21 +08:00
qicosmos
e54dfd8cc5
[C++ worker] Ray actor task for RAY_REMOTE (#15039) 2021-04-12 15:40:35 +08:00
qicosmos
4c53c6ed1a
[C++ Worker] Improve normal task remote interface (#14978) 2021-03-29 19:55:16 +08:00
qicosmos
de7ee75d27
[C++ worker] Ray normal task for RAY_REMOTE (#14599) 2021-03-27 09:56:40 +08:00
Lixin Wei
72d87093b9
[Core] Make Actor DEAD and Save Exceptions in GCS When Error Happens in Constructor (#14211) 2021-03-17 12:50:28 -07:00
Siyuan (Ryans) Zhuang
b92531918e
Make use of C++14 'make_unique' (#14663) 2021-03-15 03:00:52 -07:00
qicosmos
f2348a5456
[C++ worker] Add ray register part1 (#14436) 2021-03-09 13:57:17 +08:00
qicosmos
d77e25b4b1
[C++ worker] Avoid recursive inclusion of API header files (#14414) 2021-03-04 18:51:02 +08:00
qicosmos
277b6f5d3c
Support arbitrary arguments for c++ worker normal tasks and actor tasks (#14233) 2021-03-01 16:27:03 +08:00
fyrestone
5e76a51d56
[Dashboard] Select port in dashboard (#13763)
* Dashboard select port; Fix dashboard may hangs when exit

* Add test case

* Fix

* Fix test_stats_collector.py::test_get_all_node_details

* Refine dashboard error messages

* Refine code

* Refine code

* Show last 10 lines of dashboard log if start dashboard failed

* Fix ValueError: too many values to unpack (expected 2) when getsockname

* Fix test_multi_node_3.py::test_calling_start_ray_head may fail

* Fix Windows CI

* Disable dashboard in C++ test

* Refine code

* Fix issue 7084

Co-authored-by: 刘宝 <po.lb@antfin.com>
2021-02-23 16:27:48 -08:00
Kai Yang
e75b143faf
[Core] Some small fixes and improvements (#14210) 2021-02-22 12:02:30 +08:00
qicosmos
bc46fc5fce
Cpp worker refactor serializer (#14027) 2021-02-18 15:37:58 +08:00
qicosmos
2307f54e88
[C++ API] simplify code of Arguments; avoid memory copy (#13978) 2021-02-18 10:33:18 +08:00