mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
make sure scripts always have pipefail
This commit is contained in:
parent
c9f33d8f68
commit
245461620d
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
# Function to prompt the user for input and set the variables
|
# Function to prompt the user for input and set the variables
|
||||||
read_input() {
|
read_input() {
|
||||||
read -p "Enter the checkpoint directory (e.g., /home/dalton/models/Meta-Llama-3.1-8B-Instruct-20240710150000): " checkpoint_dir
|
read -p "Enter the checkpoint directory (e.g., /home/dalton/models/Meta-Llama-3.1-8B-Instruct-20240710150000): " checkpoint_dir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue