computefence 0.2.6__tar.gz → 0.2.7__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.6 → computefence-0.2.7}/PKG-INFO +1 -1
- computefence-0.2.7/computefence/__init__.py +1 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence/checks/storage.py +2 -2
- {computefence-0.2.6 → computefence-0.2.7}/computefence/telemetry.py +3 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/PKG-INFO +1 -1
- computefence-0.2.6/computefence/__init__.py +0 -1
- {computefence-0.2.6 → computefence-0.2.7}/LICENSE +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/README.md +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence/checks/__init__.py +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence/checks/dataset.py +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence/checks/environment.py +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence/cli.py +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/SOURCES.txt +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/dependency_links.txt +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/entry_points.txt +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/requires.txt +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/computefence.egg-info/top_level.txt +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/pyproject.toml +0 -0
- {computefence-0.2.6 → computefence-0.2.7}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.7"
|
|
@@ -33,11 +33,11 @@ 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.",
|
|
40
|
-
"fix": "
|
|
40
|
+
"fix": "export HF_HOME=/workspace/.cache/huggingface"
|
|
41
41
|
})
|
|
42
42
|
elif hf_home.startswith("/root") or hf_home.startswith("/tmp"):
|
|
43
43
|
results.append({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import hashlib
|
|
2
|
+
import os
|
|
2
3
|
import platform
|
|
3
4
|
import sys
|
|
4
5
|
import threading
|
|
@@ -36,6 +37,8 @@ def _send(payload: dict):
|
|
|
36
37
|
def record_run(results: list):
|
|
37
38
|
if _is_opted_out():
|
|
38
39
|
return
|
|
40
|
+
if os.environ.get("COMPUTEFENCE_DEV"):
|
|
41
|
+
return
|
|
39
42
|
|
|
40
43
|
warning_count = sum(1 for r in results if r.get("status") == "warn")
|
|
41
44
|
blocker_count = sum(1 for r in results if r.get("status") == "fail")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.6"
|
|
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
|