b10-transfer 0.3.8__tar.gz → 0.3.9__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.
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/PKG-INFO +1 -1
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/pyproject.toml +1 -1
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/__init__.py +1 -1
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/utils.py +2 -2
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/README.md +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/archive.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/cache.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/cache_cli.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/cleanup.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/config.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/constants.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/core.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/environment.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/info.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/logging_utils.py +0 -0
- {b10_transfer-0.3.8 → b10_transfer-0.3.9}/src/b10_transfer/space_monitor.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: b10-transfer
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.9
|
4
4
|
Summary: Distributed PyTorch file transfer for Baseten - Environment-aware, lock-free file transfer management
|
5
5
|
License: MIT
|
6
6
|
Keywords: pytorch,file-transfer,cache,machine-learning,inference
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
4
4
|
|
5
5
|
[tool.poetry]
|
6
6
|
name = "b10-transfer"
|
7
|
-
version = "0.3.
|
7
|
+
version = "0.3.9"
|
8
8
|
description = "Distributed PyTorch file transfer for Baseten - Environment-aware, lock-free file transfer management"
|
9
9
|
authors = ["Shounak Ray <shounak.noreply@baseten.co>", "Fred Liu <fred.liu.noreply@baseten.co>"]
|
10
10
|
maintainers = ["Fred Liu <fred.liu.noreply@baseten.co>", "Shounak Ray <shounak.noreply@baseten.co>"]
|
@@ -226,9 +226,9 @@ def critical_section_b10fs_file_lock(name):
|
|
226
226
|
def decorator(func):
|
227
227
|
def wrapper(*args, **kwargs):
|
228
228
|
# Import here to avoid circular dependency
|
229
|
-
from .
|
229
|
+
from .config import config
|
230
230
|
|
231
|
-
lock_dir = Path(B10FS_CACHE_DIR)
|
231
|
+
lock_dir = Path(config.B10FS_CACHE_DIR)
|
232
232
|
lock_dir.mkdir(parents=True, exist_ok=True)
|
233
233
|
|
234
234
|
lock_file = lock_dir / f"{name}.lock"
|
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
|