-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject_status.sh
More file actions
executable file
·124 lines (104 loc) · 2.73 KB
/
project_status.sh
File metadata and controls
executable file
·124 lines (104 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#!/bin/bash
# GPU Performance Testing Project Status Check
echo "🔍 GPU Performance Testing Project Status"
echo "========================================"
echo ""
# Check project structure
echo "📂 Project Structure:"
if [ -f "README.md" ]; then
echo " ✅ README.md"
else
echo " ❌ README.md missing"
fi
if [ -f "requirements.txt" ]; then
echo " ✅ requirements.txt"
else
echo " ❌ requirements.txt missing"
fi
if [ -f "scripts/gpu_dashboard.sh" ]; then
echo " ✅ scripts/gpu_dashboard.sh"
else
echo " ❌ scripts/gpu_dashboard.sh missing"
fi
if [ -f "scripts/gpu_analyzer.py" ]; then
echo " ✅ scripts/gpu_analyzer.py"
else
echo " ❌ scripts/gpu_analyzer.py missing"
fi
if [ -f "scripts/monitor_gpus.sh" ]; then
echo " ✅ scripts/monitor_gpus.sh"
else
echo " ❌ scripts/monitor_gpus.sh missing"
fi
if [ -f "configs/gpu_profiles.json" ]; then
echo " ✅ configs/gpu_profiles.json"
else
echo " ❌ configs/gpu_profiles.json missing"
fi
echo ""
# Check directory structure
echo "📁 Directory Structure:"
for dir in data logs benchmarks monitoring profiles; do
if [ -d "$dir" ]; then
echo " ✅ $dir/"
else
echo " ❌ $dir/ missing"
fi
done
echo ""
# Check system requirements
echo "🔧 System Requirements:"
if command -v python3 &> /dev/null; then
echo " ✅ Python3: $(python3 --version)"
else
echo " ❌ Python3 not found"
fi
if command -v pipx &> /dev/null; then
echo " ✅ pipx: $(pipx --version)"
else
echo " ❌ pipx not found"
fi
if command -v nvidia-smi &> /dev/null; then
echo " ✅ nvidia-smi available"
else
echo " ⚠️ nvidia-smi not found"
fi
if command -v sensors &> /dev/null; then
echo " ✅ sensors available"
else
echo " ⚠️ sensors not found"
fi
if command -v lact &> /dev/null; then
echo " ✅ LACT available"
else
echo " ⚠️ LACT not found"
fi
echo ""
# Check GPU detection
echo "🎮 GPU Detection:"
if lspci | grep -i "AMD" &> /dev/null; then
echo " ✅ AMD GPU detected"
amd_info=$(lspci | grep -i "AMD" | head -1)
echo " $amd_info"
else
echo " ❌ AMD GPU not detected"
fi
if lspci | grep -i "NVIDIA" &> /dev/null; then
echo " ✅ NVIDIA GPU detected"
nvidia_info=$(lspci | grep -i "NVIDIA" | head -1)
echo " $nvidia_info"
else
echo " ❌ NVIDIA GPU not detected"
fi
echo ""
# Final status
echo "🎯 Project Status: READY"
echo ""
echo "🚀 Next Steps:"
echo " 1. Run: ./launch_cursor.sh"
echo " 2. Install Python deps: pipx install -r requirements.txt"
echo " 3. Test basic functionality:"
echo " - ./scripts/monitor_gpus.sh"
echo " - ./scripts/gpu_dashboard.sh"
echo " - python scripts/gpu_analyzer.py overview"
echo ""