computefence 0.2.7__tar.gz → 0.2.9__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.7 → computefence-0.2.9}/PKG-INFO +1 -1
- computefence-0.2.9/computefence/__init__.py +1 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence/checks/storage.py +1 -1
- {computefence-0.2.7 → computefence-0.2.9}/computefence/telemetry.py +9 -1
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/PKG-INFO +1 -1
- computefence-0.2.7/computefence/__init__.py +0 -1
- {computefence-0.2.7 → computefence-0.2.9}/LICENSE +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/README.md +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence/checks/__init__.py +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence/checks/dataset.py +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence/checks/environment.py +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence/cli.py +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/SOURCES.txt +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/dependency_links.txt +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/entry_points.txt +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/requires.txt +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/computefence.egg-info/top_level.txt +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/pyproject.toml +0 -0
- {computefence-0.2.7 → computefence-0.2.9}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.9"
|
|
@@ -33,7 +33,7 @@ def check_storage():
|
|
|
33
33
|
"message": f"HF_HOME is not set. Mounted volume detected at {mounted_volumes[0]} but HuggingFace will cache to default local path.",
|
|
34
34
|
"fix": f"export HF_HOME={mounted_volumes[0]}/.cache/huggingface"
|
|
35
35
|
})
|
|
36
|
-
|
|
36
|
+
else:
|
|
37
37
|
results.append({
|
|
38
38
|
"status": "warn",
|
|
39
39
|
"message": "HF_HOME is not set. HuggingFace will use default local cache.",
|
|
@@ -48,7 +48,15 @@ def record_run(results: list):
|
|
|
48
48
|
import torch
|
|
49
49
|
gpu_count = torch.cuda.device_count()
|
|
50
50
|
except Exception:
|
|
51
|
-
|
|
51
|
+
try:
|
|
52
|
+
import subprocess
|
|
53
|
+
result = subprocess.run(
|
|
54
|
+
["nvidia-smi", "--query-gpu=name", "--format=csv,noheader"],
|
|
55
|
+
capture_output=True, text=True, timeout=5
|
|
56
|
+
)
|
|
57
|
+
gpu_count = len(result.stdout.strip().splitlines()) if result.returncode == 0 else 0
|
|
58
|
+
except Exception:
|
|
59
|
+
gpu_count = 0
|
|
52
60
|
|
|
53
61
|
from computefence import __version__
|
|
54
62
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.7"
|
|
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
|