← back to Exo
tweak install
e501eeaf9182b2d21a58bec47bb32c5c459c5501 · 2024-12-11 16:52:07 +0000 · Alex Cheema
Files touched
M .github/workflows/bench_job.yml
Diff
commit e501eeaf9182b2d21a58bec47bb32c5c459c5501
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Wed Dec 11 16:52:07 2024 +0000
tweak install
---
.github/workflows/bench_job.yml | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/bench_job.yml b/.github/workflows/bench_job.yml
index a52cdaeb..303040cb 100644
--- a/.github/workflows/bench_job.yml
+++ b/.github/workflows/bench_job.yml
@@ -43,17 +43,25 @@ jobs:
# Add common Python installation locations to PATH
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
# Now try to create the venv with explicit python3.12
- python3.12 -m venv env || {
+ python3.12 -m venv .venv || {
echo "Failed to find python3.12. Checking installation locations:"
ls -l /usr/local/bin/python* /opt/homebrew/bin/python* 2>/dev/null || true
exit 1
}
- source env/bin/activate
+ source .venv/bin/activate
pip install --upgrade pip
- pip install .
+ pip install -e .
pip install boto3==1.35.76
- name: Configure system
run: |
+ # Check initial CPU state
+ echo "Initial CPU state:"
+ sysctl machdep.cpu || true
+ sysctl hw.cpufamily || true
+ sysctl hw.cputype || true
+ sysctl hw.logicalcpu || true
+ sysctl hw.physicalcpu || true
+
# Apply MLX optimizations
./configure_mlx.sh
@@ -61,8 +69,11 @@ jobs:
sudo pmset -a powermode 0 2>/dev/null || echo "Failed to set power mode"
sudo pmset -a gpuswitch 2 2>/dev/null || echo "Failed to set GPU mode"
- # Check current state
- pmset -g
+ # Check final state
+ echo "Final CPU state:"
+ sysctl machdep.cpu || true
+ pmset -g thermals || true
+ pmset -g || true
sysctl iogpu
- name: Run exo
env:
@@ -82,7 +93,7 @@ jobs:
echo "ALL_NODE_IDS: ${ALL_NODE_IDS}"
echo "Total expected nodes: ${{ strategy.job-total }}"
- source env/bin/activate
+ source .venv/bin/activate
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
echo "Starting exo daemon..."
← 41902f71 tweaks
·
back to Exo
·
t 668766fc →