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 11#! /bin/bash
22set -e
33
4+ # Array of models to iterate over
5+ declare -a params=(
6+ # "Gemma2ForCausalLM 64"
7+ " LlamaForCausalLM 64"
8+ " Phi3ForCausalLM 64"
9+ )
10+
411MODELS_REPO=reduce-llms-for-testing
512MODELS_REPO_URL=https://huggingface.co/ltoniazzi/$MODELS_REPO
613
@@ -108,19 +115,12 @@ run_conversion_and_inference_lora() {
108115 echo " All steps completed for $model_name with size $size_matrix !"
109116}
110117
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
119119for param in " ${params[@]} " ; do
120120 run_conversion_and_inference_lora $param
121121done
122122
123- # Print all collected results after the loop completes
123+ # Print all collected results
124124echo -e " \n\n\033[1mSummary of All Results:\033[0m"
125125for result in " ${results[@]} " ; do
126126 echo -e " $result "
You can’t perform that action at this time.
0 commit comments