skypilot-nightly 1.0.0.dev20250307__py3-none-any.whl → 1.0.0.dev20250308__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 = 'f6a65c2ea0ac00976d06e47c46e8df1297cb70a2'
8
+ _SKYPILOT_COMMIT_SHA = 'f2c2092f3fc343d59348bf209b3ad0d4d76cea7b'
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.dev20250307'
38
+ __version__ = '1.0.0.dev20250308'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
sky/skylet/constants.py CHANGED
@@ -268,6 +268,12 @@ USER_ID_ENV_VAR = f'{SKYPILOT_ENV_VAR_PREFIX}USER_ID'
268
268
  # runs on a VM launched by SkyPilot will be recognized as the same user.
269
269
  USER_ENV_VAR = f'{SKYPILOT_ENV_VAR_PREFIX}USER'
270
270
 
271
+ # Internal: Env var indicating the system is running with a remote API server.
272
+ # It is used for internal purposes, including the jobs controller to mark
273
+ # clusters as launched with a remote API server.
274
+ USING_REMOTE_API_SERVER_ENV_VAR = (
275
+ f'{SKYPILOT_ENV_VAR_PREFIX}USING_REMOTE_API_SERVER')
276
+
271
277
  # In most clouds, cluster names can only contain lowercase letters, numbers
272
278
  # and hyphens. We use this regex to validate the cluster name.
273
279
  CLUSTER_NAME_VALID_REGEX = '[a-zA-Z]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?'
sky/utils/common_utils.py CHANGED
@@ -291,6 +291,9 @@ def get_current_client_entrypoint(server_entrypoint: str) -> str:
291
291
 
292
292
  def get_using_remote_api_server() -> bool:
293
293
  """Returns whether the API server is remote."""
294
+ if os.getenv(constants.USING_REMOTE_API_SERVER_ENV_VAR) is not None:
295
+ return os.getenv(constants.USING_REMOTE_API_SERVER_ENV_VAR,
296
+ '').lower() in ('true', '1')
294
297
  if _using_remote_api_server is not None:
295
298
  return _using_remote_api_server
296
299
  # This gets the right status for the local client.
@@ -431,6 +431,11 @@ def shared_controller_vars_to_fill(
431
431
  env_options.Options.SKIP_CLOUD_IDENTITY_CHECK.env_key: '1',
432
432
  # Disable minimize logging to get more details on the controller.
433
433
  env_options.Options.MINIMIZE_LOGGING.env_key: '0',
434
+ # Make sure the clusters launched by the controller are marked as
435
+ # launched with a remote API server if the controller is launched
436
+ # with a remote API server.
437
+ constants.USING_REMOTE_API_SERVER_ENV_VAR: str(
438
+ common_utils.get_using_remote_api_server()),
434
439
  })
435
440
  if skypilot_config.loaded():
436
441
  # Only set the SKYPILOT_CONFIG env var if the user has a config file.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20250307
3
+ Version: 1.0.0.dev20250308
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -208,12 +208,12 @@ Dynamic: summary
208
208
 
209
209
  SkyPilot is a framework for running AI and batch workloads on any infra, offering unified execution, high cost savings, and high GPU availability.
210
210
 
211
- SkyPilot **abstracts away infra burdens**:
211
+ SkyPilot **abstracts away AI infra burden**:
212
212
  - Launch [clusters](https://docs.skypilot.co/en/latest/examples/interactive-development.html), [jobs](https://docs.skypilot.co/en/latest/examples/managed-jobs.html), and [serving](https://docs.skypilot.co/en/latest/serving/sky-serve.html) on any infra
213
213
  - Easy job management: queue, run, and auto-recover many jobs
214
214
 
215
- SkyPilot **supports multiple clusters, clouds, and hardware** ([the Sky](https://arxiv.org/abs/2205.07147)):
216
- - Bring your reserved GPUs, Kubernetes clusters, or 12+ clouds
215
+ SkyPilot **supports multiple clusters, clouds, and hardware**:
216
+ - Bring reserved GPUs, Kubernetes clusters, or 15+ clouds
217
217
  - [Flexible provisioning](https://docs.skypilot.co/en/latest/examples/auto-failover.html) of GPUs, TPUs, CPUs, with auto-retry
218
218
 
219
219
  SkyPilot **cuts your cloud costs & maximizes GPU availability**:
@@ -235,7 +235,9 @@ pip install "skypilot-nightly[kubernetes,aws,gcp,azure,oci,lambda,runpod,fluidst
235
235
  ```
236
236
 
237
237
 
238
- [Current supported infra](https://docs.skypilot.co/en/latest/getting-started/installation.html) (Kubernetes; AWS, GCP, Azure, OCI, Lambda Cloud, Fluidstack, RunPod, Cudo, Digital Ocean, Paperspace, Cloudflare, Samsung, IBM, Vast.ai, VMware vSphere, Nebius):
238
+ Current supported infra: Kubernetes, AWS, GCP, Azure, OCI, Lambda Cloud, Fluidstack,
239
+ RunPod, Cudo, Digital Ocean, Paperspace, Cloudflare, Samsung, IBM, Vast.ai,
240
+ VMware vSphere, Nebius.
239
241
  <p align="center">
240
242
  <img alt="SkyPilot" src="https://raw.githubusercontent.com/skypilot-org/skypilot/master/docs/source/images/cloud-logos-light.png" width=85%>
241
243
  </p>
@@ -1,4 +1,4 @@
1
- sky/__init__.py,sha256=cmT84Dydiggdvaa-qQIJa-J9yvRrYJn5nsetNtM2JCo,6428
1
+ sky/__init__.py,sha256=rHe5jgJb57QsrlJN68ATy2cIAu13o-v6cufEHWX_wlk,6428
2
2
  sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
3
3
  sky/authentication.py,sha256=hCEqi77nprQEg3ktfRL51xiiw16zwZOmFEDB_Z7fWVU,22384
4
4
  sky/check.py,sha256=NDKx_Zm7YRxPjMv82wz3ESLnGIPljaACyqVdVNM0PzY,11258
@@ -250,7 +250,7 @@ sky/skylet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
250
250
  sky/skylet/attempt_skylet.py,sha256=GZ6ITjjA0m-da3IxXXfoHR6n4pjp3X3TOXUqVvSrV0k,2136
251
251
  sky/skylet/autostop_lib.py,sha256=W4CtMira6QnmYToFT5kYTGjNPRZNC-bZPfsF1k3tluE,4480
252
252
  sky/skylet/configs.py,sha256=UtnpmEL0F9hH6PSjhsps7xgjGZ6qzPOfW1p2yj9tSng,1887
253
- sky/skylet/constants.py,sha256=6I_JGIQXHGDNodNCQYLqflmJotDVnFUt4R48BASyUN0,18037
253
+ sky/skylet/constants.py,sha256=1Yzzb6bwECy3gP7BYaMnz2uve5x0bChOn-84pwJgSng,18333
254
254
  sky/skylet/events.py,sha256=pnV3ZiwWhXqTHpU5B5Y9Xwam_7FQDI6IrxgSx7X_NVA,12743
255
255
  sky/skylet/job_lib.py,sha256=j_VRDWcEGIStLLEC0cD9B3JxggPJOZaDAaNKe50uhy4,44319
256
256
  sky/skylet/log_lib.py,sha256=DzOrgY8C7RdEMLC9O9kEKV-iLMb9wVMPSnDha8eMx28,20900
@@ -310,10 +310,10 @@ sky/utils/cluster_utils.py,sha256=s6DFRXktv6_gF_DnwDEXJ7CniifHp8CAPeGciRCbXgI,14
310
310
  sky/utils/command_runner.py,sha256=4ZXBjDUgU13CZz7pNrAG9ucNV27voRfWc9TdcP5WpHk,39063
311
311
  sky/utils/command_runner.pyi,sha256=mJOzCgcYZAfHwnY_6Wf1YwlTEJGb9ihzc2f0rE0Kw98,7751
312
312
  sky/utils/common.py,sha256=P4oVXFATUYgkruHX92cN12SJBtfb8DiOOYZtbN1kvP0,1927
313
- sky/utils/common_utils.py,sha256=1KfqF_hgH9l1ieyV-_3fJd6ma41-tOstj-ihAQcEDIM,31162
313
+ sky/utils/common_utils.py,sha256=vsikxAnRZYTbn0OWENuMSv1JWYUr2hRnPxqWSct6N7I,31357
314
314
  sky/utils/config_utils.py,sha256=VQ2E3DQ2XysD-kul-diSrxn_pXWsDMfKAev91OiJQ1Q,9041
315
315
  sky/utils/control_master_utils.py,sha256=iD4M0onjYOdZ2RuxjwMBl4KhafHXJzuHjvqlBUnu-VE,1450
316
- sky/utils/controller_utils.py,sha256=FETdTx1om3Qmxw5W9BNazhV0dWoNdMWYopIEQJRcKSA,48614
316
+ sky/utils/controller_utils.py,sha256=1aDH0O6gTRzGwp4lyoQgC0rLxcOE_UrMeMY2LSyJ2y4,48911
317
317
  sky/utils/dag_utils.py,sha256=sAus0aL1wtuuFZSDnpO4LY-6WK4u5iJY952oWQzHo3Y,7532
318
318
  sky/utils/db_utils.py,sha256=K2-OHPg0FeHCarevMdWe0IWzm6wWumViEeYeJuGoFUE,3747
319
319
  sky/utils/env_options.py,sha256=aaD6GoYK0LaZIqjOEZ-R7eccQuiRriW3EuLWtOI5En8,1578
@@ -344,9 +344,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488
344
344
  sky/utils/kubernetes/kubernetes_deploy_utils.py,sha256=otzHzpliHDCpzYT-nU9Q0ZExbiFpDPWvhxwkvchZj7k,10073
345
345
  sky/utils/kubernetes/rsync_helper.sh,sha256=h4YwrPFf9727CACnMJvF3EyK_0OeOYKKt4su_daKekw,1256
346
346
  sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=Kq1MDygF2IxFmu9FXpCxqucXLmeUrvs6OtRij6XTQbo,6554
347
- skypilot_nightly-1.0.0.dev20250307.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
348
- skypilot_nightly-1.0.0.dev20250307.dist-info/METADATA,sha256=O26UAtGUSZuxm_xOzh_sxkbTRyED8VYZtxZwG2nPWx4,18173
349
- skypilot_nightly-1.0.0.dev20250307.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
350
- skypilot_nightly-1.0.0.dev20250307.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
351
- skypilot_nightly-1.0.0.dev20250307.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
352
- skypilot_nightly-1.0.0.dev20250307.dist-info/RECORD,,
347
+ skypilot_nightly-1.0.0.dev20250308.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
348
+ skypilot_nightly-1.0.0.dev20250308.dist-info/METADATA,sha256=ziejbVFbgs2aPckykoHxpvcuy_dXyuWVrkBR47NG6Kw,18051
349
+ skypilot_nightly-1.0.0.dev20250308.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
350
+ skypilot_nightly-1.0.0.dev20250308.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
351
+ skypilot_nightly-1.0.0.dev20250308.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
352
+ skypilot_nightly-1.0.0.dev20250308.dist-info/RECORD,,