Files
resonance-engine/scripts/compile.sh
T
Scruff AI 56c71c87b2 restructure: proper project layout, README, kill training
- cuda/ — main LBM kernel (khra_gixx_1024_v5.cu)
- navigator/ — lattice_observer, golden_weave, bridges, mock daemon
- scripts/ — compile, start, launch, setup (paths updated)
- docs/ — system manual
- archive/ — everything else (old kernels, inquiries, experiments)
- README.md — full setup guide: requirements, quick start, use your own LLM
- removed training/ entirely (broken LoRA scripts + datasets)
- .gitignore: exclude build/ logs/ training/ *.jsonl
2026-03-24 12:58:19 +07:00

22 lines
597 B
Bash

#!/bin/bash
# Compile khra_gixx_1024_v5 — Golden-Weave integration
# Same deps as v4: zmq + nvml, no json-c, no cufft
export PATH=/usr/local/cuda-12.6/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-12.6/lib64:$LD_LIBRARY_PATH
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$REPO_ROOT"
echo "Compiling khra_gixx_1024_v5..."
nvcc -O3 -arch=sm_89 \
-o build/khra_gixx_1024_v5 \
cuda/khra_gixx_1024_v5.cu \
-lzmq -lnvidia-ml
if [ $? -eq 0 ]; then
echo "BUILD OK: build/khra_gixx_1024_v5 ($(date))"
ls -la build/khra_gixx_1024_v5
else
echo "BUILD FAILED"
exit 1
fi