Changes from the main repo

This commit is contained in:
Ashwin Bharambe 2024-07-19 16:11:17 -07:00
parent 9c9b834c0f
commit 7d2c0b14b8
8 changed files with 24 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -euo pipefail
@ -10,10 +10,10 @@ rootdir=$(git rev-parse --show-toplevel)
files_to_copy=("toolchain/spec/openapi*" "models.llama3_1.api.datatypes.py" "toolchain/inference/api/*.py" "agentic_system/api/*.py" "toolchain/common/*.py" "toolchain/dataset/api/*.py" "toolchain/evaluations/api/*.py" "toolchain/reward_scoring/api/*.py" "toolchain/post_training/api/*.py" "toolchain/safety/api/*.py")
for file in "${files_to_copy[@]}"; do
relpath="$file"
set -x
set -x
mkdir -p "$TMPDIR/$(dirname $relpath)"
eval cp "$rootdir/$relpath" "$TMPDIR/$(dirname $relpath)"
set +x
set +x
done
cd "$TMPDIR"