computefence 0.2.6__tar.gz → 0.2.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computefence
3
- Version: 0.2.6
3
+ Version: 0.2.8
4
4
  Summary: Don't lose another RunPod checkpoint to ephemeral disk before your job bills.
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.8
@@ -0,0 +1 @@
1
+ __version__ = "0.2.8"
@@ -37,7 +37,7 @@ def check_storage():
37
37
  results.append({
38
38
  "status": "warn",
39
39
  "message": "HF_HOME is not set. HuggingFace will use default local cache.",
40
- "fix": "Set HF_HOME to a persistent volume path before training"
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computefence
3
- Version: 0.2.6
3
+ Version: 0.2.8
4
4
  Summary: Don't lose another RunPod checkpoint to ephemeral disk before your job bills.
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.8
@@ -1 +0,0 @@
1
- __version__ = "0.2.6"
File without changes
File without changes
File without changes