computefence 0.2.16__tar.gz → 0.2.17__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.16 → computefence-0.2.17}/PKG-INFO +1 -1
- computefence-0.2.17/computefence/__init__.py +1 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/cli.py +5 -1
- {computefence-0.2.16 → computefence-0.2.17}/computefence/drift.py +12 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/PKG-INFO +1 -1
- computefence-0.2.16/computefence/__init__.py +0 -1
- {computefence-0.2.16 → computefence-0.2.17}/LICENSE +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/README.md +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/checks/__init__.py +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/checks/dataset.py +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/checks/environment.py +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/checks/storage.py +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence/telemetry.py +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/SOURCES.txt +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/dependency_links.txt +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/entry_points.txt +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/requires.txt +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/computefence.egg-info/top_level.txt +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/pyproject.toml +0 -0
- {computefence-0.2.16 → computefence-0.2.17}/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.17
|
|
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.17"
|
|
@@ -114,6 +114,9 @@ def doctor():
|
|
|
114
114
|
else:
|
|
115
115
|
console.print("[green]All checks passed. Safe to launch.[/green]")
|
|
116
116
|
console.print(f"[dim]✓ ComputeFence: {len(passed)} checks passed — ~$430 protected.[/dim]")
|
|
117
|
+
console.print()
|
|
118
|
+
console.print("[dim]Tip: add this to your launch script to run automatically every time:[/dim]")
|
|
119
|
+
console.print('[dim] alias train="computefence doctor && python train.py"[/dim]')
|
|
117
120
|
console.print(
|
|
118
121
|
"[dim]Anonymous run stats are collected to improve ComputeFence "
|
|
119
122
|
"(version, Python version, platform, GPU count, check results — no file paths, no repo URLs). "
|
|
@@ -128,7 +131,8 @@ def doctor():
|
|
|
128
131
|
else:
|
|
129
132
|
success, msg = save_env(output_dir=output_dir, path_override=path_override)
|
|
130
133
|
if success:
|
|
131
|
-
console.print(f"[green]✓
|
|
134
|
+
console.print(f"[green]✓ Baseline saved to {msg}[/green]")
|
|
135
|
+
console.print("[dim]Commit this file to your training repo. On any new pod, clone your repo and run --check-drift to verify the environment matches your last known-good run.[/dim]")
|
|
132
136
|
else:
|
|
133
137
|
console.print(f"[yellow]⚠ Could not save fingerprint: {msg}[/yellow]")
|
|
134
138
|
console.print()
|
|
@@ -36,6 +36,18 @@ def _find_persistent_volume(path_override=None):
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def _get_lock_path(path_override=None):
|
|
39
|
+
# Primary: git repo root (project-level persistence)
|
|
40
|
+
try:
|
|
41
|
+
import subprocess
|
|
42
|
+
result = subprocess.run(
|
|
43
|
+
["git", "rev-parse", "--show-toplevel"],
|
|
44
|
+
capture_output=True, text=True, timeout=3
|
|
45
|
+
)
|
|
46
|
+
if result.returncode == 0:
|
|
47
|
+
return Path(result.stdout.strip()) / "computefence.lock"
|
|
48
|
+
except Exception:
|
|
49
|
+
pass
|
|
50
|
+
# Fallback: persistent volume (pod-level persistence)
|
|
39
51
|
vol = _find_persistent_volume(path_override)
|
|
40
52
|
if vol is None:
|
|
41
53
|
return None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: computefence
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.17
|
|
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.16"
|
|
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
|