cleanup: remove --bf16 flag from precompute scripts and Argo template

Binary no longer accepts --bf16 (single f32 format). Removed from:
- scripts/argo-precompute.sh
- infra/k8s/argo/precompute-features-template.yaml

PVC fxcache cleaned: deleted 2.4GB old bf16 cache from feature-cache-pvc.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-04-10 20:05:58 +02:00
parent 904a158df1
commit 8919eccbb9
2 changed files with 3 additions and 21 deletions

View File

@@ -3,7 +3,6 @@
#
# Usage:
# ./scripts/argo-precompute.sh ES.FUT
# ./scripts/argo-precompute.sh ES.FUT --bf16
# ./scripts/argo-precompute.sh ES.FUT --pool platform --watch
#
# Requires: argo CLI
@@ -11,7 +10,6 @@ set -euo pipefail
TEMPLATE="precompute-features"
POOL=""
BF16=""
DATA_DIR=""
MBP10_DIR=""
TRADES_DIR=""
@@ -23,7 +21,6 @@ usage() {
Usage: $(basename "$0") <symbol> [OPTIONS]
Options:
--bf16 Write bf16 format (version 2)
--pool <name> Node pool (default: ci-compile-cpu)
--data-dir <dir> OHLCV data dir (default: /data/futures-baseline)
--mbp10-dir <dir> MBP-10 data dir (default: /data/futures-baseline-mbp10)
@@ -42,7 +39,6 @@ SYMBOL="$1"; shift
while [[ $# -gt 0 ]]; do
case $1 in
--bf16) BF16="true"; shift ;;
--pool) POOL="$2"; shift 2 ;;
--data-dir) DATA_DIR="$2"; shift 2 ;;
--mbp10-dir) MBP10_DIR="$2"; shift 2 ;;
@@ -57,7 +53,6 @@ done
CMD="argo submit -n foxhunt --from=wftmpl/$TEMPLATE"
CMD="$CMD -p symbol=$SYMBOL"
[[ -n "$BF16" ]] && CMD="$CMD -p bf16=$BF16"
[[ -n "$POOL" ]] && CMD="$CMD -p node-pool=$POOL"
[[ -n "$DATA_DIR" ]] && CMD="$CMD -p data-dir=$DATA_DIR"
[[ -n "$MBP10_DIR" ]] && CMD="$CMD -p mbp10-dir=$MBP10_DIR"
@@ -70,7 +65,6 @@ fi
echo "Submitting feature pre-compute workflow..."
echo " symbol: $SYMBOL"
[[ -n "$BF16" ]] && echo " bf16: $BF16"
[[ -n "$POOL" ]] && echo " pool: $POOL"
echo ""
eval "$CMD"