cortexgrid 0.2.89__tar.gz → 0.2.90__tar.gz
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.
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/PKG-INFO +1 -1
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/model_serving.py +8 -1
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/pyproject.toml +1 -1
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/.gitignore +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/LICENSE +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/__init__.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/_bundle.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/_ray_job_driver.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/_serve_entry.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/checkpoint.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/experiment.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/infra.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/jobs.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/mlflow_util.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/model_storage.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/py.typed +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/ray_util.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/s3_util.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/secrets.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/cortexgrid/serve.py +0 -0
- {cortexgrid-0.2.89 → cortexgrid-0.2.90}/docs/cortexgrid/README.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cortexgrid
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.90
|
|
4
4
|
Summary: Connect your ML code to the RoboLab compute cluster — Ray, MLflow, and S3
|
|
5
5
|
Project-URL: Homepage, https://github.com/robodatalab/cortexgrid
|
|
6
6
|
Project-URL: Repository, https://github.com/robodatalab/cortexgrid
|
|
@@ -131,10 +131,17 @@ def bundle_class(
|
|
|
131
131
|
len(desc.local_files),
|
|
132
132
|
pip_requirements,
|
|
133
133
|
)
|
|
134
|
+
# Ray unpacks a remote (s3://) working_dir zip by stripping its
|
|
135
|
+
# top-level directory when there is exactly one, so a bundle of a single
|
|
136
|
+
# package (model_gateway/) would lose that directory and its import
|
|
137
|
+
# path. Zipping under code/ gives Ray that one directory to strip.
|
|
134
138
|
# make_archive returns the path it wrote. Rebuilding it with
|
|
135
139
|
# Path.with_suffix would cut dotted names ("Qwen2.5-0.5B" -> "Qwen2.zip").
|
|
136
140
|
archive = shutil.make_archive(
|
|
137
|
-
str(Path(tmp) / f"{family}__{suffix}"),
|
|
141
|
+
str(Path(tmp) / f"{family}__{suffix}"),
|
|
142
|
+
"zip",
|
|
143
|
+
root_dir=tmp,
|
|
144
|
+
base_dir=code_root.name,
|
|
138
145
|
)
|
|
139
146
|
bundle_url = upload(
|
|
140
147
|
archive,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|