Commit graph

13713 commits

Author SHA1 Message Date
Yi Cheng
a3f428e330
[ray2.0][ci] Fix test_gcs_ha_e2e.py (#27263) (#27280)
This PR fix the broken test. The test failed because it's not installing the latest wheel.
2022-07-30 00:12:24 -07:00
Yi Cheng
9391008bc0
[ci] Deflakey gcs_heartbeat_test in windows. (#27275) (#27294)
We need to check the time after acquiring the lock to make sure the correctness. Otherwise, it might wait for the lock and the heartbeat has been updated.
2022-07-30 00:10:53 -07:00
scv119
c0fd69a33b Revert "[autoscaler] Remove deprecated fields from schema (#27040) (#27200)"
This reverts commit cd1ba2da80.
2022-07-29 15:37:52 -07:00
Jun Gong
24976ef23a
[RLlib] Revert 41c9ef70. (#27243) (#27270)
Why are these changes needed?
Also:
Add validation to make sure multi-gpu and micro-batch is not used together.
Update A2C learning test to hit the microbatching branch.
Minor comment updates.
2022-07-29 12:02:23 -07:00
Guyang Song
860fe6ccdd
[Hotfix] Fix the failure of C++ tests (#27249) (#27260)
Signed-off-by: 久龙 <guyang.sgy@antfin.com>
2022-07-29 11:59:42 -07:00
xwjiang2010
4bf33efd5c
[air] Add annotation for Tune module. (#27060) (#27210)
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>

As a follow up to #27060.
2022-07-29 11:11:45 -07:00
Eric Liang
59f7a82821
Fix logger initialization (#27238) (#27264)
Cherry-pick #27238 into 2.0 branch.
2022-07-29 11:09:48 -07:00
Jiao
f07f2d8621 [AIR][Data] Fix nyc_taxi_basic_processing notebook (#26983) 2022-07-29 10:24:25 -07:00
matthewdeng
86718071fe
[tune] Increase volume size for long running pbt failure (#27163) (#27247)
Currently running into an issue:

Cluster startup Failed. Error: RuntimeError: botocore.exceptions.ClientError: An error occurred (InvalidBlockDeviceMapping) when calling the RunInstances operation: Volume of size 202GB is smaller than  snapshot 'snap-02c4e6a0ad06cf3d6', expect size >= 400GB

Co-authored-by: Kai Fricke <krfricke@users.noreply.github.com>
2022-07-29 01:16:40 -07:00
Kai Fricke
c680837289
[air/train/release/2.0.0] Rename BaseWorkerMixin, only log info torch loop for rank 0 (#27228)
Following up from #27098, this PR renames the baseworker mixin and declutters training output by only logging for rank 0 actors.

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-29 09:04:02 +01:00
Jian Xiao
0916807fb1 Fix the ray version to doc version mapping (#27191)
Why are these changes needed?
It doesn't work if the ray version is something like "2.0.0rc0"
2022-07-28 23:36:52 -07:00
Chen Shen
8b7ccf8502 [CI][hotfix] remove no-index
--no-index will not try to install pip packages from pypi. this breaks CI because it failed to find grpcio==1.43.0 as it's missing from cache.
2022-07-28 23:31:24 -07:00
SangBin Cho
1b1787a9aa [Test] Try fixing a flaky gcs heartbeat manager test. (#27096)
Heartbeat manager starts its own thread to run its background task and that shares the same data structured used within HandleReportHeartbeat (heartbeats_). That said, both methods should run in the same thread. This achieves it by running HandleReportHeartbeat within the io_service thread
2022-07-28 22:42:49 -07:00
Chen Shen
96f9b9506f Revert "Allow grpcio >= 1.48 (#26765)" (#27244)
This reverts commit 6acd0a4c9b.
2022-07-28 22:37:41 -07:00
Siyuan (Ryans) Zhuang
f371e17a7f
Fix flaky workflow events CI test by extending timeout (#27231)
Signed-off-by: Siyuan Zhuang <suquark@gmail.com>
2022-07-28 19:04:34 -07:00
Jimmy Yao
2a0a086ffa
[hot fix] Cherry pick/hot fix 0728 ray lightning (#27225)
unblock linter
2022-07-28 17:55:26 -07:00
Alex Wu
cd1ba2da80
[autoscaler] Remove deprecated fields from schema (#27040) (#27200)
This change cuts off support for deprecated schema fields. It intentionally breaks backwards compatibility with old configs which set a global min_workers, use head_node or worker_nodes, autoscaling_mode, initial_workers, target_utilization_fraction, and default_worker_node_type fields.

Co-authored-by: Alex alex@anyscale.com
2022-07-28 17:09:43 -07:00
Clark Zinzow
f7b46b3ecc
[AIR - Datasets] Fix AIR release tests dealing with tensor columns. (#27221) (#27224)
This PR fixes some AIR release tests that deal with tensor columns.
2022-07-28 16:40:48 -07:00
Guyang Song
950939c7dc
[hotfix] Fix the failure of java test (#27183) (#27192)
Signed-off-by: 久龙 <guyang.sgy@antfin.com>
2022-07-29 07:28:07 +08:00
Yi Cheng
f50729b2ed
[ci] Move test_storage to large test because of windows timeout. #27212 (#27230)
Windows actually can pass the test, but it'll need > 300s. Move it to large test.

Signed-off-by: Yi Cheng <chengyidna@gmail.com>
2022-07-28 15:15:32 -07:00
Kai Fricke
55e9e44a87
[tune/release/2.0.0] Gracefully fail in lstat lookup (#27226) 2022-07-28 15:15:16 -07:00
Kai Fricke
abca0ba165
[tune/release/2.0.0] Fix tune_cloud_aws_durable_upload_rllib_* release tests (#27180) 2022-07-28 15:14:49 -07:00
Kai Fricke
24ed249d7c
[air] fix xgboost_benchmark script by passing in args (#27146) (#27158)
Co-authored-by: matthewdeng <matt@anyscale.com>
2022-07-28 15:05:31 -07:00
Alan Guo
6014087505
[Dashboard] Fix node rows not being removed correctly when using filters (#27205) (#27223)
Cherry pick of #27205
2022-07-28 14:43:39 -07:00
Alan Guo
adedfdb0ba
Add back job_id to submit_job API to maintain backwards-compatibility (#27110) (#27202)
Fix for a unintentional backwards-compatibility breakage for #25902
job submit api should still accept job_id as a parameter

Signed-off-by: Alan Guo aguo@anyscale.com
2022-07-28 14:27:48 -07:00
Kai Fricke
dc0b445323
[rllib/release/2.0.0] Fix rllib connect test (#27162)
Why are these changes needed?
Follow-up from #27155 - this will let the connect test pass
2022-07-28 14:23:23 -07:00
Clark Zinzow
22ca30cd92
[Cherry-pick] [AIR - Datasets] Hide tensor extension from UDFs. (#27196) 2022-07-28 13:59:19 -07:00
Chen Shen
94cb7aca29
[Data][Split] Fix split ownership (#27149) (#27195)
fb54679 introduced a bug by calling ray.put in the remote _split_single_block. This changes the ownership from driver to the worker who runs _split_single_block, which breaks dataset's lineage requirement and failed the chaos test.

To fix the issue we need to ensure the split block refs are created by the driver, which we can achieved by creating the block_refs as part of function returns.
2022-07-28 13:02:32 -07:00
Simon Mo
13c3400117
[Serve] Remove release tests for checkpoint_path (#27194) (#27206)
Cherry pick commit 8beb887 to address
#27189
2022-07-28 13:00:03 -07:00
Jun Gong
1de3c1f3d2
[RLlib] Deflake cartpole crashing tests. (#27097) (#27114)
Make sure cartpole crashing tests are not flaky.
2022-07-27 18:03:51 -07:00
Chen Shen
65ec7a0db2
[Ray 2.0][runtime-env] revert 2.0.0rc0 changes to runtime env test
As part of release cut, we will change all 3.0.0.dev0 to 2.0.0rc0 using grep. However this unnecessarily changes the runtime env tests and break the CI. we should revert related changes.

Related failed test https://buildkite.com/ray-project/ray-builders-branch/builds/8992#0182411b-ba2e-4d24-a2d4-4007da8eb90a
2022-07-27 17:55:32 -07:00
Amog Kamsetty
99e9cbcf33
[ML] Disable ML tests on Windows (#27120) 2022-07-27 15:18:20 -07:00
scv119
3edfc78ee2 update version number to 2.0.0rc0 2022-07-27 18:43:27 +00:00
shrekris-anyscale
4ab97399cd
[Serve] Only start Serve in the CLI through the serve deploy command (#27063)
These Serve CLI commands start Serve if it's not already running:

* `serve deploy`
* `serve config`
* `serve status`
* `serve shutdown`

#27026 introduces the ability to specify a `host` and `port` in the Serve config file. However, once Serve starts running, changing these options requires tearing down the entire Serve application and relaunching it. This limitation is an issue because users can inadvertently start Serve by running one of the `GET`-based CLI commands (i.e. `serve config` or `serve status`) before running `serve deploy`.

This change makes `serve deploy` the only CLI command that can start a Serve application on a Ray cluster. The other commands have updated behavior when Serve is not yet running on the cluster.

* `serve config`: prints an empty config body.

```yaml
import_path: ''
runtime_env: {}
deployments: []
```

* `serve status`: prints an empty status body, with a new `app_status` `status` value: `NOT_STARTED`.

```yaml
app_status:
  status: NOT_STARTED
  message: ''
  deployment_timestamp: 0
deployment_statuses: []
```

* `serve shutdown`: performs a no-op.
2022-07-27 13:21:19 -05:00
Cheng Su
0217c25d6f
Datasets] Cover more pattern of AWS S3 read error message (#27027)
Seeing one more pattern of AWS S3 read error message related to credential - https://gist.github.com/jiaodong/a805577c35e44e720ff10136f5ec6f6c, shared from @jiaodong. Change the regex pattern to match the error message as well, so it prints out more understandable error message.

Signed-off-by: Cheng Su <scnju13@gmail.com>
2022-07-27 11:13:24 -07:00
Simon Mo
8bb37c3a9e
[Serve] Add Custom Usage Tags for Reporting (#27061) 2022-07-27 10:59:41 -07:00
Amog Kamsetty
2fe0ac11a4
[Train] Remove CheckpointConfig from ray.train (#27101)
Signed-off-by: Amog Kamsetty amogkamsetty@yahoo.com

Quick follow up to #27005 to add back CheckpointConfig to ray.train
2022-07-27 10:59:25 -07:00
Jun Gong
acf2bf9b2f
[RLlib] Get rid of all these deprecation warnings. (#27085) 2022-07-27 10:48:54 -07:00
Yuan-Chi Chang
659d25a3a9
[workflow] http_event_provider and accompanied listener (#26010)
### Why are these changes needed?
This PR enhances workflow functionality to receive external events from a Serve based HTTP endpoint. A workflow can then consume events asynchronously as they arrive. 

### Design Logic
A `workflow.wait_for_event` node subscribes to the endpoint instantiated by a Ray Serve deployment of class `http_event_provider.HTTPEventProvider`. The subscription is made through a helper class `http_event_provider.HTTPListener`. `HTTPListener` implements the methods of `EventListener` to poll from and confirm event checkpointing to `HTTPEventProvider`, before `HTTPEventProvider`acknowledges success or error to the event submitter. 

### Architecture Improvement
The logic of this enhancement conforms with existing workflow runtime design.
2022-07-27 17:26:22 +00:00
Richard Liaw
5c995ca824
[air] improve warning for datasets usage (#26988)
Co-authored-by: Amog Kamsetty <amogkamsetty@yahoo.com>
Co-authored-by: Amog Kamsetty <amogkam@users.noreply.github.com>
2022-07-27 10:15:59 -07:00
matthewdeng
113c4d7fab
[air][data] move train_test_split to ray.data.Dataset (#27065) 2022-07-27 09:53:37 -07:00
SangBin Cho
eb5225e0f3
[Core] Reduce surfacing scary Failed to get the resource load: messages upon node failures (#27094)
Why are these changes needed?
Node failures logs become extremely spammy with Failed to get the resource load: logs. This PR removes the logs from driver-side logs and prints it less often
2022-07-27 09:35:57 -07:00
Kai Fricke
f1f526ef1d
[hotfix/xgboost/lightgbm] Fix checkpoint creation in test
Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-27 17:31:55 +01:00
Archit Kulkarni
60f33777a2
[runtime env] Add URI support for plugins (#26746) 2022-07-28 00:28:19 +08:00
Jimmy Yao
274ea2a1ba
[Ray Air] followup to the PR (#26493) set the correct gpu id in TorchTrainer (2.0) (#26704) 2022-07-27 09:27:24 -07:00
Kai Fricke
1a7007e50c
[tune/rllib] Beautify long sequence output for verbose=3 (#27093)
RLLib outputs for verbose=3 are too long at the moment. This is the first step of beautifying this table output by putting sequences of length > 3 into flow style.

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-27 17:25:49 +01:00
Simon Mo
e5a8b1dd55
[Serve] Add API Annotations And Move to _private (#27058) 2022-07-27 09:08:26 -07:00
Archit Kulkarni
0e47fb4ed9
[Jobs] [runtime env] Allow RuntimeEnvConfig object in Job Submission (#26989) 2022-07-27 11:06:23 -05:00
Kai Fricke
0e5626a0e7
[air/train] Default to 2 CPUs per actor for LightGBM Trainer (#27014)
Before this PR, updating default ray params in GBDT trainers was faulty. This PR addresses these issues and sets the default number of cpus per actor for lightgbm trainer to 2.

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-27 16:25:31 +01:00
Tao Wang
93f640751b
Add DCO prompt in PR template (#27072)
We require DCO in the PR, but people always forget it until the PR being created.
Putting a prompt line in the PR template may help.
2022-07-27 23:19:51 +08:00