interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

branch main Branches Tags History

aien-train / streams / physics-gb10 / build.sh

13 lines · 624 bytes Raw Blame History
1#!/bin/sh
2# Build gr_info against the pinned physics checkout (omega physics.lock 6d7cf0d4).
3set -eu
4here=$(cd "$(dirname "$0")" && pwd)
5P=${PHYSICS_DIR:-$HOME/workspace/physics-pf-6d7cf0d4}
6NV=$P/third_party/nvidia-open-580.173.02
7out=${OUT_DIR:-$here/build}
8mkdir -p "$out"
9cc -std=gnu11 -Wall -Wextra -Werror -D_GNU_SOURCE -O2 \
10 -I"$P/nvrm" -I"$NV/src/common/sdk/nvidia/inc" -I"$NV/kernel-open/common/inc" \
11 -I"$NV/kernel-open/nvidia-uvm" -I"$NV/src/nvidia/arch/nvalloc/unix/include" \
12 "$here/gr_info.c" "$P/nvrm/nvrm.c" -o "$out/gr_info"
13echo "built $out/gr_info (physics $(git -C "$P" rev-parse --short=8 HEAD))"