b10-transfer 0.3.10__py3-none-any.whl → 0.3.12__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/config.py +3 -0
- {b10_transfer-0.3.10.dist-info → b10_transfer-0.3.12.dist-info}/METADATA +1 -1
- {b10_transfer-0.3.10.dist-info → b10_transfer-0.3.12.dist-info}/RECORD +6 -6
- {b10_transfer-0.3.10.dist-info → b10_transfer-0.3.12.dist-info}/WHEEL +0 -0
- {b10_transfer-0.3.10.dist-info → b10_transfer-0.3.12.dist-info}/entry_points.txt +0 -0
b10_transfer/__init__.py
CHANGED
b10_transfer/config.py
CHANGED
@@ -34,6 +34,9 @@ class Config:
|
|
34
34
|
"""
|
35
35
|
default_dir = f"/tmp/torchinductor_{get_current_username()}"
|
36
36
|
chosen = os.getenv("TORCHINDUCTOR_CACHE_DIR", default_dir)
|
37
|
+
# Expand paths
|
38
|
+
if chosen.startswith("~"):
|
39
|
+
os.path.expanduser("~") + chosen[1:]
|
37
40
|
return validate_path_security(
|
38
41
|
chosen,
|
39
42
|
self._allowed_torch_cache_prefixes(),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: b10-transfer
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.12
|
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,9 +1,9 @@
|
|
1
|
-
b10_transfer/__init__.py,sha256=
|
1
|
+
b10_transfer/__init__.py,sha256=ZABEbvVy5nDNNHPuY4oakpBfQR-VNtV4AIbJzIYCE_Y,730
|
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=oSEAirpMEOpJ1PA80aisAaiU31kDpnCIhuo9pYXtLqA,3382
|
5
5
|
b10_transfer/cleanup.py,sha256=2LXiNQH08xT7g5LtqAp7fiUYa1Rle_gM8LKxj5NbAwc,6337
|
6
|
-
b10_transfer/config.py,sha256=
|
6
|
+
b10_transfer/config.py,sha256=DNmu5I2GWkiu03YHqEhCoTPrjp1DbU0Ifb2_oOk-h5I,4768
|
7
7
|
b10_transfer/constants.py,sha256=oBfAvw2QyCRS1rFD9g1kDaToQqRX2bcnCVBUnCYD8uQ,1323
|
8
8
|
b10_transfer/core.py,sha256=r79CI8Kpw9FyT17qYOze4tg4UyoL_EQXiucX5YiqXEM,4659
|
9
9
|
b10_transfer/environment.py,sha256=7DcEFmuxEMWwRM0M92q8al5rx8mpGY8dZ81Hokhb9B0,5577
|
@@ -11,7 +11,7 @@ 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
13
|
b10_transfer/utils.py,sha256=cr-EEOtfu3xbyafneNFfiDoJrxCO16zXt6ZRHqSUd04,12023
|
14
|
-
b10_transfer-0.3.
|
15
|
-
b10_transfer-0.3.
|
16
|
-
b10_transfer-0.3.
|
17
|
-
b10_transfer-0.3.
|
14
|
+
b10_transfer-0.3.12.dist-info/METADATA,sha256=bnZ2MRj1N0skrCF5CadUhUgKJbYGyJcr6wlnuYTUyTo,4109
|
15
|
+
b10_transfer-0.3.12.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
16
|
+
b10_transfer-0.3.12.dist-info/entry_points.txt,sha256=AFH8EfkeBv6ZuarnaUvbTjvySylf3GCSioYqB_ijrH8,65
|
17
|
+
b10_transfer-0.3.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|