Robert Nishihara
d10cb570ab
Rename _submit -> _remote. ( #3321 )
2018-11-15 15:30:18 -08:00
Eric Liang
5723291db6
Raise exception if the node is nearly out of memory ( #3323 )
...
* wip
* add
* comment
* escape hatch
* update
* object store too
* .2
2018-11-15 12:55:25 -08:00
Lewis Belcher
5319fd044c
Update redis version in setup.py ( #3333 )
...
* `redis` has released a new version (https://github.com/andymccurdy/redis-py/releases/tag/3.0.0 )
* `ray` is not compatible with this version
* This PR adds the "compatible release" operator for `redis` version 2.10.6.
2018-11-15 10:40:08 -08:00
Eric Liang
706dc1d473
[rllib] Add test for multi-agent support and fix IMPALA multi-agent ( #3289 )
...
IMPALA support for multiagent was broken since IMPALA has a requirement that batch sizes be of a certain length. However multi-agent envs can create variable-length batches.
Fix this by adding zero-padding as needed (similar to the RNN case).
2018-11-14 14:14:07 -08:00
andrewztan
57c7b4238e
KL Divergence Metrics ( #3300 )
...
* added KL divergence metrics
* fix
2018-11-13 23:12:35 -08:00
Eric Liang
1660c9d627
Kill actor child processes on shutdown ( #3297 )
...
* example
* add env
* test pg
* change to test
* add atexit test
* Update rllib-env.rst
* comment
* revert unnecessary file
* fix title when actor is idle
* Update python/ray/actor.py
Co-Authored-By: ericl <ekhliang@gmail.com>
2018-11-13 19:16:42 -08:00
Eric Liang
65c27c70cf
[rllib] Clean up agent resource configurations ( #3296 )
...
Closes #3284
2018-11-13 18:00:03 -08:00
Philipp Moritz
d4fad222e1
Update profiling instructions for raylet ( #3311 )
2018-11-13 17:48:33 -05:00
Richard Liaw
97f423781b
Clean up Ray processes after cluster util exits ( #3278 )
2018-11-13 13:18:12 -08:00
Richard Liaw
c3a2c7ebed
[tune] Doc: Autofilled, StatusReporter ( #3294 )
...
* autofill and revise doc page for things
* lint
* comments
2018-11-13 13:15:56 -08:00
Eric Liang
6ee7a3b571
[rllib] Raise worker TF intra_op threads to 2, lower driver intra_op threads to 8 ( #3299 )
2018-11-13 11:41:58 -08:00
Richard Liaw
c0423db05c
[core] Add Global State Test for multi-node setting ( #3239 )
...
* add test for adding node
* multinode test fixes
* First pass at allowing updatable values
* Fix compilation issues
* Add config file parsing
* Full initialization
* Wrote a good test
* configuration parsing and stuff
* docs
* write some tests, make it good
* fixed init
* Add all config options and bring back stress tests.
* Update python/ray/worker.py
* Update python/ray/worker.py
* Fix internalization
* some last changes
* Linting and Java fix
* add docstring
* Fix test, add assertions
* pytest ext
* lint
* lint
2018-11-13 10:35:24 -08:00
Eric Liang
d90f365394
[rllib] Add self-supervised loss to model ( #3291 )
...
# What do these changes do?
Allow self-supervised losses to be easily defined in custom models. Add this to the reference policy graphs.
2018-11-12 18:55:24 -08:00
Eric Liang
bd0dbde149
[rllib] Rename ServingEnv => ExternalEnv ( #3302 )
2018-11-12 16:31:27 -08:00
Richard Liaw
e37891d79d
[tune] Fix default handling for timesteps ( #3293 )
...
This PR fixes an issue where previously if timesteps_this_iter = 0,
then it would render as "None".
Closes #3057 .
2018-11-12 15:52:17 -08:00
Eric Liang
49e2085d78
[rllib] Don't reset envs when possible ( #3290 )
...
* laz
* better errors
2018-11-11 01:45:37 -08:00
Eric Liang
463511f8a6
[tune] Track and warn on low memory ( #3298 )
2018-11-11 00:29:45 -08:00
Eric Liang
53489d2f85
[sgd] Document and add simple MNIST example ( #3236 )
2018-11-10 21:52:20 -08:00
Richard Liaw
29c182d449
[tune] Support "None" for upload_dir
2018-11-09 22:02:08 -08:00
Eric Liang
a51d618d88
[autoscaler] missing example-full.yaml file in the latest wheel for provider type "local"
2018-11-09 21:25:15 -08:00
Eric Liang
9dd3eedbac
[rllib] rollout.py should reduce num workers ( #3263 )
...
## What do these changes do?
Don't create an excessive amount of workers for rollout.py, and also fix up the env wrapping to be consistent with the internal agent wrapper.
## Related issue number
Closes #3260 .
2018-11-09 12:29:16 -08:00
Richard Liaw
22113be04c
[tune] Annotated Example Page and showcase Tutorials ( #3267 )
...
Adds an example page and link in codebase.
Closes #2728 .
2018-11-08 23:45:05 -08:00
Eric Liang
588705b6fa
[autoscaler] Add option to allow private ips only ( #3270 )
...
* merge
* update
* upd
* Update python/ray/autoscaler/autoscaler.py
Co-Authored-By: ericl <ekhliang@gmail.com>
* Update python/ray/autoscaler/autoscaler.py
Co-Authored-By: ericl <ekhliang@gmail.com>
* Update python/ray/autoscaler/aws/config.py
Co-Authored-By: ericl <ekhliang@gmail.com>
* fix
2018-11-08 17:07:31 -08:00
Philipp Moritz
8894883153
Force kill web UI in ray stop ( #3257 )
2018-11-08 00:05:32 -08:00
Eric Liang
9b2794101d
[minor] Change chunk already exists to DEBUG, add flags for rllib multi node testing ( #3228 )
2018-11-08 00:04:20 -08:00
Stephanie Wang
d950e92f63
Allow multiple threads to call ray.get and ray.wait ( #3244 )
...
* Handle multiple threads calling ray.get
* Multithreaded ray.wait
* Pass in current task ID in java backend
* Add multithreaded actor to tests, add warning messages to worker for multithreaded ray.get
* Fix test
* Some cleanups
* Improve error message
* Add assertion
* Cleanup, throw error in HandleTaskUnblocked if task not actually blocked
* lint
* Fix python worker reset
* Fix references to reconstruct_objects
* Linting
* java lint
* Fix java
* Fix iterator
2018-11-07 22:39:28 -08:00
Richard Liaw
0bab8ed95c
Expose internal config parameters for starting Ray ( #3246 )
...
## What do these changes do?
This PR exposes the CL option for using a config parameter. This is important for certain tests (i.e., FT tests that removing nodes) to run quickly.
Note that this is bad practice and should be replaced with GFLAGS or some equivalent as soon as possible.
#3239 depends on this.
TODO:
- [x] Add documentation to method arguments before merging.
- [x] Add test to verify this works?
## Related issue number
2018-11-07 21:46:02 -08:00
Eric Liang
43df405d07
[rllib] Add some debug logs during agent setup ( #3247 )
2018-11-07 14:54:28 -08:00
Richard Liaw
cf9e838326
[tune] Raise Error when overstepping ( #3235 )
2018-11-07 14:27:09 -08:00
Eric Liang
29e3362905
Better errors on process deaths ( #3252 )
2018-11-07 14:08:16 -08:00
Robert Nishihara
1dd5d92789
Enable timeline visualizations of object transfers. ( #3255 )
...
* Plot object transfers.
* Linting
2018-11-07 12:45:59 -08:00
Eric Liang
2e04ffe00c
Change dict serialization warning to debug ( #3230 )
2018-11-06 21:23:07 -08:00
eugenevinitsky
344b4ef0ff
[rllib] Fix filter sync for ES and ARS ( #2918 )
2018-11-06 19:09:34 -08:00
Eric Liang
725df3a485
Set the process title in workers and actors ( #3219 )
2018-11-06 14:59:22 -08:00
Peter Schafhalter
f3efcd2342
Fix password authentication in worker ( #3124 )
2018-11-06 13:40:03 -08:00
Eric Liang
8356a01dd6
Remove suppressing duplicate error message (missed a couple)
2018-11-05 23:37:14 -08:00
Eric Liang
80f63696ac
Cap object store memory to 20GB when size is None ( #3243 )
...
* Update services.py
* Update services.py
2018-11-05 18:34:19 -08:00
Eric Liang
813f51769f
[rllib] Fix rllib rollouts script and add test ( #3211 )
...
## What do these changes do?
Clean up the checkpointing to handle the new checkpoint dirs. Add a test for rollout.py
## Related issue number
https://github.com/ray-project/ray/issues/3206
https://github.com/ray-project/ray/issues/3204
2018-11-05 00:33:25 -08:00
xutianming
fb6ac28b44
single sourcing the package version ( #3220 )
2018-11-04 13:53:55 -08:00
Eric Liang
369cb833fe
[rllib] Implement custom metrics ( #3144 )
2018-11-03 18:48:32 -07:00
Eric Liang
7d69c77a19
[rllib] Decouple ape-x sampling and learning speed
2018-11-03 18:07:39 -07:00
Eric Liang
9a0f0db070
Add ray stack
tool for debugging ( #3213 )
2018-11-03 13:13:02 -07:00
Wang Qing
ca7d4c2cf5
Enable to specify driver id by user. ( #3084 )
2018-11-02 19:01:50 -07:00
Robert Nishihara
e495ab5e7c
Fix some paths /tmp/raylogs -> /tmp/ray. ( #3189 )
2018-11-02 12:10:53 -07:00
Robert Nishihara
5822aa2388
Rename get_task -> worker_idle in timeline. ( #3179 )
...
* Rename get_task -> worker_idle in timeline.
* Fix test.
2018-11-02 12:08:46 -07:00
Eric Liang
2bef9844bf
Revert "[autoscaler] Also grant roles to worker nodes" ( #3199 )
...
This reverts commit 55d161b49f
.
2018-11-01 23:23:06 -07:00
Robert Nishihara
e612e26103
Add use_raylet option for backwards compatibility. ( #3176 )
...
* Add use_raylet option for backwards compatibility.
* Update message.
2018-11-01 14:16:04 -07:00
Eric Liang
b2caed9651
[minor] fix a3c pytorch example dim 80 => 84
2018-10-31 22:00:14 -07:00
Eric Liang
cd284bb487
[rllib] Document env compatibility, Ape-X support for multi-agent ( #3147 )
2018-10-31 21:59:34 -07:00
Richard Liaw
2086a57e61
[tune] Add Fractional GPU example/docs ( #3169 )
...
* Add example for fractional GPU support
* Update tune_mnist_keras.py
* Update doc/source/tune-usage.rst
2018-10-31 18:53:16 -07:00