skypilot-nightly 1.0.0.dev20241013__py3-none-any.whl → 1.0.0.dev20241014__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/clouds/oci.py +17 -2
- sky/skylet/job_lib.py +15 -0
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/RECORD +9 -9
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.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 = '340f38404fe5d3ebe35ea430a67cb3377241d1f3'
|
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.dev20241014'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
sky/clouds/oci.py
CHANGED
@@ -4,6 +4,19 @@ History:
|
|
4
4
|
- Hysun He (hysun.he@oracle.com) @ Apr, 2023: Initial implementation
|
5
5
|
- Hysun He (hysun.he@oracle.com) @ May 4, 2023: Support use the default
|
6
6
|
image_id (configurable) if no image_id specified in the task yaml.
|
7
|
+
- Hysun He (hysun.he@oracle.com) @ Oct 12, 2024:
|
8
|
+
get_credential_file_mounts(): bug fix for sky config
|
9
|
+
file path resolution (by os.path.expanduser) when construct the file
|
10
|
+
mounts. This bug will cause the created workder nodes located in different
|
11
|
+
compartment and VCN than the header node if user specifies compartment_id
|
12
|
+
in the sky config file, because the ~/.sky/config is not sync-ed to the
|
13
|
+
remote machine.
|
14
|
+
The workaround is set the sky config file path using ENV before running
|
15
|
+
the sky launch: export SKYPILOT_CONFIG=/home/ubuntu/.sky/config.yaml
|
16
|
+
- Hysun He (hysun.he@oracle.com) @ Oct 12, 2024:
|
17
|
+
make_deploy_resources_variables(): Bug fix for specify the image_id as
|
18
|
+
the ocid of the image in the task.yaml file, in this case the image_id
|
19
|
+
for the node config should be set to the ocid instead of a dict.
|
7
20
|
"""
|
8
21
|
import json
|
9
22
|
import logging
|
@@ -211,7 +224,9 @@ class OCI(clouds.Cloud):
|
|
211
224
|
listing_id = image_cols[1]
|
212
225
|
res_ver = image_cols[2]
|
213
226
|
else:
|
214
|
-
|
227
|
+
# Oct.12,2024 by HysunHe: Bug fix - resources.image_id is an
|
228
|
+
# dict. The image_id here should be the ocid format.
|
229
|
+
image_id = image_str
|
215
230
|
listing_id = None
|
216
231
|
res_ver = None
|
217
232
|
|
@@ -447,7 +462,7 @@ class OCI(clouds.Cloud):
|
|
447
462
|
credential_files = [oci_cfg_file, api_key_file]
|
448
463
|
|
449
464
|
# Sky config file is optional
|
450
|
-
if os.path.exists(sky_cfg_file):
|
465
|
+
if os.path.exists(os.path.expanduser(sky_cfg_file)):
|
451
466
|
credential_files.append(sky_cfg_file)
|
452
467
|
|
453
468
|
file_mounts = {
|
sky/skylet/job_lib.py
CHANGED
@@ -8,6 +8,7 @@ import json
|
|
8
8
|
import os
|
9
9
|
import pathlib
|
10
10
|
import shlex
|
11
|
+
import sqlite3
|
11
12
|
import subprocess
|
12
13
|
import time
|
13
14
|
import typing
|
@@ -55,6 +56,20 @@ os.makedirs(pathlib.Path(_DB_PATH).parents[0], exist_ok=True)
|
|
55
56
|
|
56
57
|
|
57
58
|
def create_table(cursor, conn):
|
59
|
+
# Enable WAL mode to avoid locking issues.
|
60
|
+
# See: issue #3863, #1441 and PR #1509
|
61
|
+
# https://github.com/microsoft/WSL/issues/2395
|
62
|
+
# TODO(romilb): We do not enable WAL for WSL because of known issue in WSL.
|
63
|
+
# This may cause the database locked problem from WSL issue #1441.
|
64
|
+
if not common_utils.is_wsl():
|
65
|
+
try:
|
66
|
+
cursor.execute('PRAGMA journal_mode=WAL')
|
67
|
+
except sqlite3.OperationalError as e:
|
68
|
+
if 'database is locked' not in str(e):
|
69
|
+
raise
|
70
|
+
# If the database is locked, it is OK to continue, as the WAL mode
|
71
|
+
# is not critical and is likely to be enabled by other processes.
|
72
|
+
|
58
73
|
cursor.execute("""\
|
59
74
|
CREATE TABLE IF NOT EXISTS jobs (
|
60
75
|
job_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
{skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=VNwdB81dfCeF4uRD4BuPNbQ3MmE9-P1PX9hLxEzmWmw,5854
|
2
2
|
sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
|
3
3
|
sky/authentication.py,sha256=TfKkVnmRIetATSEVQFp-rOOIRGqVig2i8faSQQt_ixA,20974
|
4
4
|
sky/check.py,sha256=jLMIIJrseaZj1_o5WkbaD9XdyXIlCaT6pyAaIFdhdmA,9079
|
@@ -50,7 +50,7 @@ sky/clouds/gcp.py,sha256=CrSsaSXd83tM78foKH9viBfW1cQsjve3aUQbshsqvDg,54033
|
|
50
50
|
sky/clouds/ibm.py,sha256=M8QdjeSFlwssfoY2aOodxG4q5R3eT9K-4lTPDHYvEYI,21476
|
51
51
|
sky/clouds/kubernetes.py,sha256=aWoXWR-S4puZHzuUHroLKxLdTpkqU7j75dQlXECnsmE,28679
|
52
52
|
sky/clouds/lambda_cloud.py,sha256=2Al3qCSl-I4iTi7pPPNXcbaLyVfCUgTl__vYBunLB6k,12439
|
53
|
-
sky/clouds/oci.py,sha256=
|
53
|
+
sky/clouds/oci.py,sha256=WXtxKwDBgi3He4ayi4qzJ4Y659Bi6xU8hWmYLHwiQYs,27371
|
54
54
|
sky/clouds/paperspace.py,sha256=lmUZPYAblaqiBmGQwCunccMiTF_dVA1o3vqY9Q_Nc28,10921
|
55
55
|
sky/clouds/runpod.py,sha256=lstUC6f4JDhtcH9NfwkbpCJMmfmvMigoanhPXPbTYds,11540
|
56
56
|
sky/clouds/scp.py,sha256=2KLTuNSMdBzK8CLwSesv7efOuiLidIMoyNG4AOt5Sqw,15870
|
@@ -189,7 +189,7 @@ sky/skylet/autostop_lib.py,sha256=JPDHmByuhoNYXSUHl-OnyeJUkOFWn7gDM1FrS7Kr3E8,44
|
|
189
189
|
sky/skylet/configs.py,sha256=UtnpmEL0F9hH6PSjhsps7xgjGZ6qzPOfW1p2yj9tSng,1887
|
190
190
|
sky/skylet/constants.py,sha256=txAK0602kGtaD42JUYECq5u4rLIZFhOIWz-fLUV1KgA,14652
|
191
191
|
sky/skylet/events.py,sha256=A09E7LmmwzcGrSG0n8K7d3EZ1ZJr1mmmzoGyhnArYJA,12303
|
192
|
-
sky/skylet/job_lib.py,sha256=
|
192
|
+
sky/skylet/job_lib.py,sha256=csXhJ6lvAxjzSy2PzZvr0sPJyEoVkCvPi2Zjq9JZkHY,35884
|
193
193
|
sky/skylet/log_lib.py,sha256=7rdmEr5Wy9CIGLkWls5-FVeqTL1O2GPy44uDaEAqMS0,19312
|
194
194
|
sky/skylet/log_lib.pyi,sha256=AHMkW2DGK2erFovb3ToZWxRiYaATlzkxKb5J9pkgF2Y,4295
|
195
195
|
sky/skylet/skylet.py,sha256=U9plr5hmhD9-Nyy0LMCymlE8DWtRXTFXQvfbFsS746Y,1153
|
@@ -273,9 +273,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=KPqp23B-zQ2SZK03jdHeF9fLTog
|
|
273
273
|
sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
|
274
274
|
sky/utils/kubernetes/rsync_helper.sh,sha256=aRMa_0JRHtXFOPtEg4rFAwR1t57wvvAoGZhn3H3BtGk,1059
|
275
275
|
sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=RFLJ3k7MR5UN4SKHykQ0lV9SgXumoULpKYIAt1vh-HU,6560
|
276
|
-
skypilot_nightly-1.0.0.
|
277
|
-
skypilot_nightly-1.0.0.
|
278
|
-
skypilot_nightly-1.0.0.
|
279
|
-
skypilot_nightly-1.0.0.
|
280
|
-
skypilot_nightly-1.0.0.
|
281
|
-
skypilot_nightly-1.0.0.
|
276
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
277
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/METADATA,sha256=oTglaVnp9O-PgRAk74UFb1rMIKKjm9z896VnhSIV83g,18945
|
278
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
279
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
280
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
281
|
+
skypilot_nightly-1.0.0.dev20241014.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20241013.dist-info → skypilot_nightly-1.0.0.dev20241014.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|