Spaces:
Runtime error
Runtime error
Debugging entrypoint commands
Browse files- entrypoint.sh +5 -3
entrypoint.sh
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
3 |
python /check_h100.py
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
echo("Checking h100")
|
4 |
python /check_h100.py
|
5 |
+
echo("Attempting to run.")
|
6 |
+
#if [[ $? = 0 ]]; then
|
7 |
+
optimum-benchmark --config-name image_to_text backend.model=noamrot/FuseCap_Image_Captioning backend.processor=noamrot/FuseCap_Image_Captioning #--config-dir /optimum-benchmark/examples/energy_star/ $@
|
8 |
+
#fi
|