Commit graph

13280 commits

Author SHA1 Message Date
dependabot[bot]
53d6099b96
[data](deps): Bump dask[complete]
Bumps [dask[complete]](https://github.com/dask/dask) from 2022.2.0 to 2022.7.0.
- [Release notes](https://github.com/dask/dask/releases)
- [Changelog](https://github.com/dask/dask/blob/main/docs/release-procedure.md)
- [Commits](https://github.com/dask/dask/compare/2022.02.0...2022.7.0)

---
updated-dependencies:
- dependency-name: dask[complete]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 07:11:51 +00:00
Siyuan (Ryans) Zhuang
b0e913fd07
[workflow] Workflow queue (#24697)
* implement workflow queue
2022-07-08 17:24:45 -07:00
Jun Gong
d234348bd2
[RLlib] Minor simplification of code. (#26312) 2022-07-08 13:21:54 -07:00
Amog Kamsetty
cc43bcccb4
[AIR] Update TensorflowPredictor to new API (#26215)
Updates TensorflowPredictor to use the new _predict_pandas API.

Also as agreed upon offline, removes the extra configurations from TensorflowPredictor (column selection, concatenation) in favor of having this be done via a Preprocessor.
2022-07-08 13:04:49 -07:00
Avnish Narayan
1243ed62bf
[RLlib] Make Dataset reader default reader and enable CRR to use dataset (#26304)
Co-authored-by: avnish <avnish@avnishs-MBP.local.meter>
2022-07-08 12:43:35 -07:00
Archit Kulkarni
61c9e761f3
[runtime_env] [doc] Remove outdated info about "isolated" environment (#26314) 2022-07-08 14:15:12 -05:00
Philipp Moritz
7127c03837
[Doc] Fix rate-the-docs plugin (#26384) 2022-07-08 12:10:58 -07:00
ej
636105e8e2
[Docs] [Serve] Has a consistent landing page style (#26029) 2022-07-08 11:58:21 -07:00
Nikita Vemuri
56716a1c1b
[dashboard] Add RAY_CLUSTER_ACTIVITY_HOOK to /api/component_activities (#26297)
Add external hook to /api/component_activities endpoint in dashboard snapshot router
Change is_active field of RayActivityResponse to take an enum RayActivityStatus instead of bool. This is a backward incompatible change, but should be ok because [dashboard] Add component_activities API #25996 wasn't included in any branch cuts. RayActivityResponse now supports informing when there was an error getting the activity observation and the reason.
2022-07-08 10:51:59 -07:00
Kai Fricke
e1a7efe148
[tune] Use Checkpoint.to_bytes() for store_to_object (#25805)
We currently use our own serialization to ship checkpoints as objects. Instead we should use the Checkpoint class. This PR also adds support to create results from checkpoints pointing to object references.

Depends on #26351

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-08 18:01:20 +01:00
Antoni Baum
0e259ff844
[tune] Fix SyncerCallback having a size limit (#26371)
#25655 refactored syncing but it introduced a regression - previously, dirs of any size could have been synced, but now only dirs below the default limit of 1 GB can be. This PR fixes this regression allowing dirs of any size to be synced.
2022-07-08 17:58:41 +01:00
Kai Fricke
86b9b4b7a5
[air] Serialize additional files in dict checkpoints turned dir checkpoints (#26351)
With this PR, files put into directory checkpoints that were dict checkpoints will be serialized and retained when a subsequent to_dict() is called. This is to enable storing additional files, as e.g. needed by Ray Tune.

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-08 10:03:16 +01:00
Philipp Moritz
6dd564d8b5
[Docs] Add "rate the docs" plugin for feedback on docs (#26330) 2022-07-07 22:30:32 -07:00
Philipp Moritz
60c5ed7bfd
[Doc] Fix actor example (#26381) 2022-07-07 21:19:51 -07:00
Jiajun Yao
743e2f403a
Set RAY_USAGE_STATS_EXTRA_TAGS for release tests (#26366)
- Record the test name for the usage stats.
- Change the cluster name to indicate if it's smoke test or not.
2022-07-07 21:17:34 -07:00
Cheng Su
4e674b6ad3
[Datasets] Update docs for drop_columns and fix typos (#26317)
We added drop_columns() API to datasets in #26200, so updating documentation here to use the new API - doc/source/data/examples/nyc_taxi_basic_processing.ipynb. In addition, fixing some minor typos after proofreading the datasets documentation.
2022-07-07 17:17:33 -07:00
Antoni Baum
ea94cda1f3
[AIR] Replace train. with session. (#26303)
This PR replaces legacy API calls to `train.` with AIR `session.` in Train code, examples and docs.

Depends on https://github.com/ray-project/ray/pull/25735
2022-07-07 16:29:04 -07:00
Yi Cheng
f2f1086868
[serve] Add healthz endpoint for HttpProxy (#26347) 2022-07-07 14:01:42 -07:00
Sijie Wang
3ad13fb4c1
[Doc] Disable the autoselection of the first instant search result so it's easier to see the full search results (#26367) 2022-07-07 12:54:41 -07:00
Antoni Baum
b9a4f64f32
[AIR/train] Use new Train API (#25735)
Uses the new AIR Train API for examples and tests.

The `Result` object gets a new attribute - `log_dir`, pointing to the Trial's `logdir` allowing users to access tensorboard logs and artifacts of other loggers.

This PR only deals with "low hanging fruit" - tests that need substantial rewriting or Train user guide are not touched. Those will be updated in followup PRs.

Tests and examples that concern deprecated features or which are duplicated in AIR have been removed or disabled.

Requires https://github.com/ray-project/ray/pull/25943 to be merged in first
2022-07-07 12:28:37 -07:00
xwjiang2010
40f9561f78
[ml/release] fix ptl ml user test. (#26365)
Between version1 and 2 of [this](https://console.anyscale-staging.com/o/anyscale-internal/configurations/app-config-versions/apt_TsCpJCRjMJDpNFhNgJmyCniS) cluster_env, 1 fails and 2 succeeds.

btw, we really should start to think about a systematic approach towards our python dependency story.
- between client and server
- but more importantly server side, and any conflicts among requirements
- how are pip freeze result evolving over time
2022-07-07 11:45:46 -07:00
Stephanie Wang
dcc913073f
[testing] Run 100TB shuffle test nightly (#26306)
Run this test nightly to collect more datapoints on stability and performance of 100TB shuffle.
2022-07-07 09:59:54 -07:00
Jun Gong
b23642473b
[Datasets] When getting a column's value from a PandasRow, catch ValueError (#26278)
Otherwise, things won't work for columns that has an ndarray as the value.
2022-07-07 09:55:03 -07:00
SangBin Cho
2dd5fdfdf1
[Usage stats] Add tags & number of nodes to the report. (#25852)
This PR adds the RAY_EXTRA_USAGE_TAGS to add additional tag metadata + number of nodes to the report.
2022-07-07 08:31:04 -07:00
Kai Fricke
9b49417a72
[ci/hotfix] Pin raydp-nightly (#26358)
Alternative to #26356 - here we just pin raydp-nightly and resolve the dependency issues in follow-up PRs.

This is to quickly unblock CI.

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-07 14:54:01 +01:00
Guyang Song
857e51aadc
[C++ API] script exits if a single command fails(#26344) 2022-07-07 16:54:53 +08:00
Kai Yang
e31baebc4e
[Core] Fix WaitManager dealing with duplicate objects (#26256)
When calling an actor method with duplicate ObjectRefs, the actor method will never be executed. The root cause is that `WaitRequest::ready` is of type `std::unordered_set` rather than `std::vector`.

b9ade079cb/src/ray/raylet/wait_manager.h (L77)

So the below if conditions won't be true.

b9ade079cb/src/ray/raylet/wait_manager.cc (L45-L48)

b9ade079cb/src/ray/raylet/wait_manager.cc (L103-L105)

The bug was introduced by https://github.com/ray-project/ray/pull/21369, so it exists in Ray 1.11.0+.
2022-07-07 15:14:09 +08:00
brucez-anyscale
f76d7b23f2
Revert "Revert "[Dashboard][Serve] Move Serve related endpoints to dashboard agent"" (#26336) 2022-07-06 19:37:30 -07:00
Siyuan (Ryans) Zhuang
b803792b58
[workflow] Standardize workflow blocking and nonblocking APIs (#26318)
This PR unified the semantics of some workflow APIs.

Those workflow APIs acts on workflow tasks so they could be blocked for a long time. So we have both the blocking and non-blocking versions for them: xxx for blocking and xxx_async for non-blocking APIs.
2022-07-06 13:35:36 -07:00
Yi Cheng
12d147ff1f
Revert "[Dashboard][Serve] Move Serve related endpoints to dashboard agent (#26107)" (#26333)
This reverts commit 84166ccb04.
2022-07-06 13:30:33 -07:00
Philipp Moritz
1ba8c8cc67
[Examples] OCR Ray Datasets example (#25930)
This is a simple example that shows how to do OCR with Ray Datasets. It includes:

- How to upload and download the dataset to and from S3
- How to run OCR on the dataset with tesseract
- How to use actors to keep around and re-use a spaCy context for doing NLP on the data

Co-authored-by: Clark Zinzow <clarkzinzow@gmail.com>
2022-07-06 13:11:26 -07:00
Peyton Murray
ea47d97a54
[Core] Add HTML reprs for ClientContext and WorkerContext (#25730) 2022-07-06 12:19:19 -07:00
Alex Wu
146f65ba7a
[docs] Update docs for building from source (#26045)
The existing docs didn't work for me and these updates did. 🤷‍♀️ I selectively pulled this stuff out of the CI (which ideally would just be runnable locally).
2022-07-06 12:17:05 -07:00
SangBin Cho
079ae9f013
[Test] Fix flaky OSX shuffle (#26158)
Seems like the last RPC is failing after shuffle succeeds. Adding retry to fix the issue.
2022-07-06 11:16:09 -07:00
brucez-anyscale
84166ccb04
[Dashboard][Serve] Move Serve related endpoints to dashboard agent (#26107)
In Ray 2.0, we want to achieve api server HA.
Originally serve endpoints are in head node.
This pr moves serve endpoints to dashboard agents, so they will be HA due to multiple replica of dashboard agent.
2022-07-06 10:58:00 -07:00
Chen Shen
29358f9677
[Core][Doc] add docs for out of disk prevention. (#26291)
Update docs to reflect the out of disk prevention feature.
2022-07-06 07:37:54 -07:00
Steven Morad
0bc465f687
[RLlib] Fix docstring and add unit tests for rnn sequencing. (#26197) 2022-07-06 14:32:57 +02:00
Tao Wang
b3ba1e7ea2
[Test]Disable java call cpp actor case for now (#26288) 2022-07-06 19:53:30 +08:00
liuyang-my
a6ad48d778
[Serve] Java Client API and End to End Tests (#22726) 2022-07-05 21:19:18 -07:00
Antoni Baum
d1966899bb
[Docs] Small fix to AIR examples descriptions (#26227) 2022-07-05 17:16:56 -07:00
Jiao
89b0b82c13
[Deployment Graph] Move Deployment creation outside to build function (#26129) 2022-07-05 16:38:02 -07:00
Dmitri Gekhtman
34f1b32861
[K8s][Ray Operator] Ignore resource requests when detected container resources. (#26234)
When detecting resource capacities to advertise to Ray, the Ray operator takes into account requests. This doesn't make sense -- taking a min of resources and limits definitely doesn't make sense. Only limits should be considered.
2022-07-05 15:19:16 -07:00
Guyang Song
cf7305a2c9
Revert "[Core] Add retry exception allowlist for user-defined filteri… (#26289)
Closes #26287.
2022-07-05 15:17:36 -07:00
xwjiang2010
84279286df
[ci] pin gpustat (#26311) 2022-07-05 15:05:20 -07:00
xwjiang2010
d0dfbe09e3
[tune] fix set_tune_experiment (#26298) 2022-07-05 15:04:51 -07:00
Simon Mo
88a219c7f2
Revert "Revert "[AIR][Serve] Rename ModelWrapperDeployment -> PredictorDeployment"" (#26231) 2022-07-05 13:26:49 -07:00
Amog Kamsetty
6f683c8d1c
[Release] Use nightly base images for release tests (#25373)
Revert back to using nightly base images instead of pinning to 1.12.1. Pinning the docker image had led to uncaught errors in the past. Instead, we should be using nightly to make sure release tests will work on the most up to date versions of docker/cluster envs. If there are any test failures, the underlying issues should be fixed rather than pinning the docker image.

Co-authored-by: Kai Fricke <kai@anyscale.com>
2022-07-05 10:58:53 -07:00
mwtian
ccabba88ae
Revert "[Core] fix gRPC handlers' unlimited active calls configuration (#25626)" (#26202)
Reverts #25626

Closes #26195.
2022-07-05 09:15:05 -07:00
Christy Bergman
5b44afe9c1
[RLlib] Some Docs fixes (2). (#26265) 2022-07-05 15:46:32 +02:00
Kai Yang
7ea9d91e1a
[C++ worker] Refine worker context and more (#26281)
* Avoid depending on `CoreWorkerProcess::GetCoreWorker()` in local mode.
* Fix bug in `LocalModeObjectStore::PutRaw`.
* Remove unused `TaskExecutor::Execute` method.
* Use `Process::Wait` instead of sleep when invoking `ray start` and `ray stop`.
2022-07-05 13:47:28 +08:00