computefence 0.2.3__tar.gz → 0.2.4__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.3
3
+ Version: 0.2.4
4
4
  Summary: Pre-flight validation for GPU training runs on rented infrastructure
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.8
@@ -0,0 +1 @@
1
+ __version__ = "0.2.4"
@@ -119,7 +119,7 @@ def check_environment():
119
119
  results.append({
120
120
  "status": "warn",
121
121
  "message": f"PyTorch not found in {interpreter['executable']} — skipping GPU checks",
122
- "fix": "Install PyTorch into this environment: https://pytorch.org/get-started/locally/"
122
+ "fix": "pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
123
123
  })
124
124
  return results
125
125
 
@@ -217,7 +217,7 @@ def check_accelerate(config_path=None, torch_info=None):
217
217
  results.append({
218
218
  "status": "fail",
219
219
  "message": f"Accelerate config requests {num_processes} processes but only {visible_gpus} GPU(s) are visible",
220
- "fix": f"Run 'accelerate config' and set num_processes to {visible_gpus} or fewer"
220
+ "fix": "Run accelerate config to update your GPU count then re-run doctor"
221
221
  })
222
222
  else:
223
223
  results.append({
@@ -8,7 +8,7 @@ MOUNT_CANDIDATES = ["/workspace", "/runpod-volume", "/vast"]
8
8
  GB = 1024 ** 3
9
9
  BLOCKER_BELOW_GB = 5
10
10
  WARNING_BELOW_GB = 20
11
- DISK_FIX = "Free up disk space or attach a larger volume before launching"
11
+ DISK_FIX = "Free up disk space or move checkpoints to a larger volume: df -h to check usage"
12
12
 
13
13
 
14
14
  def check_storage():
@@ -67,7 +67,7 @@ def check_storage():
67
67
  results.append({
68
68
  "status": "warn",
69
69
  "message": "No mounted persistent volumes detected at /workspace, /runpod-volume, or /vast",
70
- "fix": "Attach a network volume before training to persist checkpoints and cache"
70
+ "fix": "Mount a network volume at /workspace before launching your job"
71
71
  })
72
72
 
73
73
  return results
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computefence
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Pre-flight validation for GPU training runs on rented infrastructure
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.8
@@ -1 +0,0 @@
1
- __version__ = "0.2.3"
File without changes
File without changes
File without changes