podstack 1.3.6__tar.gz → 1.3.8__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.
Files changed (32) hide show
  1. {podstack-1.3.6 → podstack-1.3.8}/PKG-INFO +1 -1
  2. {podstack-1.3.6 → podstack-1.3.8}/podstack/gpu_runner.py +4 -2
  3. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/client.py +4 -4
  4. {podstack-1.3.6 → podstack-1.3.8}/podstack.egg-info/PKG-INFO +1 -1
  5. {podstack-1.3.6 → podstack-1.3.8}/pyproject.toml +1 -1
  6. {podstack-1.3.6 → podstack-1.3.8}/LICENSE +0 -0
  7. {podstack-1.3.6 → podstack-1.3.8}/README.md +0 -0
  8. {podstack-1.3.6 → podstack-1.3.8}/podstack/__init__.py +0 -0
  9. {podstack-1.3.6 → podstack-1.3.8}/podstack/annotations.py +0 -0
  10. {podstack-1.3.6 → podstack-1.3.8}/podstack/client.py +0 -0
  11. {podstack-1.3.6 → podstack-1.3.8}/podstack/exceptions.py +0 -0
  12. {podstack-1.3.6 → podstack-1.3.8}/podstack/execution.py +0 -0
  13. {podstack-1.3.6 → podstack-1.3.8}/podstack/models.py +0 -0
  14. {podstack-1.3.6 → podstack-1.3.8}/podstack/notebook.py +0 -0
  15. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/__init__.py +0 -0
  16. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/exceptions.py +0 -0
  17. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/experiment.py +0 -0
  18. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/model.py +0 -0
  19. {podstack-1.3.6 → podstack-1.3.8}/podstack/registry/model_utils.py +0 -0
  20. {podstack-1.3.6 → podstack-1.3.8}/podstack.egg-info/SOURCES.txt +0 -0
  21. {podstack-1.3.6 → podstack-1.3.8}/podstack.egg-info/dependency_links.txt +0 -0
  22. {podstack-1.3.6 → podstack-1.3.8}/podstack.egg-info/requires.txt +0 -0
  23. {podstack-1.3.6 → podstack-1.3.8}/podstack.egg-info/top_level.txt +0 -0
  24. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/__init__.py +0 -0
  25. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/app.py +0 -0
  26. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/exceptions.py +0 -0
  27. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/image.py +0 -0
  28. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/runner.py +0 -0
  29. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/secret.py +0 -0
  30. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/utils.py +0 -0
  31. {podstack-1.3.6 → podstack-1.3.8}/podstack_gpu/volume.py +0 -0
  32. {podstack-1.3.6 → podstack-1.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: podstack
3
- Version: 1.3.6
3
+ Version: 1.3.8
4
4
  Summary: Official Python SDK for Podstack GPU Notebook Platform
5
5
  Author-email: Podstack <support@podstack.ai>
6
6
  License-Expression: MIT
@@ -444,7 +444,8 @@ def _stream_install(cmd, description):
444
444
  # Install pip packages using uv (faster)
445
445
  _pip_packages = {repr(pip_list)}
446
446
  _stream_install(
447
- ["uv", "pip", "install", "--system", "--progress"] + _pip_packages,
447
+ ["uv", "pip", "install", "--system", "--progress",
448
+ "--extra-index-url", "https://pypi.org/simple/"] + _pip_packages,
448
449
  f"Installing pip packages with uv: {{' '.join(_pip_packages)}}"
449
450
  )
450
451
  ''')
@@ -453,7 +454,8 @@ _stream_install(
453
454
  # Install pip packages
454
455
  _pip_packages = {repr(pip_list)}
455
456
  _stream_install(
456
- [sys.executable, "-m", "pip", "install", "--progress-bar", "on"] + _pip_packages,
457
+ [sys.executable, "-m", "pip", "install", "--progress-bar", "on",
458
+ "--extra-index-url", "https://pypi.org/simple/"] + _pip_packages,
457
459
  f"Installing pip packages: {{' '.join(_pip_packages)}}"
458
460
  )
459
461
  ''')
@@ -415,12 +415,12 @@ class RegistryClient:
415
415
  model_data = data.get("model", data)
416
416
  model = RegisteredModel.from_dict(model_data, client=self)
417
417
 
418
- # Auto-create version 1 when run_id is provided
418
+ # Auto-create version 1 when run_id is provided.
419
+ # Only pass source when the artifact dir actually exists locally;
420
+ # otherwise let the backend derive it from the run's artifact URI.
419
421
  if run_id:
420
422
  artifact_dir = self._get_artifact_dir(run_id)
421
- source = f"runs/{run_id}/artifacts/model"
422
- if os.path.isdir(artifact_dir):
423
- source = artifact_dir
423
+ source = artifact_dir if os.path.isdir(artifact_dir) else None
424
424
  self.create_model_version(
425
425
  model.id, run_id=run_id, source=source
426
426
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: podstack
3
- Version: 1.3.6
3
+ Version: 1.3.8
4
4
  Summary: Official Python SDK for Podstack GPU Notebook Platform
5
5
  Author-email: Podstack <support@podstack.ai>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "podstack"
7
- version = "1.3.6"
7
+ version = "1.3.8"
8
8
  description = "Official Python SDK for Podstack GPU Notebook Platform"
9
9
  readme = "README.md"
10
10
  license = "MIT"
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