summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCaptainJack2491 <jayrupnakawala@gmail.com>2026-08-17 16:15:28 +0100
committerCaptainJack2491 <jayrupnakawala@gmail.com>2026-08-17 16:15:28 +0100
commit66b8b77feb5fafd3696044ee33a80f26cb693a13 (patch)
tree4058ae296735bca9d53bb5b9f2d742bc8b34fab0 /scripts
parent535bb1dcf727e2273b956553c0491ec80ad8ec98 (diff)
feat(gpu): add CUDA support, chunked eval, bisect prime search, and scaling to 100k (48 tests green)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_sweep.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/run_sweep.py b/scripts/run_sweep.py
index 9be5592..34cccf7 100644
--- a/scripts/run_sweep.py
+++ b/scripts/run_sweep.py
@@ -22,7 +22,8 @@ import time
from concurrent.futures import ThreadPoolExecutor, as_completed
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-PY = os.path.join(ROOT, ".venv", "bin", "python")
+_venv_py = os.path.join(ROOT, ".venv", "bin", "python")
+PY = _venv_py if os.path.exists(_venv_py) else sys.executable
def parse_jobs(path: str) -> list[dict]: