KAWK50M-Project / runpod /benchmark_5k.sh
Infinity08's picture
Add files using upload-large-folder tool
86e3bb9 verified
Raw History Blame Contribute Delete
389 Bytes
#!/usr/bin/env bash
set -euo pipefail
PROJECT_DIR="${PROJECT_DIR:-/workspace/KAWK50M}"
cd "${PROJECT_DIR}"
source "${PROJECT_DIR}/.venv/bin/activate"
python -m scripts.benchmark \
--config configs/model_50m_5k.yaml \
--sequence-length 5120 \
--batch-size "${BATCH_SIZE:-4}" \
--gradient-accumulation "${GRADIENT_ACCUMULATION:-6}" \
--warmup-steps 1 \
--steps 3 \
--compile