skypilot-nightly 1.0.0.dev20241005__py3-none-any.whl → 1.0.0.dev20241006__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/serve/controller.py +9 -7
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/METADATA +2 -2
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/RECORD +8 -8
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.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 = 'f4886bed755a3a6ba62554ef359fbe1dcd174d78'
|
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.dev20241006'
|
39
39
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
40
40
|
|
41
41
|
|
sky/serve/controller.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Responsible for autoscaling and replica management.
|
4
4
|
"""
|
5
|
+
import contextlib
|
5
6
|
import logging
|
6
7
|
import threading
|
7
8
|
import time
|
@@ -49,7 +50,14 @@ class SkyServeController:
|
|
49
50
|
autoscalers.Autoscaler.from_spec(service_name, service_spec))
|
50
51
|
self._host = host
|
51
52
|
self._port = port
|
52
|
-
self._app = fastapi.FastAPI()
|
53
|
+
self._app = fastapi.FastAPI(lifespan=self.lifespan)
|
54
|
+
|
55
|
+
@contextlib.asynccontextmanager
|
56
|
+
async def lifespan(self, _: fastapi.FastAPI):
|
57
|
+
uvicorn_access_logger = logging.getLogger('uvicorn.access')
|
58
|
+
for handler in uvicorn_access_logger.handlers:
|
59
|
+
handler.setFormatter(sky_logging.FORMATTER)
|
60
|
+
yield
|
53
61
|
|
54
62
|
def _run_autoscaler(self):
|
55
63
|
logger.info('Starting autoscaler.')
|
@@ -142,12 +150,6 @@ class SkyServeController:
|
|
142
150
|
f'{common_utils.format_exception(e)}')
|
143
151
|
return {'message': 'Error'}
|
144
152
|
|
145
|
-
@self._app.on_event('startup')
|
146
|
-
def configure_logger():
|
147
|
-
uvicorn_access_logger = logging.getLogger('uvicorn.access')
|
148
|
-
for handler in uvicorn_access_logger.handlers:
|
149
|
-
handler.setFormatter(sky_logging.FORMATTER)
|
150
|
-
|
151
153
|
threading.Thread(target=self._run_autoscaler).start()
|
152
154
|
|
153
155
|
logger.info('SkyServe Controller started on '
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: skypilot-nightly
|
3
|
-
Version: 1.0.0.
|
3
|
+
Version: 1.0.0.dev20241006
|
4
4
|
Summary: SkyPilot: An intercloud broker for the clouds
|
5
5
|
Author: SkyPilot Team
|
6
6
|
License: Apache 2.0
|
@@ -153,7 +153,7 @@ Requires-Dist: pyvmomi==8.0.1.0.2; extra == "vsphere"
|
|
153
153
|
|
154
154
|
----
|
155
155
|
:fire: *News* :fire:
|
156
|
-
- [Sep, 2024] Point, Launch and Serve **Llama 3.2** on
|
156
|
+
- [Sep, 2024] Point, Launch and Serve **Llama 3.2** on Kubernetes or Any Cloud: [**example**](./llm/llama-3_2/)
|
157
157
|
- [Sep, 2024] Run and deploy [**Pixtral**](./llm/pixtral), the first open-source multimodal model from Mistral AI.
|
158
158
|
- [Jul, 2024] [**Finetune**](./llm/llama-3_1-finetuning/) and [**serve**](./llm/llama-3_1/) **Llama 3.1** on your infra
|
159
159
|
- [Jun, 2024] Reproduce **GPT** with [llm.c](https://github.com/karpathy/llm.c/discussions/481) on any cloud: [**guide**](./llm/gpt-2/)
|
{skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=Xtdc-QY_FgNqcqj_CNhowHLdYnKutlnzRxVUFB21BJc,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
|
@@ -171,7 +171,7 @@ sky/provision/vsphere/common/vim_utils.py,sha256=EMWLS8ILpdx6XwUZ9I53y0B_1yFrRrl
|
|
171
171
|
sky/serve/__init__.py,sha256=Qg_XPOtQsUxiN-Q3njHZRfzoMcQ_KKU1QthkiTbESDw,1661
|
172
172
|
sky/serve/autoscalers.py,sha256=khY1oZ22PRaUQNsLCoNKH178X_NiJw0LSLOKr7_LNgY,30275
|
173
173
|
sky/serve/constants.py,sha256=OansIC7a0Pwat-Y5SF43T9phad_EvyjKO3peZgKFEHk,4367
|
174
|
-
sky/serve/controller.py,sha256=
|
174
|
+
sky/serve/controller.py,sha256=NgJqRESccAQCUfW6yoxZbIOxzdsByVuRqTBCyvfmyOI,7706
|
175
175
|
sky/serve/core.py,sha256=cW2SNMPMbGtOcqASHnL__B12BCIErUilGtFw3olQbjk,28947
|
176
176
|
sky/serve/load_balancer.py,sha256=aUfDsgUT_fYrchCwJCeunMPXmAkwJAY58BEu-IN2FaA,11571
|
177
177
|
sky/serve/load_balancing_policies.py,sha256=ExdwH_pxPYpJ6CkoTQCOPSa4lzwbq1LFFMKzmIu8ryk,2331
|
@@ -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=Ma-N9a271fTfdgP5-8XIQL7KPf8IPUo-uY004PCdUFo,747
|
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.dev20241006.dist-info/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
277
|
+
skypilot_nightly-1.0.0.dev20241006.dist-info/METADATA,sha256=2utuR-W951m23X1syJR0VXTp8XiM4Gta_L2jnGEFt38,18945
|
278
|
+
skypilot_nightly-1.0.0.dev20241006.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
279
|
+
skypilot_nightly-1.0.0.dev20241006.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
280
|
+
skypilot_nightly-1.0.0.dev20241006.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
281
|
+
skypilot_nightly-1.0.0.dev20241006.dist-info/RECORD,,
|
File without changes
|
{skypilot_nightly-1.0.0.dev20241005.dist-info → skypilot_nightly-1.0.0.dev20241006.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|