Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 5a6b859

Browse files
author
DEKHTIARJonathan
committed
[Benchmarking-Py] set -x set for HF T5 & TF Hub T5
1 parent dab8987 commit 5a6b859

File tree

10 files changed

+16
-4
lines changed

10 files changed

+16
-4
lines changed

tftrt/benchmarking-python/huggingface/t5/base_run_inference.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
nvidia-smi
44

5-
set -x
6-
75
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
86

97
# Runtime Parameters
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="t5-base" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="t5-large" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="t5-small" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="t5-v1_1-base" ${@}

tftrt/benchmarking-python/tf_hub/albert/base_run_inference.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
nvidia-smi
44

5-
set -x
6-
75
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
86

97
#install packages for the rest of the script
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="albert_base" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="albert_large" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="albert_xlarge" ${@}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../.."
46

57
bash ${BASE_DIR}/base_run_inference.sh --model_name="albert_xxlarge" ${@}

0 commit comments

Comments
 (0)