Commit Graph
126 Commits
Author SHA1 Message Date
Ameer Haj AliandGitHub 85197deece [autoscaler] Remove legacy autoscaler (#11802) 2020-11-11 13:36:48 -08:00
Barak MichenerandGitHub 05c4e3fb2a [build] Build wheels with manylinux2014 (#11621)
* necessary changes

* Split bazel install

* manylinux2014

* change references to manylinux2014

* Fix lint

* port alex's docker build changes

* fix config issue

* remove extra manylinux2010 requirement script

* revert SHA overwrite

* wip

* incompatible_linklibs

* fix nits
2020-11-03 19:36:32 -08:00
Ian RodneyandGitHub aef96d17bf [yaml] HotFix for correct example full (#11584) 2020-10-23 15:55:07 -05:00
AllenandGitHub cf2ee94e0c [Autoscaler] Allow users to set the names for security groups created by ray (#11405) 2020-10-22 12:28:59 -07:00
Alan GuoandGitHub 8c82369cad [autoscaler] Add rsync_exclude and rsync_filter options to cluster config (#11512) 2020-10-21 14:28:33 -07:00
Ian RodneyandGitHub acbd12eabf [Docker] Set Docker as the Default (#11416) 2020-10-19 10:53:30 -07:00
Siyuan (Ryans) ZhuangandGitHub 47b7b76a5a [Example] commands need to be quoted (#11224) 2020-10-07 19:12:42 -07:00
Ameer Haj AliandGitHub 6b86d4d280 Automatically detect CPU, GPU, accelerator_type for AWS (#11147) 2020-10-02 21:16:43 -07:00
Ian RodneyandGitHub 0d5b09f426 [Docker] Automagically add "runtime=nvidia" (#11125) 2020-10-01 17:04:19 -07:00
0d36e4c025 [autoscaler] Support min_workers for multi node type (#11041)
* prepare for head node

* move command runner interface outside _private

* remove space

* Eric

* flake

* min_workers in multi node type

* fixing edge cases

* eric not idle

* fix target_workers to consider min_workers of node types

* idle timeout

* minor

* minor fix

* test

* lint

* eric v2

* eric 3

* min_workers constraint before bin packing

* Update resource_demand_scheduler.py

* Revert "Update resource_demand_scheduler.py"

This reverts commit 818a63a2c86d8437b3ef21c5035d701c1d1127b5.

* reducing diff

Co-authored-by: Ameer Haj Ali <ameerhajali@ameers-mbp.lan>
Co-authored-by: Alex Wu <alex@anyscale.io>
Co-authored-by: Alex Wu <itswu.alex@gmail.com>
2020-09-28 22:02:01 -07:00
Ian RodneyandGitHub 4c3f09094a [docs] redis-port -> port (#10937) 2020-09-23 17:04:13 -07:00
Eric LiangandGitHub 6a227ae501 [autoscaler] Split autoscaler interface public private (#10898) 2020-09-18 18:16:23 -07:00
Eric LiangandGitHub 1b295a17cb Add accelerator-type to multi node type example YAML (#10871) 2020-09-17 17:09:35 -07:00
9d0a9e73de Add java yaml example (#10835)
* java example

* Update python/ray/autoscaler/aws/example-java.yaml

Co-authored-by: Eric Liang <ekhliang@gmail.com>
2020-09-16 14:35:10 -07:00
Eric LiangandGitHub 00fefba72c [autoscaler] Usability improvements in logging (#10764) 2020-09-13 13:54:44 -07:00
Philipp MoritzandGitHub a91073d9da Don't pin boto instead set lower limit on its version (#10711) 2020-09-11 13:22:32 -07:00
Barak MichenerandGitHub c6b1ed7f8f release process: bump version number to 1.1.0.dev0 everywhere (#10686) 2020-09-10 16:00:21 -07:00
f38dba09b2 [cli] Support non-interactive logging (#10203)
* add non-interactive logging

* logger

* add formatter support, add flag

* checkpoint

* format

* fix-interactive

* fixup

* fomrmat

* fix

* revert

* fix

* fix

* fix

* fix

* fx

* fix-test

* fix-commands

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-09-05 15:41:35 -07:00
Maksim SmolinandGitHub 02efa2549d [cli] Fix colors on light themes (#10577) 2020-09-04 10:45:27 -07:00
Yiran WangandGitHub 2b95b613f2 [Autoscaler] Retry create_instances properly in AWSNodeProvider (#10479) 2020-09-01 16:17:11 -07:00
Eric LiangandGitHub f6a1698bab [autoscaler] Add documentation for multi node type autoscaling (#10405) 2020-08-28 19:57:21 -07:00
Philipp MoritzandGitHub b8673e5697 [autoscaler] Make KeyName optional in AWS autoscaler (#10336) 2020-08-27 11:08:44 -07:00
245c0a9e43 [cli] Tests (#10057)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-08-22 13:29:10 -07:00
Eric LiangandGitHub 0baf992a4f [hotfix] [autoscaler] Address remaining comments on renaming instance => node (#10229)
* more renaming

* fix import
2020-08-20 14:37:41 -07:00
Eric LiangandGitHub 85a6876119 [autoscaler] Rename instance_type => node_type, TAG_RAY_INSTANCE_TYPE => TAG_RAY_USER_NODE_TYPE (#10207) 2020-08-20 12:27:11 -07:00
Eric LiangandGitHub 538cb802d5 [autoscaler] Refactor multi node type autoscaler config (#10190) 2020-08-19 20:46:00 -07:00
Alex WuandGitHub 0b5d5ec17d [Autoscaler] Pass custom resources to "ray start" multi instance autoscaling (#9986) 2020-08-17 22:34:07 -07:00
Ian RodneyandGitHub a079f46c25 [autoscaler]/[docker] Cleanup YAMLs & Use RAY docker images (#10108) 2020-08-17 09:49:28 -07:00
Maksim SmolinandGitHub eace94d2dc [cli] Fix issues with logging unescaped strings (#9960) 2020-08-06 14:44:39 -07:00
Ian RodneyandGitHub b6da7dcef9 Upgrade to v30 and 18.04 on default yamls (#9917) 2020-08-05 13:01:14 -07:00
Henk TillmanandGitHub ead8b86372 Create ~/.ssh if it doesn't already exist (#9880) 2020-08-04 14:55:15 -07:00
Alan GuoandGitHub 3506910c5d [autoscaler] Create worker_file_mounts config (#9762) 2020-07-31 14:33:27 -07:00
Alan GuoandGitHub 5831737287 Introduce file_mounts_sync_continuously cluster option (#9544)
* Separate out file_mounts contents hashing into its own separate hash

Add an option to continuously sync file_mounts from head node to worker nodes:
monitor.py will re-sync file mounts whenver contents change but will only run setup_commands if the config also changes

* add test and default value for file_mounts_sync_continuously

* format code

* Update comments

* Add param to skip setup commands when only file_mounts content changed during monitor.py's update tick

Fixed so setup commands run when ray up is run and file_mounts content changes

* Refactor so that runtime_hash retains previous behavior

runtime_hash is almost identical as before this PR. It is used to determine if setup_commands need to run
file_mounts_contents_hash is an additional hash of the file_mounts content that is used to detect when only file syncing has to occur.

Note: runtime_hash value will have changed from before the PR because we hash the hash of the contents of the file_mounts as a performance optimization

* fix issue with hashing a hash

* fix bug where trying to set contents hash when it wasn't generated

* Fix lint error

Fix bug in command_runner where check_output was no longer returning the output of the command

* clear out provider between tests to get rid of flakyness

* reduce chance of race condition from node_launcher launching a node in the middle of an autoscaler.update call
2020-07-28 00:02:08 -07:00
908c0c630a [Autoscaler] Command Line Interface improvements (#9322)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2020-07-22 12:21:44 -07:00
1e46d4e29f [Autoscaler] Making bootstrap config part of the node provider interface (#9443)
* supporting custom bootstrap config for external node providers

* bootstrap config

* renamed config to cluster_config

* lint

* remove 2 args from importer

* complete move of bootstrap to node_provider

* renamed provider_cls

* move imports outside functions

* lint

* Update python/ray/autoscaler/node_provider.py

Co-authored-by: Eric Liang <ekhliang@gmail.com>

* final fixes

* keeping lines to reduce diff

* lint

* lamba config

* filling in -> adding for lint

Co-authored-by: Ameer Haj Ali <ameerhajali@Ameers-MacBook-Pro.local>
Co-authored-by: Eric Liang <ekhliang@gmail.com>
2020-07-16 09:54:20 -07:00
Eric LiangandGitHub 536795ef79 [autoscaler] Initial support for multiple worker types (#9096)
* wip

* fix

* update

* debug state

* fix

* update

* update

* fix test

* fix

* fix

* update

* fix

* types and docs

* update
2020-06-24 23:08:30 -07:00
Ian RodneyandGitHub f76552d8db [autoscaler] Expose cache_stopped_nodes in Example YAML (#8981) 2020-06-22 15:02:45 -07:00
Eric LiangandGitHub a24d117c68 [autoscaler] Refactor code in preparation for multi instance type support (#8632)
* wip refactor

* add util

* wip

* fix

* fix

* remove

* remove extraneous string type for sg
2020-06-03 12:53:55 -07:00
Patrick AmesandGitHub 76450c8d47 [autoscaler] Honor separate head and worker node subnet IDs (#8374) 2020-05-28 18:16:46 -07:00
Max FittonandGitHub 13231ba63b Rename redis-port to port and add default (#8406) 2020-05-18 13:25:34 -05:00
Thomas DesrosiersandGitHub ec9357b486 [autoscaler] Fix filesystem permission race conditions (#8327) 2020-05-05 17:22:03 -07:00
Richard LiawandGitHub 5bc6e32c0a [autoscaler] latest_dlami update (#8178) 2020-04-26 00:25:46 -07:00
3c91ff1f63 [autoscaler] Allowing users to provide extra configs for AWS (#7844)
* Allowing users to provide custom key names & security group inbound rules

* linting

* getting aws credentials passed in

* one more thing

* one more thing part 2

* formatting

* addressing comments

* update

* update

* update

* update

* update

* update

* remove tests

* rerun tests

Co-authored-by: Allen Yin <allenyin@anyscale.io>
2020-04-04 18:36:51 -07:00
Philipp MoritzandGitHub cc43c9c1a2 Increase limit for autoscaler keys (#7007) 2020-02-01 22:29:40 -08:00
Richard LiawandGitHub e0078a0d78 [autoscaler][minor] default -> latest_dlami (#6922)
* config

* latest

* Update python/ray/autoscaler/aws/config.py
2020-01-27 14:34:07 -08:00
Richard LiawandGitHub 2b0e93586f [autoscaler] Auto-replace "DEFAULT" with most recent DLAMI (#6848)
* try_this

* fix

* actual fix

* default
2020-01-21 13:54:04 -08:00
SvenandEric Liang 60d4d5e1aa Remove future imports (#6724)
* Remove all __future__ imports from RLlib.

* Remove (object) again from tf_run_builder.py::TFRunBuilder.

* Fix 2xLINT warnings.

* Fix broken appo_policy import (must be appo_tf_policy)

* Remove future imports from all other ray files (not just RLlib).

* Remove future imports from all other ray files (not just RLlib).

* Remove future import blocks that contain `unicode_literals` as well.
Revert appo_tf_policy.py to appo_policy.py (belongs to another PR).

* Add two empty lines before Schedule class.

* Put back __future__ imports into determine_tests_to_run.py. Fails otherwise on a py2/print related error.
2020-01-09 00:15:48 -08:00
Robert NishiharaandGitHub d2c6457832 Remove public facing references to --redis-address. (#6631) 2019-12-31 13:21:53 -08:00
Philipp MoritzandGitHub 735f282494 Use 0.9.0.dev0 as the version tag (#6630) 2019-12-30 10:14:07 -08:00
Robert NishiharaandPhilipp Moritz 8724e5ffd5 Start WebUI by default. (#6493) 2019-12-27 13:49:07 -08:00