mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 12:49:05 +08:00
[autoscaler/tune] Optional YAML Fields + Fix Pretty Printing for Tune (#1541)
This commit is contained in:
@@ -33,6 +33,10 @@ ray_ui_files = [
|
||||
"ray/core/src/catapult_files/trace_viewer_full.html"
|
||||
]
|
||||
|
||||
ray_autoscaler_files = [
|
||||
"ray/autoscaler/aws/example-full.yaml"
|
||||
]
|
||||
|
||||
# The UI files are mandatory if the INCLUDE_UI environment variable equals 1.
|
||||
# Otherwise, they are optional.
|
||||
if "INCLUDE_UI" in os.environ and os.environ["INCLUDE_UI"] == "1":
|
||||
@@ -40,6 +44,8 @@ if "INCLUDE_UI" in os.environ and os.environ["INCLUDE_UI"] == "1":
|
||||
else:
|
||||
optional_ray_files += ray_ui_files
|
||||
|
||||
optional_ray_files += ray_autoscaler_files
|
||||
|
||||
extras = {
|
||||
"rllib": [
|
||||
"tensorflow", "pyyaml", "gym[atari]", "opencv-python",
|
||||
|
||||
Reference in New Issue
Block a user