feat: add run_with_accelerate.sh helper script
This commit is contained in:
1 parent
cd58ffd31e
commit
a04bf4a9cf
1 file changed
+10
Executable
+10
@@ -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
|
||||
Reference in new issue
Block a user