File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 9
9
# 2.3. Generate recipes - Generate recipes for the new LLM based on the state of the computational resources and the found task
10
10
11
11
12
- eval " $( /home/yuiseki/miniconda3/bin/conda shell.bash hook) "
13
- export PATH=" /home/yuiseki/miniconda3/bin:$PATH "
14
- conda activate peft
12
+ # eval "$(/home/yuiseki/miniconda3/bin/conda shell.bash hook)"
13
+ # export PATH="/home/yuiseki/miniconda3/bin:$PATH"
14
+ # conda activate peft
15
15
16
16
# $1 = directory of recipes
17
17
RECIPE_DIR=$1
@@ -48,10 +48,12 @@ echo "AVAILABLE_RECIPES: ${AVAILABLE_RECIPES[@]}"
48
48
for RECIPE in $AVAILABLE_RECIPES ; do
49
49
TARGET_MODEL_NAME=$( cat $1 $RECIPE | yq " .model_name" )
50
50
echo " TARGET_MODEL_NAME: $TARGET_MODEL_NAME "
51
+ OUTPUT_BASE_DIR=$( cat $1 $RECIPE | yq " .output_base_dir" )
52
+ echo " OUTPUT_BASE_DIR: $OUTPUT_BASE_DIR "
51
53
# If recipe already trained, skip
52
54
# If recipe already trained, directory like output/TARGET_MODEL_NAME are exists
53
55
# If exists, skip
54
- if [ -d " output /$TARGET_MODEL_NAME " ]; then
56
+ if [ -d " $OUTPUT_BASE_DIR /$TARGET_MODEL_NAME " ]; then
55
57
echo " Skip $1 $RECIPE "
56
58
continue
57
59
fi
You can’t perform that action at this time.
0 commit comments