Skip to content

Commit 38fc327

Browse files
authored
Add missing space for perfRunner and some other minor issues (#1885)
1 parent dbbab51 commit 38fc327

File tree

8 files changed

+5
-185
lines changed

8 files changed

+5
-185
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-transO false -transV false -transK true -transQ false -t f16 -g 256 -seq_len_q 1024 -seq_len_k 1024 -head_dim_qk 128 -head_dim_v 128 -with-attn-scale=False
1+
-transO false -transV false -transK true -transQ false -t f16 -g 256 -seq_len_q 1024 -seq_len_k 1024 -head_dim_qk 128 -head_dim_v 128 -with-attn-scale False -with-attn-bias False -causal False

mlir/utils/performance/configs/attention-configs

Lines changed: 0 additions & 18 deletions
This file was deleted.

mlir/utils/performance/configs/conv-configs

Lines changed: 0 additions & 43 deletions
This file was deleted.

mlir/utils/performance/configs/gemm-configs

Lines changed: 0 additions & 69 deletions
This file was deleted.

mlir/utils/performance/configs/sdxl-conv-configs

Lines changed: 0 additions & 32 deletions
This file was deleted.

mlir/utils/performance/configs/sdxl-gemm-configs

Lines changed: 0 additions & 18 deletions
This file was deleted.

mlir/utils/performance/perfRunner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ def toCommandLine(self):
13721372
+ f"-causal {str(self.causal).lower()} "
13731373
+ f"-g {self.g} "
13741374
+ f"-seq_len_q {str(self.seq_len_q)} -seq_len_k {str(self.seq_len_k)} -num_heads_q {str(self.num_heads_q)} -num_heads_kv {str(self.num_heads_kv)} -head_dim_qk {str(self.head_dim_qk)} -head_dim_v {str(self.head_dim_v)} "
1375-
+ f"-with-attn-scale {str(self.with_attn_scale).lower()}"
1375+
+ f"-with-attn-scale {str(self.with_attn_scale).lower()} "
13761376
+ f"-with-attn-bias {str(self.with_attn_bias).lower()}")
13771377

13781378

@@ -1836,7 +1836,7 @@ def main(args=None):
18361836
numCU = getNumCU(chip)
18371837

18381838
root_dir = str(subprocess.check_output(['git', 'rev-parse', '--show-toplevel']).decode().strip())
1839-
default_conv_configs = root_dir + '/mlir/utils/jenkins/performance/configs/conv-configs'
1839+
default_conv_configs = root_dir + '/mlir/utils/jenkins/performance/configs/tier1-conv-configs'
18401840

18411841
parser = argparse.ArgumentParser(
18421842
prog="rocMLIR performance test runner",

mlir/utils/performance/tuningRunner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def main(args=None):
231231
"""
232232
usage examples:
233233
234-
python3 tuningRunner.py --op gemm -configs_file=../mlir/utils/performance/configs/gemm-configs --output=tuning_db.tsv
234+
python3 tuningRunner.py --op gemm -configs_file=../mlir/utils/performance/configs/tier1-gemm-configs --output=tuning_db.tsv
235235
python3 tuningRunner.py --op gemm --config="-g 3 -m 1024 -k 769 -n 512 -t f32 -transA 0 -transB 0"
236236
python3 tuningRunner.py --op conv --tuning-space=quick --config="conv -F 1 -f NCHW -I NCHW -O NCHW -n 256 -c 1024 -H 14 -W 14 -k 2048 -y 1 -x 1 -p 0 -q 0 -u 2 -v 2 -l 1 -j 1 -m conv -g 1 -t 1"
237237
python3 tuningRunner.py --op fusion -test_dir=../mlir/test/fusion/resnet50-e2e --output=tuning_db.tsv
@@ -244,7 +244,7 @@ def main(args=None):
244244
arch = ','.join(archNames)
245245
numCU = perfRunner.getNumCU(perfRunner.getChip())
246246
root_dir = str(subprocess.check_output(['git', 'rev-parse', '--show-toplevel']).decode().strip())
247-
default_conv_configs = root_dir + '/mlir/utils/jenkins/performance/configs/conv-configs'
247+
default_conv_configs = root_dir + '/mlir/utils/jenkins/performance/configs/tier1-conv-configs'
248248

249249
parser = argparse.ArgumentParser(
250250
prog="rocMLIR tuning runner",

0 commit comments

Comments
 (0)