b10-transfer 0.3.8__py3-none-any.whl → 0.3.9__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.
- b10_transfer/__init__.py +1 -1
- b10_transfer/utils.py +2 -2
- {b10_transfer-0.3.8.dist-info → b10_transfer-0.3.9.dist-info}/METADATA +1 -1
- {b10_transfer-0.3.8.dist-info → b10_transfer-0.3.9.dist-info}/RECORD +6 -6
- {b10_transfer-0.3.8.dist-info → b10_transfer-0.3.9.dist-info}/WHEEL +0 -0
- {b10_transfer-0.3.8.dist-info → b10_transfer-0.3.9.dist-info}/entry_points.txt +0 -0
b10_transfer/__init__.py
CHANGED
b10_transfer/utils.py
CHANGED
@@ -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"
|
@@ -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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
b10_transfer/__init__.py,sha256=
|
1
|
+
b10_transfer/__init__.py,sha256=DZznSJrXbqs2Tv65vuT2e2OrMY9t2aDP4LZebjQWfI0,729
|
2
2
|
b10_transfer/archive.py,sha256=RGk7pmOdF24aATKygkFOAfHB-90arnW67nj-WURZfcw,6424
|
3
3
|
b10_transfer/cache.py,sha256=VbAQx935rqdMXu6ejloa6Jw3n2KxkSMp3VLrNrgP--k,17480
|
4
4
|
b10_transfer/cache_cli.py,sha256=29H7HPKOvHP2LVI6J1Gad42iTXAZIwVqjvrZyIuCb_Q,3378
|
@@ -10,8 +10,8 @@ b10_transfer/environment.py,sha256=7DcEFmuxEMWwRM0M92q8al5rx8mpGY8dZ81Hokhb9B0,5
|
|
10
10
|
b10_transfer/info.py,sha256=MR6gXvL3gBImnafuDgbOsZAHy9_akwZVlyIPGu2t8jQ,6345
|
11
11
|
b10_transfer/logging_utils.py,sha256=c7iKNK9daNsrkHgsKl32rXscqqmWsq3a8ttz9M5ev3o,3460
|
12
12
|
b10_transfer/space_monitor.py,sha256=24rClldo6EYaeikEla3_q4IwwI0r3DEPzaIbfU4hTRE,10746
|
13
|
-
b10_transfer/utils.py,sha256=
|
14
|
-
b10_transfer-0.3.
|
15
|
-
b10_transfer-0.3.
|
16
|
-
b10_transfer-0.3.
|
17
|
-
b10_transfer-0.3.
|
13
|
+
b10_transfer/utils.py,sha256=cr-EEOtfu3xbyafneNFfiDoJrxCO16zXt6ZRHqSUd04,12023
|
14
|
+
b10_transfer-0.3.9.dist-info/METADATA,sha256=1k9wBCXl1yLSPodh-btGImOoTC_QqQGatve01OhCqRg,4108
|
15
|
+
b10_transfer-0.3.9.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
16
|
+
b10_transfer-0.3.9.dist-info/entry_points.txt,sha256=AFH8EfkeBv6ZuarnaUvbTjvySylf3GCSioYqB_ijrH8,65
|
17
|
+
b10_transfer-0.3.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|