skypilot-nightly 1.0.0.dev20240829__py3-none-any.whl → 1.0.0.dev20240830__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 +2 -2
- sky/backends/backend_utils.py +8 -2
- sky/backends/cloud_vm_ray_backend.py +1 -1
- sky/provision/kubernetes/utils.py +7 -9
- sky/skylet/constants.py +4 -3
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/RECORD +11 -11
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/top_level.txt +0 -0
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 = '
|
8
|
+
_SKYPILOT_COMMIT_SHA = '50f68d2093cbe9dc7da6d53c3c17c45e0b97b84c'
|
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.
|
38
|
+
__version__ = '1.0.0.dev20240830'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
sky/backends/backend_utils.py
CHANGED
@@ -882,6 +882,11 @@ def write_cluster_config(
|
|
882
882
|
f'open(os.path.expanduser("{constants.SKY_REMOTE_RAY_PORT_FILE}"), "w", encoding="utf-8"))\''
|
883
883
|
)
|
884
884
|
|
885
|
+
# We disable conda auto-activation if the user has specified a docker image
|
886
|
+
# to use, which is likely to already have a conda environment activated.
|
887
|
+
conda_auto_activate = ('true' if to_provision.extract_docker_image() is None
|
888
|
+
else 'false')
|
889
|
+
|
885
890
|
# Use a tmp file path to avoid incomplete YAML file being re-used in the
|
886
891
|
# future.
|
887
892
|
tmp_yaml_path = yaml_path + '.tmp'
|
@@ -916,10 +921,11 @@ def write_cluster_config(
|
|
916
921
|
'specific_reservations': specific_reservations,
|
917
922
|
|
918
923
|
# Conda setup
|
919
|
-
'conda_installation_commands':
|
920
|
-
constants.CONDA_INSTALLATION_COMMANDS,
|
921
924
|
# We should not use `.format`, as it contains '{}' as the bash
|
922
925
|
# syntax.
|
926
|
+
'conda_installation_commands':
|
927
|
+
constants.CONDA_INSTALLATION_COMMANDS.replace(
|
928
|
+
'{conda_auto_activate}', conda_auto_activate),
|
923
929
|
'ray_skypilot_installation_commands':
|
924
930
|
(constants.RAY_SKYPILOT_INSTALLATION_COMMANDS.replace(
|
925
931
|
'{sky_wheel_hash}',
|
@@ -1933,7 +1933,7 @@ class RetryingVmProvisioner(object):
|
|
1933
1933
|
while True:
|
1934
1934
|
if (isinstance(to_provision.cloud, clouds.Azure) and
|
1935
1935
|
to_provision.accelerators is not None and
|
1936
|
-
'A10' in to_provision.accelerators):
|
1936
|
+
'A10' in to_provision.accelerators and prev_handle is None):
|
1937
1937
|
logger.warning(f'{style.BRIGHT}{fore.YELLOW}Trying to launch '
|
1938
1938
|
'an A10 cluster on Azure. This may take ~20 '
|
1939
1939
|
'minutes due to driver installation.'
|
@@ -110,8 +110,9 @@ def get_gke_accelerator_name(accelerator: str) -> str:
|
|
110
110
|
if accelerator == 'H100':
|
111
111
|
# H100 is named as H100-80GB in GKE.
|
112
112
|
accelerator = 'H100-80GB'
|
113
|
-
if accelerator in ('A100-80GB', 'L4', 'H100-80GB'):
|
114
|
-
# A100-80GB, L4 and H100-80GB
|
113
|
+
if accelerator in ('A100-80GB', 'L4', 'H100-80GB', 'H100-MEGA-80GB'):
|
114
|
+
# A100-80GB, L4, H100-80GB and H100-MEGA-80GB
|
115
|
+
# have a different name pattern.
|
115
116
|
return 'nvidia-{}'.format(accelerator.lower())
|
116
117
|
else:
|
117
118
|
return 'nvidia-tesla-{}'.format(accelerator.lower())
|
@@ -194,13 +195,10 @@ class GKELabelFormatter(GPULabelFormatter):
|
|
194
195
|
return value.replace('nvidia-tesla-', '').upper()
|
195
196
|
elif value.startswith('nvidia-'):
|
196
197
|
acc = value.replace('nvidia-', '').upper()
|
197
|
-
if acc
|
198
|
-
# H100
|
199
|
-
#
|
200
|
-
#
|
201
|
-
# TODO: we do not distinguish the two GPUs for simplicity,
|
202
|
-
# but we can evaluate whether we should distinguish
|
203
|
-
# them based on users' requests.
|
198
|
+
if acc == 'H100-80GB':
|
199
|
+
# H100 can be either H100-80GB or H100-MEGA-80GB in GKE
|
200
|
+
# we map H100 ---> H100-80GB and keep H100-MEGA-80GB
|
201
|
+
# to distinguish between a3-high and a3-mega instances
|
204
202
|
return 'H100'
|
205
203
|
return acc
|
206
204
|
else:
|
sky/skylet/constants.py
CHANGED
@@ -135,8 +135,9 @@ CONDA_INSTALLATION_COMMANDS = (
|
|
135
135
|
# true.
|
136
136
|
'{ bash Miniconda3-Linux-x86_64.sh -b; '
|
137
137
|
'eval "$(~/miniconda3/bin/conda shell.bash hook)" && conda init && '
|
138
|
-
|
139
|
-
|
138
|
+
# Caller should replace {conda_auto_activate} with either true or false.
|
139
|
+
'conda config --set auto_activate_base {conda_auto_activate} && '
|
140
|
+
'conda activate base; }; }; '
|
140
141
|
'grep "# >>> conda initialize >>>" ~/.bashrc || '
|
141
142
|
'{ conda init && source ~/.bashrc; };'
|
142
143
|
# If Python version is larger then equal to 3.12, create a new conda env
|
@@ -145,7 +146,7 @@ CONDA_INSTALLATION_COMMANDS = (
|
|
145
146
|
# costly to create a new conda env, and venv should be a lightweight and
|
146
147
|
# faster alternative when the python version satisfies the requirement.
|
147
148
|
'[[ $(python3 --version | cut -d " " -f 2 | cut -d "." -f 2) -ge 12 ]] && '
|
148
|
-
|
149
|
+
'echo "Creating conda env with Python 3.10" && '
|
149
150
|
f'conda create -y -n {SKY_REMOTE_PYTHON_ENV_NAME} python=3.10 && '
|
150
151
|
f'conda activate {SKY_REMOTE_PYTHON_ENV_NAME};'
|
151
152
|
# Create a separate conda environment for SkyPilot dependencies.
|
{skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=angs0wzt2OvRW2xcog-DPdvft3PIkU2B3pGM4vwSeXA,5588
|
2
2
|
sky/authentication.py,sha256=PXKsabUKnvhoTNoNwZzo66qjCLAsuc5pQ8esVu0IYh8,20424
|
3
3
|
sky/check.py,sha256=sqUCow5Gqqtp2ouk7tZ3whwDOK23wqyUJvcxMBsich8,9080
|
4
4
|
sky/cli.py,sha256=XlgRr617B_yE2HV_nW01D_m5nWntW2GstutNrMp86UA,201504
|
@@ -29,8 +29,8 @@ sky/adaptors/runpod.py,sha256=4Nt_BfZhJAKQNA3wO8cxvvNI8x4NsDGHu_4EhRDlGYQ,225
|
|
29
29
|
sky/adaptors/vsphere.py,sha256=zJP9SeObEoLrpgHW2VHvZE48EhgVf8GfAEIwBeaDMfM,2129
|
30
30
|
sky/backends/__init__.py,sha256=UDjwbUgpTRApbPJnNfR786GadUuwgRk3vsWoVu5RB_c,536
|
31
31
|
sky/backends/backend.py,sha256=xtxR6boDv1o-uSCjbJhOMkKMnZvBZh3gExx4khFWPTI,5932
|
32
|
-
sky/backends/backend_utils.py,sha256=
|
33
|
-
sky/backends/cloud_vm_ray_backend.py,sha256=
|
32
|
+
sky/backends/backend_utils.py,sha256=8RDFfrr-1xnefnLhRKK2d8xlFBLR43ZjcDShB2K7_m8,126163
|
33
|
+
sky/backends/cloud_vm_ray_backend.py,sha256=dRUIVroKw5vrOqEheJ1OwVKQiHgG9LfNdE3rmdviIZA,230209
|
34
34
|
sky/backends/docker_utils.py,sha256=Hyw1YY20EyghhEbYx6O2FIMDcGkNzBzV9TM7LFynei8,8358
|
35
35
|
sky/backends/local_docker_backend.py,sha256=H4GBo0KFUC_EEf-ziv1OUbfAkOI5BrwkYs9fYOxSoNw,16741
|
36
36
|
sky/backends/wheel_utils.py,sha256=3QS4T_Ydvo4DbYhogtyADyNBEf04I6jUCL71M285shQ,7963
|
@@ -140,7 +140,7 @@ sky/provision/kubernetes/config.py,sha256=Um6ec0SEhYKFwhh0zSfptYXgfoHjb51kOAVJtf
|
|
140
140
|
sky/provision/kubernetes/instance.py,sha256=wvxtzIt0fjXtIyvdDQplPMQkrz9cuzi8gTeLVE9ggfc,38044
|
141
141
|
sky/provision/kubernetes/network.py,sha256=GJ-tmd2LWcRVvXvTLP6dfQgRAgW2lsQvLpKF2mZ-sHo,11172
|
142
142
|
sky/provision/kubernetes/network_utils.py,sha256=U_QOStUfrOjINk2zG6UZD2H6wd5LWqODruq7QWm6Coo,11079
|
143
|
-
sky/provision/kubernetes/utils.py,sha256=
|
143
|
+
sky/provision/kubernetes/utils.py,sha256=Q0tInj4qSM2tFXKZFHjcM4a0RZA4DKADG3dkvN6pxNA,72304
|
144
144
|
sky/provision/kubernetes/manifests/smarter-device-manager-configmap.yaml,sha256=AMzYzlY0JIlfBWj5eX054Rc1XDW2thUcLSOGMJVhIdA,229
|
145
145
|
sky/provision/kubernetes/manifests/smarter-device-manager-daemonset.yaml,sha256=RtTq4F1QUmR2Uunb6zuuRaPhV7hpesz4saHjn3Ncsb4,2010
|
146
146
|
sky/provision/paperspace/__init__.py,sha256=1nbUPWio7UA5gCQkO_rfEDfgXT17u5OtuByxQx4Ez6g,598
|
@@ -186,7 +186,7 @@ sky/skylet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
186
186
|
sky/skylet/attempt_skylet.py,sha256=GZ6ITjjA0m-da3IxXXfoHR6n4pjp3X3TOXUqVvSrV0k,2136
|
187
187
|
sky/skylet/autostop_lib.py,sha256=JPDHmByuhoNYXSUHl-OnyeJUkOFWn7gDM1FrS7Kr3E8,4478
|
188
188
|
sky/skylet/configs.py,sha256=UtnpmEL0F9hH6PSjhsps7xgjGZ6qzPOfW1p2yj9tSng,1887
|
189
|
-
sky/skylet/constants.py,sha256=
|
189
|
+
sky/skylet/constants.py,sha256=9LJTdl8f60mQ1njhnzcWVuT_Hf02YCpPfjg7pnITgPs,14590
|
190
190
|
sky/skylet/events.py,sha256=A09E7LmmwzcGrSG0n8K7d3EZ1ZJr1mmmzoGyhnArYJA,12303
|
191
191
|
sky/skylet/job_lib.py,sha256=1XTXLStPiHk8X2SHe6x4PNQ01Rj6Cwagr5lLWjzpj6E,35198
|
192
192
|
sky/skylet/log_lib.py,sha256=tMnN9VEP8DpC99ZqqMABPoWGDb_4FmY3hTWJn90rJ1o,19085
|
@@ -270,9 +270,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=KPqp23B-zQ2SZK03jdHeF9fLTog
|
|
270
270
|
sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
|
271
271
|
sky/utils/kubernetes/rsync_helper.sh,sha256=1ad-m4s8QTPxaBQxNIL8AGDfX4un6T0dxZgk-R7OLyE,154
|
272
272
|
sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
|
273
|
-
skypilot_nightly-1.0.0.
|
274
|
-
skypilot_nightly-1.0.0.
|
275
|
-
skypilot_nightly-1.0.0.
|
276
|
-
skypilot_nightly-1.0.0.
|
277
|
-
skypilot_nightly-1.0.0.
|
278
|
-
skypilot_nightly-1.0.0.
|
273
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
274
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/METADATA,sha256=Jh1SbfNPD4ZvKHHq3bE99tGxJ6hXOI67Ut_49WPpesA,18870
|
275
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
|
276
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
277
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
278
|
+
skypilot_nightly-1.0.0.dev20240830.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20240829.dist-info → skypilot_nightly-1.0.0.dev20240830.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|