Spaces:
Runtime error
Runtime error
Update entrypoint.sh
Browse files- entrypoint.sh +4 -5
entrypoint.sh
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
python /
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
#fi
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
python /check_h100.py
|
| 4 |
+
if [[ $? = 0 ]]; then
|
| 5 |
+
optimum-benchmark --config-dir /optimum-benchmark/examples/energy_star/ $@
|
| 6 |
+
fi
|
|
|