Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ray requirement from <2.0.0,>=0.8.7 to >=0.8.7,<3.0.0 #740

Merged
merged 2 commits into from Sep 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 24, 2022

Updates the requirements on ray to permit the latest version.

Release notes

Sourced from ray's releases.

Ray-2.0.0

Release Highlights

Ray 2.0 is an exciting release with enhancements to all libraries in the Ray ecosystem. With this major release, we take strides towards our goal of making distributed computing scalable, unified, and open.

Towards these goals, Ray 2.0 features new capabilities for unifying the machine learning (ML) ecosystem, improving Ray's production support, and making it easier than ever for ML practitioners to use Ray's libraries.

Highlights:

  • Ray AIR, a scalable and unified toolkit for ML applications, is now in Beta.
  • ​​Ray now supports natively shuffling 100TB or more of data with the Ray Datasets library.
  • KubeRay, a toolkit for running Ray on Kubernetes, is now in Beta. This replaces the legacy Python-based Ray operator.
  • Ray Serve’s Deployment Graph API is a new and easier way to build, test, and deploy an inference graph of deployments. This is released as Beta in 2.0.

A migration guide for all the different libraries can be found here: Ray 2.0 Migration Guide.

Ray Libraries

Ray AIR

Ray AIR is now in beta. Ray AIR builds upon Ray’s libraries to enable end-to-end machine learning workflows and applications on Ray. You can install all dependencies needed for Ray AIR via pip install -u "ray[air]".

🎉 New Features:

  • Predictors:
    • BatchPredictors now have support for scalable inference on GPUs.
    • All Predictors can now be constructed from pre-trained models, allowing you to easily scale batch inference with trained models from common ML frameworks.
    • ray.ml.predictors has been moved to the Ray Train namespace (ray.train).
  • Preprocessing: New preprocessors and API changes on Ray Datasets now make feature processing easier to do on AIR. See the Ray Data release notes for more details.
  • New features for Datasets/Train/Tune/Serve can be found in the corresponding library release notes for more details.

💫 Enhancements:

  • Major package refactoring is included in this release.
    • ray.ml is renamed to ray.air.
    • ray.ml.preprocessors have been moved to ray.data.
      • train_test_split is now a new method of ray.data.Dataset (#27065)
    • ray.ml.trainers have been moved to ray.train (#25570)
    • ray.ml.predictors has been moved to ray.train.
    • ray.ml.config has been moved to ray.air.config (#25712).
    • Checkpoints are now framework-specific -- meaning that each Trainer generates its own Framework-specific Checkpoint class. See Ray Train for more details.
    • ModelWrappers have been renamed to PredictorDeployments.
  • API stability annotations have been added (#25485)
  • Train/Tune now have the same reporting and checkpointing API -- see the Train notes for more details (#26303)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 24, 2022
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #740 (4b29765) into master (402b8e6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #740   +/-   ##
=======================================
  Coverage   82.45%   82.45%           
=======================================
  Files         107      107           
  Lines       12658    12658           
=======================================
  Hits        10437    10437           
  Misses       2221     2221           
Impacted Files Coverage Δ
...i/explainers/anchors/anchor_tabular_distributed.py 27.18% <ø> (ø)

@dependabot dependabot bot force-pushed the dependabot/pip/ray-gte-0.8.7-and-lt-3.0.0 branch from 7669fe4 to 6c4a102 Compare September 12, 2022 12:16
@ascillitoe ascillitoe added the DO NOT MERGE Do not merge this PR label Sep 13, 2022
@ascillitoe
Copy link
Contributor

Do not merge! CI tests involving ray have not been running due to an issue with the github action's yaml syntax (see #756 and SeldonIO/alibi-detect#615). We should rebase and run CI once #756 is merged.

@ascillitoe
Copy link
Contributor

@dependabot rebase

Updates the requirements on [ray](https://github.com/ray-project/ray) to permit the latest version.
- [Release notes](https://github.com/ray-project/ray/releases)
- [Commits](ray-project/ray@ray-0.8.7...ray-2.0.0)

---
updated-dependencies:
- dependency-name: ray
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/ray-gte-0.8.7-and-lt-3.0.0 branch from 6c4a102 to b58e924 Compare September 14, 2022 08:30
@ascillitoe
Copy link
Contributor

ascillitoe commented Sep 14, 2022

Fixes to types needed...

Copy link
Contributor

@ascillitoe ascillitoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ascillitoe ascillitoe removed the DO NOT MERGE Do not merge this PR label Sep 15, 2022
@jklaise jklaise merged commit 025ad70 into master Sep 15, 2022
@dependabot dependabot bot deleted the dependabot/pip/ray-gte-0.8.7-and-lt-3.0.0 branch September 15, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants