Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +4 -6
entrypoint.sh
CHANGED
@@ -3,12 +3,10 @@
|
|
3 |
config_dir="/optimum-benchmark/examples/energy_star/"
|
4 |
|
5 |
# This script is meant to be called from a python script (app.py) \
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
HARDWARE=$4
|
11 |
-
RUN_DIR=$5
|
12 |
|
13 |
echo "Attempting to run."
|
14 |
# Read the name of the model and the experiment.
|
|
|
3 |
config_dir="/optimum-benchmark/examples/energy_star/"
|
4 |
|
5 |
# This script is meant to be called from a python script (app.py) \
|
6 |
+
MODEL=$1
|
7 |
+
TASK=$2
|
8 |
+
HARDWARE=$3
|
9 |
+
RUN_DIR=$4
|
|
|
|
|
10 |
|
11 |
echo "Attempting to run."
|
12 |
# Read the name of the model and the experiment.
|