skypilot-nightly 1.0.0.dev20240530__py3-none-any.whl → 1.0.0.dev2024053101__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sky/__init__.py CHANGED
@@ -5,7 +5,7 @@ from typing import Optional
5
5
  import urllib.request
6
6
 
7
7
  # Replaced with the current commit when building the wheels.
8
- _SKYPILOT_COMMIT_SHA = 'f377809ae120aa717c6c8684bba368811e12bb8a'
8
+ _SKYPILOT_COMMIT_SHA = 'e620ccc418ee69d70e580a703569d7cf0508b0ce'
9
9
 
10
10
 
11
11
  def _get_git_commit():
@@ -35,7 +35,7 @@ def _get_git_commit():
35
35
 
36
36
 
37
37
  __commit__ = _get_git_commit()
38
- __version__ = '1.0.0.dev20240530'
38
+ __version__ = '1.0.0-dev2024053101'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
sky/cli.py CHANGED
@@ -772,6 +772,8 @@ def _make_task_or_dag_from_entrypoint_with_overrides(
772
772
  else:
773
773
  task = sky.Task(name='sky-cmd', run=entrypoint)
774
774
  task.set_resources({sky.Resources()})
775
+ # env update has been done for DAG in load_chain_dag_from_yaml for YAML.
776
+ task.update_envs(env)
775
777
 
776
778
  # Override.
777
779
  if workdir is not None:
@@ -787,7 +789,6 @@ def _make_task_or_dag_from_entrypoint_with_overrides(
787
789
  task.num_nodes = num_nodes
788
790
  if name is not None:
789
791
  task.name = name
790
- task.update_envs(env)
791
792
  return task
792
793
 
793
794
 
@@ -12,7 +12,7 @@ _STAT_CACHE_CAPACITY = 4096
12
12
  _TYPE_CACHE_TTL = '5s'
13
13
  _RENAME_DIR_LIMIT = 10000
14
14
  # https://github.com/GoogleCloudPlatform/gcsfuse/releases
15
- GCSFUSE_VERSION = '1.3.0'
15
+ GCSFUSE_VERSION = '2.2.0'
16
16
 
17
17
 
18
18
  def get_s3_mount_install_cmd() -> str:
@@ -101,7 +101,8 @@ class CommandRunner:
101
101
  *,
102
102
  up: bool,
103
103
  log_path: str = ...,
104
- stream_logs: bool = ...) -> None:
104
+ stream_logs: bool = ...,
105
+ max_retry: int = 1) -> None:
105
106
  ...
106
107
 
107
108
  @classmethod
@@ -191,5 +192,6 @@ class SSHCommandRunner(CommandRunner):
191
192
  *,
192
193
  up: bool,
193
194
  log_path: str = ...,
194
- stream_logs: bool = ...) -> None:
195
+ stream_logs: bool = ...,
196
+ max_retry: int = 1) -> None:
195
197
  ...
sky/utils/dag_utils.py CHANGED
@@ -70,9 +70,9 @@ def load_chain_dag_from_yaml(
70
70
  Has special handling for an initial section in YAML that contains only the
71
71
  'name' field, which is the DAG name.
72
72
 
73
- 'env_overrides' is in effect only when there's exactly one task. It is a
74
- list of (key, value) pairs that will be used to update the task's 'envs'
75
- section.
73
+ 'env_overrides' is a list of (key, value) pairs that will be used to update
74
+ the task's 'envs' section. If it is a chain dag, the envs will be updated
75
+ for all tasks in the chain.
76
76
 
77
77
  Returns:
78
78
  A chain Dag with 1 or more tasks (an empty entrypoint would create a
@@ -90,12 +90,6 @@ def load_chain_dag_from_yaml(
90
90
  # YAML has only `name: xxx`. Still instantiate a task.
91
91
  configs = [{'name': dag_name}]
92
92
 
93
- if len(configs) > 1:
94
- # TODO(zongheng): in a chain DAG of N tasks, cli.py currently makes the
95
- # decision to not apply overrides. Here we maintain this behavior. We
96
- # can listen to user feedback to change this.
97
- env_overrides = None
98
-
99
93
  current_task = None
100
94
  with dag_lib.Dag() as dag:
101
95
  for task_config in configs:
sky/utils/schemas.py CHANGED
@@ -141,6 +141,8 @@ def _get_single_resources_schema():
141
141
  }, {
142
142
  'type': 'object',
143
143
  'required': [],
144
+ }, {
145
+ 'type': 'null',
144
146
  }]
145
147
  },
146
148
  # The following fields are for internal use only.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20240530
3
+ Version: 1.0.0.dev2024053101
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -1,7 +1,7 @@
1
- sky/__init__.py,sha256=u17kWPRuqFEP-jnBDW3_jqsnpmvVEcSltMgHdqisF-0,5588
1
+ sky/__init__.py,sha256=JsZC-jmxDHFRuZWryJ5Ktt9MWnJo2RqMdktIzikC5Ws,5590
2
2
  sky/authentication.py,sha256=LM8vOdxE7KkZSdkCw6Pi9tnCobHk8qnX2Mggi-rSSe8,21408
3
3
  sky/check.py,sha256=COsYRQbsJ78QGYlSdiqeYjK1nsipBvBcotqJlYhuQ68,9079
4
- sky/cli.py,sha256=-auY1_yTFJxPg8Y3DREmtQxwwf4crly7SWieWrkUXkc,200458
4
+ sky/cli.py,sha256=H2Rcsb3ZqRAz7QoeYrC8adDiLNoYGMSpdXt26UnK4m4,200543
5
5
  sky/cloud_stores.py,sha256=KEt1EN6RtF7j5-QqmMAf2KYVX65APAdfPWY_6CVgBOg,11806
6
6
  sky/core.py,sha256=VbTyO2AEEP-00nf-JQejWSBlVyq-SdYF9hoZ33jlDXY,34233
7
7
  sky/dag.py,sha256=d3gF030wYmit01jxszEygT4EvKJUky3DBlG3PfWPp_w,2529
@@ -88,7 +88,7 @@ sky/clouds/utils/scp_utils.py,sha256=nvChcW5XS3BvMNRHtTgQ13nK3Ebh_7Fqq5J9o3g7fyM
88
88
  sky/data/__init__.py,sha256=Nhaf1NURisXpZuwWANa2IuCyppIuc720FRwqSE2oEwY,184
89
89
  sky/data/data_transfer.py,sha256=MBmjey9_p2L3IKNKTi8um09SlZe32n4wK3CkVnlTVvo,7346
90
90
  sky/data/data_utils.py,sha256=e1fXnoaz9RzfEKcXeF_5XBDwKKMYv--prE34xMwVTPo,21664
91
- sky/data/mounting_utils.py,sha256=4qkfMd0afvp2bEPxiM_DCZ3uxJZ-ztEPBpOplGBm3wA,8351
91
+ sky/data/mounting_utils.py,sha256=b_70EdB4EQC7gTlIM5xDpJHx34T-l0-DNrkDnZf66JI,8351
92
92
  sky/data/storage.py,sha256=p14z1waNAhK7tGqnUG4i_Xj8I47O6u2J85AH1ICgJ0g,118872
93
93
  sky/data/storage_utils.py,sha256=-s0iQhV8JVx1J2gWtoBFrN04MGv2oVYxo_Hw43R2BSY,6867
94
94
  sky/jobs/__init__.py,sha256=9cqFutVlfjQb7t8hzG-ZlQmMlbmfMirn0KNBxIFnJYQ,1398
@@ -241,17 +241,17 @@ sky/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
241
241
  sky/utils/accelerator_registry.py,sha256=BO4iYH5bV80Xyp4EPfO0n1D3LL0FvESCy7xm59Je3_o,3798
242
242
  sky/utils/cluster_yaml_utils.py,sha256=1wRRYqI1kI-eFs1pMW4r_FFjHJ0zamq6v2RRI-Gtx5E,849
243
243
  sky/utils/command_runner.py,sha256=9xQuN5w_D706NUw-NtZi96tb12odfX_uoYNGlb261vI,23317
244
- sky/utils/command_runner.pyi,sha256=aMRsWFezJC0__pabqPN8_DBNXP81AdJubknPI8JkeEk,5492
244
+ sky/utils/command_runner.pyi,sha256=C3feaqF93xjEzuBH4Xpa0LHp4su8JNr3GeXOZb0NjUw,5560
245
245
  sky/utils/common_utils.py,sha256=kqYNgs1zbNJ9c7qkfWd_9w6Y3cx1ln-U7V2RZeZYDi0,23848
246
246
  sky/utils/controller_utils.py,sha256=JFhAt2E_Xe7uIn0cMfXhqWWt5EcdGvhyZ-JMFoJ351E,34620
247
- sky/utils/dag_utils.py,sha256=-JmGlGpQuFPRCBVSG2EabyeGKf1kSWSNDGXitgBz860,5731
247
+ sky/utils/dag_utils.py,sha256=ddSmnOjE9yMpaSC5jlC-x_tq1hPsVYJzBTyDch_cpr4,5487
248
248
  sky/utils/db_utils.py,sha256=AOvMmBEN9cF4I7CoXihPCtus4mU2VDGjBQSVMMgzKlA,2786
249
249
  sky/utils/env_options.py,sha256=1VXyd3bhiUgGfCpmmTqM9PagRo1ILBH4-pzIxmIeE6E,861
250
250
  sky/utils/kubernetes_enums.py,sha256=imGqHSa8O07zD_6xH1SDMM7dBU5lF5fzFFlQuQy00QM,1384
251
251
  sky/utils/log_utils.py,sha256=W7FYK7xzvbq4V-8R-ihLtz939ryvtABug6O-4DFrjho,8139
252
252
  sky/utils/resources_utils.py,sha256=cugCPbi03MdiCliT2OCoxnEkpaZzVWd-IbrKVtutdaw,5540
253
253
  sky/utils/rich_utils.py,sha256=5ZVhzlFx-nhqMXwv00eO9xC4rz7ibDlfD2lmGhZrJEY,1581
254
- sky/utils/schemas.py,sha256=iC3UTlSS8Vj3tr1oJwYu0_ce_68Xk61H5BqA9f3Xqd0,23359
254
+ sky/utils/schemas.py,sha256=qdkQZge83SjE2T_MsyI94tifk-75QEFIRSbLXzoVVJ0,23416
255
255
  sky/utils/subprocess_utils.py,sha256=_lUMbkr9SAkLb2GdsLUowIYH8_pwm-NqxNTRZUrAfdA,6509
256
256
  sky/utils/timeline.py,sha256=ao_nm0y52ZQILfL7Y92c3pSEFRyPm_ElORC3DrI5BwQ,3936
257
257
  sky/utils/ux_utils.py,sha256=318TRunQCyJpJXonfiJ1SVotNA-6K4F2XgMEYjvWvsk,3264
@@ -267,9 +267,9 @@ sky/utils/kubernetes/gpu_labeler.py,sha256=MEUv0U4ACDcNwtFVltlv017XJMjxx1Bndf6fL
267
267
  sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=KPqp23B-zQ2SZK03jdHeF9fLTogMEFxotE35IosIpRg,1186
268
268
  sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
269
269
  sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
270
- skypilot_nightly-1.0.0.dev20240530.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
271
- skypilot_nightly-1.0.0.dev20240530.dist-info/METADATA,sha256=h5bj_bpTQhxxepkd4MP0-BnA9hm6yBVNO4EwvuuPtq4,17739
272
- skypilot_nightly-1.0.0.dev20240530.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
273
- skypilot_nightly-1.0.0.dev20240530.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
274
- skypilot_nightly-1.0.0.dev20240530.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
275
- skypilot_nightly-1.0.0.dev20240530.dist-info/RECORD,,
270
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
271
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/METADATA,sha256=7ygdKz5YBSZ0M3IGD7JUbtAp6QWA8VMogH_a-7izJXE,17741
272
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
273
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
274
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
275
+ skypilot_nightly-1.0.0.dev2024053101.dist-info/RECORD,,