b10-transfer 0.1.6__py3-none-any.whl → 0.1.7__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
CHANGED
b10_transfer/environment.py
CHANGED
@@ -28,15 +28,14 @@ def get_cache_filename() -> str:
|
|
28
28
|
"""Get the cache filename prefix for the current environment.
|
29
29
|
|
30
30
|
This function generates a cache filename prefix that includes the
|
31
|
-
environment key
|
31
|
+
environment key to ensure cache files are environment-specific
|
32
32
|
and unique per machine.
|
33
33
|
|
34
34
|
Returns:
|
35
|
-
str: Cache filename prefix in format "cache_{environment_key}
|
35
|
+
str: Cache filename prefix in format "cache_{environment_key}".
|
36
36
|
"""
|
37
37
|
env_key = get_environment_key()
|
38
|
-
|
39
|
-
return f"cache_{env_key}.{hostname}"
|
38
|
+
return f"cache_{env_key}"
|
40
39
|
|
41
40
|
|
42
41
|
def get_environment_key() -> str:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: b10-transfer
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.7
|
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,13 +1,13 @@
|
|
1
|
-
b10_transfer/__init__.py,sha256=
|
1
|
+
b10_transfer/__init__.py,sha256=OIS1vZWROizMUeBPNQ9efJfV2cNrBNtq68HBrryoViA,665
|
2
2
|
b10_transfer/archive.py,sha256=GKb0mi0-YeM7ch4FLAoOLHXw0T6LkRerYad2N2y9TYM,6400
|
3
3
|
b10_transfer/cache.py,sha256=B5fNCJkMIpUBwZuKMoQVbn0NeEuIrcAtYMk0gXkkOAM,13768
|
4
4
|
b10_transfer/cleanup.py,sha256=3RnqWNGMCcko5GQdq1Gr9VPpGzAF5J6x7xjIH9SNZ78,6226
|
5
5
|
b10_transfer/constants.py,sha256=iuLShDW6hInhyz2YTQ8CzBanqW4chCkQOAzPZkCtOoA,4322
|
6
6
|
b10_transfer/core.py,sha256=vsOcH0ve2GP-YBgHU58WgCEbx0h7dXn2R5sJErnQt8k,4437
|
7
|
-
b10_transfer/environment.py,sha256=
|
7
|
+
b10_transfer/environment.py,sha256=LEos7wCt1KfQYGkl3XSUN-WsxCODZFop4AgMJuYw_cE,5512
|
8
8
|
b10_transfer/info.py,sha256=I3iOuImZ5r6DMJTDeBtVvzlSn6IuyPJbLJYUO_OF0ks,6299
|
9
9
|
b10_transfer/space_monitor.py,sha256=C_CKDH43bNsWdq60WStSZ3c_nQkWvScQmqU_SYHesew,10531
|
10
10
|
b10_transfer/utils.py,sha256=Stee0DFK-8MRRYNIocqaK64cJvfs4jPW3Mpx7zkWV6Y,11932
|
11
|
-
b10_transfer-0.1.
|
12
|
-
b10_transfer-0.1.
|
13
|
-
b10_transfer-0.1.
|
11
|
+
b10_transfer-0.1.7.dist-info/METADATA,sha256=M9fliL91oazjodOAy7-FoBPAgdZ87Qhj2r5tplLttrM,4108
|
12
|
+
b10_transfer-0.1.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
13
|
+
b10_transfer-0.1.7.dist-info/RECORD,,
|
File without changes
|