File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
+ # Array of models to iterate over
5
+ declare -a params=(
6
+ # "Gemma2ForCausalLM 64"
7
+ " LlamaForCausalLM 64"
8
+ " Phi3ForCausalLM 64"
9
+ )
10
+
4
11
MODELS_REPO=reduce-llms-for-testing
5
12
MODELS_REPO_URL=https://huggingface.co/ltoniazzi/$MODELS_REPO
6
13
@@ -108,19 +115,12 @@ run_conversion_and_inference_lora() {
108
115
echo " All steps completed for $model_name with size $size_matrix !"
109
116
}
110
117
111
- # Array of parameters to iterate over
112
- declare -a params=(
113
- # "Gemma2ForCausalLM 64"
114
- " LlamaForCausalLM 64"
115
- " Phi3ForCausalLM 64"
116
- )
117
-
118
- # Loop through each set of parameters
118
+ # Run test for each model
119
119
for param in " ${params[@]} " ; do
120
120
run_conversion_and_inference_lora $param
121
121
done
122
122
123
- # Print all collected results after the loop completes
123
+ # Print all collected results
124
124
echo -e " \n\n\033[1mSummary of All Results:\033[0m"
125
125
for result in " ${results[@]} " ; do
126
126
echo -e " $result "
You can’t perform that action at this time.
0 commit comments