cortexgrid 0.2.87__tar.gz → 0.2.88__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: cortexgrid
3
- Version: 0.2.87
3
+ Version: 0.2.88
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,13 @@ def bundle_class(
131
131
  len(desc.local_files),
132
132
  pip_requirements,
133
133
  )
134
- zip_base = Path(tmp) / f"{family}__{suffix}"
135
- shutil.make_archive(str(zip_base), "zip", root_dir=str(code_root))
134
+ # make_archive returns the path it wrote. Rebuilding it with
135
+ # Path.with_suffix would cut dotted names ("Qwen2.5-0.5B" -> "Qwen2.zip").
136
+ archive = shutil.make_archive(
137
+ str(Path(tmp) / f"{family}__{suffix}"), "zip", root_dir=str(code_root)
138
+ )
136
139
  bundle_url = upload(
137
- str(zip_base.with_suffix(".zip")),
140
+ archive,
138
141
  dest_path=f"serve-bundles/{run_name}/{family}__{suffix}.zip",
139
142
  )
140
143
  return BundleMetadata(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cortexgrid"
3
- version = "0.2.87"
3
+ version = "0.2.88"
4
4
  description = "Connect your ML code to the RoboLab compute cluster — Ray, MLflow, and S3"
5
5
  readme = "docs/cortexgrid/README.md"
6
6
  license = "Apache-2.0"
File without changes
File without changes