computefence 0.2.13__tar.gz → 0.2.14__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.
- {computefence-0.2.13 → computefence-0.2.14}/PKG-INFO +1 -1
- computefence-0.2.14/computefence/__init__.py +1 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/telemetry.py +6 -1
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/PKG-INFO +1 -1
- computefence-0.2.13/computefence/__init__.py +0 -1
- {computefence-0.2.13 → computefence-0.2.14}/LICENSE +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/README.md +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/checks/__init__.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/checks/dataset.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/checks/environment.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/checks/storage.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/cli.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence/drift.py +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/SOURCES.txt +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/dependency_links.txt +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/entry_points.txt +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/requires.txt +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/computefence.egg-info/top_level.txt +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/pyproject.toml +0 -0
- {computefence-0.2.13 → computefence-0.2.14}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: computefence
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.14
|
|
4
4
|
Summary: Don't lose another RunPod checkpoint to ephemeral disk before your job bills.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Keywords: runpod,vast.ai,gpu training,hf_home,cuda,preflight,machine learning,mlops,checkpoint
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.14"
|
|
@@ -29,7 +29,7 @@ def get_project_id() -> str:
|
|
|
29
29
|
except Exception:
|
|
30
30
|
pass
|
|
31
31
|
|
|
32
|
-
# Fallback: persistent volume token
|
|
32
|
+
# Fallback: persistent volume token — read or create
|
|
33
33
|
token_path = "/workspace/.computefence_id"
|
|
34
34
|
try:
|
|
35
35
|
if os.path.exists(token_path):
|
|
@@ -37,6 +37,11 @@ def get_project_id() -> str:
|
|
|
37
37
|
token = f.read().strip()
|
|
38
38
|
if token:
|
|
39
39
|
return token
|
|
40
|
+
# No token exists — generate and write one
|
|
41
|
+
new_token = str(uuid.uuid4())
|
|
42
|
+
with open(token_path, "w") as f:
|
|
43
|
+
f.write(new_token)
|
|
44
|
+
return new_token
|
|
40
45
|
except Exception:
|
|
41
46
|
pass
|
|
42
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: computefence
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.14
|
|
4
4
|
Summary: Don't lose another RunPod checkpoint to ephemeral disk before your job bills.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Keywords: runpod,vast.ai,gpu training,hf_home,cuda,preflight,machine learning,mlops,checkpoint
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.13"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|