From a04bf4a9cf00fb90f409b5ca3d118bc16abd2de5 Mon Sep 17 00:00:00 2001 From: Christian Medina <37550954+cmedinasoriano@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:26:08 -0400 Subject: [PATCH] feat: add run_with_accelerate.sh helper script --- training/scripts/run_with_accelerate.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 training/scripts/run_with_accelerate.sh diff --git a/training/scripts/run_with_accelerate.sh b/training/scripts/run_with_accelerate.sh new file mode 100755 index 0000000..b0e6f4e --- /dev/null +++ b/training/scripts/run_with_accelerate.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Run training with distributed setup + +set -e + +# Install accelerate if not present +pip install -q accelerate + +# Launch with accelerate +accelerate launch train-on-this-server.sh --config training/configs/llama2-7b-lora.yaml