Skip to content

Instantly share code, notes, and snippets.

View jprostko's full-sized avatar

Joseph R. Prostko jprostko

  • Valencia, PA USA
View GitHub Profile
@jprostko
jprostko / gist:080164298663635c94280c267715e806
Last active September 26, 2026 23:55
Takzero Linux install script
#!/usr/bin/env bash
# Build TakZero's TEI engine with CUDA support and install it to ~/tak_engines/takzero.
# Builds from the takzero checkout next to this script, cloning it there if missing.
# Needs Linux x86_64 with an NVIDIA driver, git, cargo, a C++ compiler and uv.
# If running on older NVIDIA hardware, YMMV, but it might be worth a try to build with
# `UV_TORCH_BACKEND=cu126 ./build-takzero.sh` in order to use an older CUDA version.
# To update: git -C takzero pull && ./build-takzero.sh
set -euo pipefail
src="$(dirname "$(realpath "$0")")/takzero"