skypilot-nightly 1.0.0.dev20250127__py3-none-any.whl → 1.0.0.dev20250128__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 = 'b31de1ce849bd91a51ce3b59ce207ef1d354864f'
8
+ _SKYPILOT_COMMIT_SHA = 'e5c999be4c32bfb263f55baeaf929c4a2fd811a0'
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.dev20250127'
38
+ __version__ = '1.0.0.dev20250128'
39
39
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
40
40
 
41
41
 
@@ -106,12 +106,6 @@ from sky.data import StoreType
106
106
  from sky.execution import exec # pylint: disable=redefined-builtin
107
107
  from sky.execution import launch
108
108
  from sky.jobs import ManagedJobStatus
109
- # TODO (zhwu): These imports are for backward compatibility, and spot APIs
110
- # should be called with `sky.spot.xxx` instead. Remove in release 0.8.0
111
- from sky.jobs.core import spot_cancel
112
- from sky.jobs.core import spot_launch
113
- from sky.jobs.core import spot_queue
114
- from sky.jobs.core import spot_tail_logs
115
109
  from sky.optimizer import Optimizer
116
110
  from sky.optimizer import OptimizeTarget
117
111
  from sky.resources import Resources
@@ -172,7 +166,6 @@ __all__ = [
172
166
  # execution APIs
173
167
  'launch',
174
168
  'exec',
175
- 'spot_launch',
176
169
  # core APIs
177
170
  'status',
178
171
  'start',
@@ -184,12 +177,8 @@ __all__ = [
184
177
  'queue',
185
178
  'cancel',
186
179
  'tail_logs',
187
- 'spot_tail_logs',
188
180
  'download_logs',
189
181
  'job_status',
190
- # core APIs Spot Job Management
191
- 'spot_queue',
192
- 'spot_cancel',
193
182
  # core APIs Storage Management
194
183
  'storage_ls',
195
184
  'storage_delete',
sky/cli.py CHANGED
@@ -3997,25 +3997,6 @@ def jobs_dashboard(port: Optional[int]):
3997
3997
  click.echo('Exiting.')
3998
3998
 
3999
3999
 
4000
- # TODO(zhwu): Backward compatibility for the old `sky spot launch` command.
4001
- # It is now renamed to `sky jobs launch` and the old command is deprecated.
4002
- # Remove in v0.8.0.
4003
- @cli.group(cls=_NaturalOrderGroup)
4004
- def spot():
4005
- """Alias for Managed Jobs CLI (default to managed spot jobs)."""
4006
- pass
4007
-
4008
-
4009
- _add_command_alias(jobs,
4010
- jobs_launch,
4011
- new_group=spot,
4012
- override_command_argument={'use_spot': True})
4013
- _add_command_alias(jobs, jobs_queue, new_group=spot)
4014
- _add_command_alias(jobs, jobs_logs, new_group=spot)
4015
- _add_command_alias(jobs, jobs_cancel, new_group=spot)
4016
- _add_command_alias(jobs, jobs_dashboard, new_group=spot)
4017
-
4018
-
4019
4000
  @cli.group(cls=_NaturalOrderGroup)
4020
4001
  def serve():
4021
4002
  """SkyServe CLI (multi-region, multi-cloud serving)."""
sky/clouds/azure.py CHANGED
@@ -8,6 +8,7 @@ import typing
8
8
  from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
9
9
 
10
10
  import colorama
11
+ from packaging import version as pversion
11
12
 
12
13
  from sky import clouds
13
14
  from sky import exceptions
@@ -198,6 +199,18 @@ class Azure(clouds.Cloud):
198
199
  # not the image location. Marketplace image is globally available.
199
200
  region = 'eastus'
200
201
  publisher, offer, sku, version = image_id.split(':')
202
+ # Since the Azure SDK requires explicitly specifying the image version number,
203
+ # when the version is "latest," we need to manually query the current latest version.
204
+ # By querying the image size through a precise image version, while directly using the latest image version when creating a VM,
205
+ # there might be a difference in image information, and the probability of this occurring is very small.
206
+ if version == 'latest':
207
+ versions = compute_client.virtual_machine_images.list(
208
+ location=region,
209
+ publisher_name=publisher,
210
+ offer=offer,
211
+ skus=sku)
212
+ latest_version = max(versions, key=lambda x: pversion.parse(x.name))
213
+ version = latest_version.name
201
214
  try:
202
215
  image = compute_client.virtual_machine_images.get(
203
216
  region, publisher, offer, sku, version)
sky/skylet/constants.py CHANGED
@@ -55,7 +55,7 @@ SKY_REMOTE_PYTHON_ENV = f'~/{SKY_REMOTE_PYTHON_ENV_NAME}'
55
55
  ACTIVATE_SKY_REMOTE_PYTHON_ENV = f'source {SKY_REMOTE_PYTHON_ENV}/bin/activate'
56
56
  # uv is used for venv and pip, much faster than python implementations.
57
57
  SKY_UV_INSTALL_DIR = '"$HOME/.local/bin"'
58
- SKY_UV_CMD = f'{SKY_UV_INSTALL_DIR}/uv'
58
+ SKY_UV_CMD = f'UV_SYSTEM_PYTHON=false {SKY_UV_INSTALL_DIR}/uv'
59
59
  # This won't reinstall uv if it's already installed, so it's safe to re-run.
60
60
  SKY_UV_INSTALL_CMD = (f'{SKY_UV_CMD} -V >/dev/null 2>&1 || '
61
61
  'curl -LsSf https://astral.sh/uv/install.sh '
@@ -21,9 +21,9 @@ setup: |
21
21
  {{cmd}}
22
22
  {%- endfor %}
23
23
 
24
- {% if is_dev %}
25
- # Internal: disable logging for manually logging into the jobs controller for debugging.
26
- echo 'export SKYPILOT_DEV=1' >> ~/.bashrc
24
+ {% if controller_envs.get('SKYPILOT_DEV') != '0' %}
25
+ grep -q 'export SKYPILOT_DEV=' ~/.bashrc || echo 'export SKYPILOT_DEV=1' >> ~/.bashrc
26
+ grep -q 'alias sky-env=' ~/.bashrc || echo 'alias sky-env="{{ sky_activate_python_env }}"' >> ~/.bashrc
27
27
  {% endif %}
28
28
 
29
29
  # Create systemd service file
@@ -15,6 +15,11 @@ setup: |
15
15
  {{cmd}}
16
16
  {%- endfor %}
17
17
 
18
+ {% if controller_envs.get('SKYPILOT_DEV') != '0' %}
19
+ grep -q 'export SKYPILOT_DEV=' ~/.bashrc || echo 'export SKYPILOT_DEV=1' >> ~/.bashrc
20
+ grep -q 'alias sky-env=' ~/.bashrc || echo 'alias sky-env="{{ sky_activate_python_env }}"' >> ~/.bashrc
21
+ {% endif %}
22
+
18
23
  # Install serve dependencies.
19
24
  # TODO(tian): Gather those into serve constants.
20
25
  pip list | grep uvicorn > /dev/null 2>&1 || pip install uvicorn > /dev/null 2>&1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: skypilot-nightly
3
- Version: 1.0.0.dev20250127
3
+ Version: 1.0.0.dev20250128
4
4
  Summary: SkyPilot: An intercloud broker for the clouds
5
5
  Author: SkyPilot Team
6
6
  License: Apache 2.0
@@ -181,7 +181,7 @@ Dynamic: summary
181
181
 
182
182
  ----
183
183
  :fire: *News* :fire:
184
- - [Jan 2025] Launch and Serve **[DeepSeek-R1](https://github.com/deepseek-ai/DeepSeek-R1)** on Kubernetes or Any Cloud: [**example**](./llm/deepseek-r1/)
184
+ - [Jan 2025] Launch and Serve **[DeepSeek-R1](https://github.com/deepseek-ai/DeepSeek-R1)** and **[Janus](https://github.com/deepseek-ai/DeepSeek-Janus)** on Kubernetes or Any Cloud: [**R1 example**](./llm/deepseek-r1/) and [**Janus example**](./llm/deepseek-janus/)
185
185
  - [Oct 2024] :tada: **SkyPilot crossed 1M+ downloads** :tada:: Thank you to our community! [**Twitter/X**](https://x.com/skypilot_org/status/1844770841718067638)
186
186
  - [Sep 2024] Point, Launch and Serve **Llama 3.2** on Kubernetes or Any Cloud: [**example**](./llm/llama-3_2/)
187
187
  - [Sep 2024] Run and deploy [**Pixtral**](./llm/pixtral), the first open-source multimodal model from Mistral AI.
@@ -314,6 +314,8 @@ To learn more, see [Concept: Sky Computing](https://docs.skypilot.co/en/latest/s
314
314
  Runnable examples:
315
315
  - [**AI Gallery**](https://docs.skypilot.co/en/latest/gallery/index.html)
316
316
  - LLMs on SkyPilot
317
+ - [DeepSeek-R1](./llm/deepseek-r1/)
318
+ - [DeepSeek-Janus](./llm/deepseek-janus/)
317
319
  - [Llama 3.2: lightweight and vision models](./llm/llama-3_2/)
318
320
  - [Pixtral](./llm/pixtral/)
319
321
  - [Llama 3.1 finetuning](./llm/llama-3_1-finetuning/) and [serving](./llm/llama-3_1/)
@@ -1,8 +1,8 @@
1
- sky/__init__.py,sha256=PUYRkVZNb-9qJQiHrhAUKKhCTKzNhdcn7yar5sqTNOU,5944
1
+ sky/__init__.py,sha256=dy37SX5Qkrli69o5_ODmhM3BzjCvwquqr4Fa_-SQtkU,5529
2
2
  sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
3
3
  sky/authentication.py,sha256=LXUDABKP1FJCS256xTTDJa40WXwHKF5x49S-4hZbD1M,21501
4
4
  sky/check.py,sha256=qTpm3N1zUZi2inEZPsrbt278B3h8nsk2gnepzIgLybE,10899
5
- sky/cli.py,sha256=suOjHrt7mQTK47Z9ZQjogyUwnxfsKZ3_eP86AI29Dko,213891
5
+ sky/cli.py,sha256=xy5moD0W-retbQHxj7hq3q1mggU3dIWfepbj2Z8GCg0,213217
6
6
  sky/cloud_stores.py,sha256=PcLT57_8SZy7o6paAluElfBynaLkbaOq3l-8dNg1AVM,23672
7
7
  sky/core.py,sha256=fE1rn4Ku94S0XmWTO5-6t6eT6aaJImNczRqEnTe8v7Q,38742
8
8
  sky/dag.py,sha256=f3sJlkH4bE6Uuz3ozNtsMhcBpRx7KmC9Sa4seDKt4hU,3104
@@ -42,7 +42,7 @@ sky/benchmark/benchmark_state.py,sha256=X8CXmuU9KgsDRhKedhFgjeRMUFWtQsjFs1qECvPG
42
42
  sky/benchmark/benchmark_utils.py,sha256=mP8Ox2WiKfthq6LcUAZnHknFQ0n8v9o_rCh1LXLgkqc,26192
43
43
  sky/clouds/__init__.py,sha256=iORaV6auqMxa6-6FKgt1C9f3UqRk1GASUtakua3tb9A,1395
44
44
  sky/clouds/aws.py,sha256=6mwI6wb1ry11KTMMdRVJ6W5cQuGF_v3gmRs4axJxEQw,53806
45
- sky/clouds/azure.py,sha256=KtnnNZn4ZEr7xndBHxX91v0YXSI1QWPgIefuM1zDUBA,30784
45
+ sky/clouds/azure.py,sha256=UlBsgVH3dTV1INFLwHCntpXrdZ4ByTkdXQmjvVdGyQo,31608
46
46
  sky/clouds/cloud.py,sha256=5_ZduUcyCEY1JnX_h0PrJ5xwtPP4oor4jf6cICgSArc,35370
47
47
  sky/clouds/cloud_registry.py,sha256=oLoYFjm_SDTgdHokY7b6A5Utq80HXRQNxV0fLjDdVsQ,2361
48
48
  sky/clouds/cudo.py,sha256=TjlgTklsNhbzpTaqEZ5TudnH7YW9aJpkt4xyAhyaKj0,13094
@@ -207,7 +207,7 @@ sky/skylet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
207
207
  sky/skylet/attempt_skylet.py,sha256=GZ6ITjjA0m-da3IxXXfoHR6n4pjp3X3TOXUqVvSrV0k,2136
208
208
  sky/skylet/autostop_lib.py,sha256=JPDHmByuhoNYXSUHl-OnyeJUkOFWn7gDM1FrS7Kr3E8,4478
209
209
  sky/skylet/configs.py,sha256=UtnpmEL0F9hH6PSjhsps7xgjGZ6qzPOfW1p2yj9tSng,1887
210
- sky/skylet/constants.py,sha256=uLEVhMZXpIlj7b_03ixAI6rC6fTM1k5xPUWR4LvzQyo,16022
210
+ sky/skylet/constants.py,sha256=w_6GtXX6g0Rns4dA6-reQmd2YOHzTuTb-THkXFeznsg,16045
211
211
  sky/skylet/events.py,sha256=0bOjUYpphuAficD9wDB5NOan2vwJDaRqdnm4sl0RK0U,12535
212
212
  sky/skylet/job_lib.py,sha256=Rk-C069cusJIRXsks8xqCb016JSt7GlpU7LrpX0qFJk,42785
213
213
  sky/skylet/log_lib.py,sha256=oFEBd85vDYFrIyyZKekH30yc4rRYILC0F0o-COQ64oE,20445
@@ -238,7 +238,7 @@ sky/templates/do-ray.yml.j2,sha256=sRKpn0tC-uPYtSZ20OB4fMzE7RbPQUr8kOCIbuJ4b4Q,4
238
238
  sky/templates/fluidstack-ray.yml.j2,sha256=t8TCULgiErCZdtFmBZVsA8ZdcqR7ccwsmQhuDFTBEAU,3541
239
239
  sky/templates/gcp-ray.yml.j2,sha256=y95B-Nk6hFxm6vEIaxI1wFzAIcy_GcKC3XMYo9m-ThI,9662
240
240
  sky/templates/ibm-ray.yml.j2,sha256=RMBUqPId8i4CnVwcyfK3DbRapF1jFMuGQlY0E0PFbMU,6669
241
- sky/templates/jobs-controller.yaml.j2,sha256=xShAe0ei-psRvfdJZ5ebQufEDIbaKV8KWEnQD-TYF5k,2705
241
+ sky/templates/jobs-controller.yaml.j2,sha256=FfagMkhXZdUWR6HtJHJ3JEZzJy4eov5CQZH4pbIB5I8,2800
242
242
  sky/templates/kubernetes-ingress.yml.j2,sha256=73iDklVDWBMbItg0IexCa6_ClXPJOxw7PWz3leku4nE,1340
243
243
  sky/templates/kubernetes-loadbalancer.yml.j2,sha256=IxrNYM366N01bbkJEbZ_UPYxUP8wyVEbRNFHRsBuLsw,626
244
244
  sky/templates/kubernetes-port-forward-proxy-command.sh,sha256=iw7mypHszg6Ggq9MbyiYMFOkSlXaQZulaxqC5IWYGCc,3381
@@ -250,7 +250,7 @@ sky/templates/oci-ray.yml.j2,sha256=92dvXGaUd2Kwep9fgTjOsAPJiBLr8GQTjy7pFvuPAyE,
250
250
  sky/templates/paperspace-ray.yml.j2,sha256=HQjZNamrB_a4fOMCxQXSVdV5JIHtbGtAE0JzEO8uuVQ,4021
251
251
  sky/templates/runpod-ray.yml.j2,sha256=bUiF4Y_EkCA_GKLtTzPXbajdL-NOUiJ38Pe4dZd2dys,4284
252
252
  sky/templates/scp-ray.yml.j2,sha256=I9u8Ax-lit-d6UrCC9BVU8avst8w1cwK6TrzZBcz_JM,5608
253
- sky/templates/sky-serve-controller.yaml.j2,sha256=1K-ObUxhpz1q_LfuZsHpJRyhcPfW3km7-RxbxyCo994,1757
253
+ sky/templates/sky-serve-controller.yaml.j2,sha256=W4i1-OGRU2WDvauLC4EDXcYrNxj7mzRFSvSqzAKfehc,2020
254
254
  sky/templates/vsphere-ray.yml.j2,sha256=cOQ-qdpxGA2FHajMMhTJI-SmlYzdPterX4Gsiq-nkb0,3587
255
255
  sky/usage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
256
  sky/usage/constants.py,sha256=8xpg9vhDU9A3eObtpkNFjwa42oCazqGEv4yw_vJSO7U,590
@@ -289,9 +289,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=k0TBoQ4zgf79-sVkixKSGYFHQ7Z
289
289
  sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
290
290
  sky/utils/kubernetes/rsync_helper.sh,sha256=h4YwrPFf9727CACnMJvF3EyK_0OeOYKKt4su_daKekw,1256
291
291
  sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=Kq1MDygF2IxFmu9FXpCxqucXLmeUrvs6OtRij6XTQbo,6554
292
- skypilot_nightly-1.0.0.dev20250127.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
293
- skypilot_nightly-1.0.0.dev20250127.dist-info/METADATA,sha256=kmjkOk238zFP4hCCa1ukh3GUKbNoszTIxZ_stzI66EA,21054
294
- skypilot_nightly-1.0.0.dev20250127.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
295
- skypilot_nightly-1.0.0.dev20250127.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
296
- skypilot_nightly-1.0.0.dev20250127.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
297
- skypilot_nightly-1.0.0.dev20250127.dist-info/RECORD,,
292
+ skypilot_nightly-1.0.0.dev20250128.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
293
+ skypilot_nightly-1.0.0.dev20250128.dist-info/METADATA,sha256=3QZ3gCbhkRS8POjK1YNj-JSQQb3F6gb50oFV1Wmb-Rk,21249
294
+ skypilot_nightly-1.0.0.dev20250128.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
295
+ skypilot_nightly-1.0.0.dev20250128.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
296
+ skypilot_nightly-1.0.0.dev20250128.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
297
+ skypilot_nightly-1.0.0.dev20250128.dist-info/RECORD,,