File size: 561 Bytes
de8702b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
# Downloads SupersonicLabs/Julia-1 (~550 MiB) into models/Julia-1 and installs its runtime.
# Requires Python 3.11+. Override the installer with PIP="uv pip" if the venv has no pip.
set -euo pipefail

cd "$(dirname "$0")/.."
PYTHON="${PYTHON:-python}"
PIP="${PIP:-$PYTHON -m pip}"

$PIP install "huggingface_hub>=0.24"
$PYTHON -c "from huggingface_hub import snapshot_download; snapshot_download('SupersonicLabs/Julia-1', local_dir='models/Julia-1')"
$PIP install -e ./models/Julia-1

echo "Julia-1 ready: python runner.py --preset julia-1"