meg HF staff commited on
Commit
81672b4
·
verified ·
1 Parent(s): 531c599

Debugging entrypoint commands

Browse files
Files changed (1) hide show
  1. entrypoint.sh +5 -3
entrypoint.sh CHANGED
@@ -1,6 +1,8 @@
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
 
 
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