Ray

Latest version: v2.22.0

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 15

0.6.0

Not secure
Breaking Changes
- Renamed `_submit` to `_remote`. 3321
- Object store memory capped at 20GB by default. 3243
- Now `ray.global_state.client_table()` returns a list instead of a dictionary.
- Renamed `ray.global_state.dump_catapult_trace` to `ray.global_state.chrome_tracing_dump`.

Known Issues
- The Plasma TensorFlow operator leaks memory. 3404
- Object broadcasts on large clusters are inefficient. 2945
- Ape-X leaks memory. 3452
- Action clipping can impede learning (please set clip_actions: False as a workaround) 3496

Core
- New raylet backend on by default and legacy backend removed. 3020 3121
- Support for Python 3.7. 2546
- Support for fractional resources (e.g., GPUs).
- Added `ray stack` for improved debugging (to get stack traces of Python processes on current node). 3213
- Better error messages for low-memory conditions. 3323
- Log file names reorganized under `/tmp/ray/`. 2862
- Improved timeline visualizations. 2306 3255

Modin
- Modin is shipped with Ray. After running `import ray` you can run `import modin`. 3109

RLlib
- Multi agent support for Ape-X and IMPALA. 3147
- Multi GPU support for IMPALA. 2766
- TD3 optimizations for DDPG. 3353
- Support for Dict and Tuple observation spaces. 3051
- Support for parametric and variable-length action spaces. 3384
- Support batchnorm layers. 3369
- Support custom metrics. 3144

Autoscaler
- Added `ray submit` for submitting scripts to clusters. 3312
- Added `--new` flag for ray attach. 2973
- Added option to allow private IPs only. 3270

Tune
- Support for fractional GPU allocations for trials. 3169
- Better checkpointing and setup. 2889
- Memory tracking and notification. 3298
- Bug fixes for `SearchAlgorithm`s. 3081
- Add a `raise_on_failed_trial` flag in run_experiments. 2915
- Better handling of node failures. 3238

Training
- Experimental support for distributed SGD. 2858 3033

0.5.3

Not secure
API
- Add `ray.is_initialized()` to check if `ray.init()` has been called. 2818

Fixes and Improvements
- Fix issue in which `ray stop` fails to kill plasma object store. 2850
- Remove dependence on `psutil`. 2892

RLlib
- Set better default for VF clip PPO parameter to avoid silent performance degradation. 2921
- Reward clipping should default to off for non-Atari environments. 2904
- Fix LSTM failing to train on truncated sequences. 2898

Tune
- Fixed a small bug in trial pausing and cleaned up error messages. 2815

0.5.2

Not secure
Breaking Changes
- Local mode has changed from `ray.init(driver_mode=ray.PYTHON_MODE)` to `ray.init(local_mode=True)` to improve clarity.

Autoscaler and Cluster Setup
- Added many convenience commands such as `ray up`, `ray attach`, `ray exec`, and `ray rsync` to simplify launching jobs with Ray.
- Added experimental support for local/on-prem clusters.

RLlib
- Added the IMPALA algorithm.
- Added the ARS algorithm.
- Added the A2C variant of A3C.
- Added support for distributional DQN.
- Made improvements to multiagent support.
- Added support for model-based rollouts and custom policies.
- Added initial set of reference Atari results.

Tune
- `SearchAlgorithm`s can now be used separately from `TrialScheduler`s and are found in `ray.tune.suggest`.
- All `TrialScheduler`s have been consolidated under `ray.tune.schedulers`.
- Minor API changes:
- For `Experiment` configuration, `repeat` has been renamed to `num_samples`.
- Now, `register_trainable` is handled implicitly.

0.5.0

Not secure

0.4.0

Not secure

0.3.1

Not secure

Page 13 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.