skypilot-nightly 1.0.0.dev20250205__py3-none-any.whl → 1.0.0.dev20250206__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/jobs/dashboard/dashboard.py +10 -3
- sky/jobs/utils.py +10 -19
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/RECORD +9 -9
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.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 = '1e284afda6c2808e521e629a025267a12744b0db'
|
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.dev20250206'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
sky/jobs/dashboard/dashboard.py
CHANGED
@@ -91,10 +91,13 @@ JOB_TABLE_COLUMNS = [
|
|
91
91
|
'Recoveries', 'Details', 'Actions'
|
92
92
|
]
|
93
93
|
|
94
|
+
# This column is given by format_job_table but should be ignored.
|
95
|
+
SCHED_STATE_COLUMN = 12
|
96
|
+
|
94
97
|
|
95
98
|
def _extract_launch_history(log_content: str) -> str:
|
96
99
|
"""Extract launch history from log content.
|
97
|
-
|
100
|
+
|
98
101
|
Args:
|
99
102
|
log_content: Content of the log file.
|
100
103
|
Returns:
|
@@ -151,8 +154,12 @@ def home():
|
|
151
154
|
status_counts[task['status'].value] += 1
|
152
155
|
|
153
156
|
# Add an empty column for the dropdown button and actions column
|
154
|
-
|
155
|
-
|
157
|
+
# Exclude SCHED. STATE column
|
158
|
+
rows = [
|
159
|
+
[''] + row[:SCHED_STATE_COLUMN] + row[SCHED_STATE_COLUMN + 1:] +
|
160
|
+
# Add empty cell for failover and actions column
|
161
|
+
[''] + [''] for row in rows
|
162
|
+
]
|
156
163
|
|
157
164
|
# Add log content as failover history for each job
|
158
165
|
for row in rows:
|
sky/jobs/utils.py
CHANGED
@@ -965,7 +965,8 @@ def format_job_table(
|
|
965
965
|
'STATUS',
|
966
966
|
]
|
967
967
|
if show_all:
|
968
|
-
|
968
|
+
# TODO: move SCHED. STATE to a separate flag (e.g. --debug)
|
969
|
+
columns += ['STARTED', 'CLUSTER', 'REGION', 'SCHED. STATE', 'DETAILS']
|
969
970
|
if tasks_have_user:
|
970
971
|
columns.insert(0, 'USER')
|
971
972
|
job_table = log_utils.create_table(columns)
|
@@ -984,20 +985,10 @@ def format_job_table(
|
|
984
985
|
# by the task_id.
|
985
986
|
jobs[get_hash(task)].append(task)
|
986
987
|
|
987
|
-
def
|
988
|
-
schedule_state: Optional[str]) -> str:
|
989
|
-
description = ''
|
990
|
-
if schedule_state is not None:
|
991
|
-
description += f'Scheduler: {schedule_state}'
|
992
|
-
if failure_reason is not None:
|
993
|
-
description += ', '
|
988
|
+
def generate_details(failure_reason: Optional[str]) -> str:
|
994
989
|
if failure_reason is not None:
|
995
|
-
|
996
|
-
|
997
|
-
if description == '':
|
998
|
-
return '-'
|
999
|
-
|
1000
|
-
return description
|
990
|
+
return f'Failure: {failure_reason}'
|
991
|
+
return '-'
|
1001
992
|
|
1002
993
|
for job_hash, job_tasks in jobs.items():
|
1003
994
|
if show_all:
|
@@ -1050,13 +1041,13 @@ def format_job_table(
|
|
1050
1041
|
status_str,
|
1051
1042
|
]
|
1052
1043
|
if show_all:
|
1053
|
-
schedule_state = job_tasks[0]['schedule_state']
|
1054
1044
|
failure_reason = job_tasks[current_task_id]['failure_reason']
|
1055
1045
|
job_values.extend([
|
1056
1046
|
'-',
|
1057
1047
|
'-',
|
1058
1048
|
'-',
|
1059
|
-
|
1049
|
+
job_tasks[0]['schedule_state'],
|
1050
|
+
generate_details(failure_reason),
|
1060
1051
|
])
|
1061
1052
|
if tasks_have_user:
|
1062
1053
|
job_values.insert(0, job_tasks[0].get('user', '-'))
|
@@ -1087,14 +1078,14 @@ def format_job_table(
|
|
1087
1078
|
# schedule_state is only set at the job level, so if we have
|
1088
1079
|
# more than one task, only display on the aggregated row.
|
1089
1080
|
schedule_state = (task['schedule_state']
|
1090
|
-
if len(job_tasks) == 1 else
|
1081
|
+
if len(job_tasks) == 1 else '-')
|
1091
1082
|
values.extend([
|
1092
1083
|
# STARTED
|
1093
1084
|
log_utils.readable_time_duration(task['start_at']),
|
1094
1085
|
task['cluster_resources'],
|
1095
1086
|
task['region'],
|
1096
|
-
|
1097
|
-
|
1087
|
+
schedule_state,
|
1088
|
+
generate_details(task['failure_reason']),
|
1098
1089
|
])
|
1099
1090
|
if tasks_have_user:
|
1100
1091
|
values.insert(0, task.get('user', '-'))
|
{skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=2oWuJji_4TXB2bG4v7VeuOHv9-YgBtUDFnkqEGhorp8,5560
|
2
2
|
sky/admin_policy.py,sha256=hPo02f_A32gCqhUueF0QYy1fMSSKqRwYEg_9FxScN_s,3248
|
3
3
|
sky/authentication.py,sha256=ObVT8UOtkQJX4C-H9NhwzQouJzslFfVTfhYJVCisWMs,22338
|
4
4
|
sky/check.py,sha256=xzLlxUkBCrzpOho8lw65EvKLPl_b9lA2nteF5MSYbDQ,10885
|
@@ -107,8 +107,8 @@ sky/jobs/core.py,sha256=16oNEXz6HuoPYjnIa9UZBciwZKPGOwhkBd_mkWw4iOw,20063
|
|
107
107
|
sky/jobs/recovery_strategy.py,sha256=m-EA-MWXPFrgx2CYFPr6MmgeUoDTEBmY2xruD2PRSGY,26365
|
108
108
|
sky/jobs/scheduler.py,sha256=IUW0a_69Pkvs4jqsWCXkeMDIZn-TTuPNyZvPLGRUYUM,12306
|
109
109
|
sky/jobs/state.py,sha256=bvBNZMg3DzPfS4eHNzMqYaMui2cqnWoWGDIaiOpaXSk,40770
|
110
|
-
sky/jobs/utils.py,sha256=
|
111
|
-
sky/jobs/dashboard/dashboard.py,sha256=
|
110
|
+
sky/jobs/utils.py,sha256=7jJ_ayrGEGg0OnxzaPbYCBHN-VnBP8ARMKc7IHJo-os,52368
|
111
|
+
sky/jobs/dashboard/dashboard.py,sha256=ZMysaI6m5vtGvT4OPUdStLY7Gkieefyzh1l9o_WILqY,7896
|
112
112
|
sky/jobs/dashboard/static/favicon.ico,sha256=uYlvgxSM7gjBmXpZ8wydvZUPAbJiiix-rc2Xe5mma9s,15086
|
113
113
|
sky/jobs/dashboard/templates/index.html,sha256=tz95q8O2pF7IvfY6yv0rnPyhj4DX8WX4RIVVxqFKV1Y,28519
|
114
114
|
sky/provision/__init__.py,sha256=hb_z69_7-FH1I8aDpFKNj2x_a8spzceWcovklutNgP8,6370
|
@@ -298,9 +298,9 @@ sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=k0TBoQ4zgf79-sVkixKSGYFHQ7Z
|
|
298
298
|
sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
|
299
299
|
sky/utils/kubernetes/rsync_helper.sh,sha256=h4YwrPFf9727CACnMJvF3EyK_0OeOYKKt4su_daKekw,1256
|
300
300
|
sky/utils/kubernetes/ssh_jump_lifecycle_manager.py,sha256=Kq1MDygF2IxFmu9FXpCxqucXLmeUrvs6OtRij6XTQbo,6554
|
301
|
-
skypilot_nightly-1.0.0.
|
302
|
-
skypilot_nightly-1.0.0.
|
303
|
-
skypilot_nightly-1.0.0.
|
304
|
-
skypilot_nightly-1.0.0.
|
305
|
-
skypilot_nightly-1.0.0.
|
306
|
-
skypilot_nightly-1.0.0.
|
301
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
302
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/METADATA,sha256=hq7nwFgMYlEiUsCVAZAEL8D6i9f7SpofKBbymS2Hsqg,21373
|
303
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
304
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
305
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
306
|
+
skypilot_nightly-1.0.0.dev20250206.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20250205.dist-info → skypilot_nightly-1.0.0.dev20250206.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|