Skip to content

Commit

Permalink
update diagnosis rule for baseline generation
Browse files Browse the repository at this point in the history
  • Loading branch information
yukirora committed Apr 14, 2023
1 parent 77ef4cc commit 6e21416
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions superbench/analyzer/rules/diagnosis_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ superbench:
categories: CUBLASLT
metrics:
- cublaslt-gemm:*.*/.*ops
# cublas:
# function: variance
# criteria: 'lambda x:x>0.05'
# categories: CUBLAS
# metrics:
# - cublas-function:*.*/.*_time
# cudnn:
# function: variance
# criteria: 'lambda x:x>0.05'
# categories: CUDNN
# metrics:
# - cudnn-function:*.*/.*_time
cublas:
function: variance
criteria: 'lambda x:x>0.05'
categories: CUBLAS
metrics:
- cublas-function:*.*/.*_time
cudnn:
function: variance
criteria: 'lambda x:x>0.05'
categories: CUDNN
metrics:
- cudnn-function:*.*/.*_time
matmul:
function: variance
criteria: 'lambda x:x>0.05'
Expand All @@ -87,12 +87,12 @@ superbench:
categories: CPU
metrics:
- cpu-memory-bw-latency/.*_lat
# gpu_burn:
# function: value
# criteria: 'lambda x:x!=1'
# categories: GPUBURN
# metrics:
# - gpu-burn:*.*/.*_pass
gpu_burn:
function: value
criteria: 'lambda x:x!=1'
categories: GPUBURN
metrics:
- gpu-burn:*.*/.*_pass
cpu:
function: variance
criteria: 'lambda x:x<-0.05'
Expand Down Expand Up @@ -140,12 +140,12 @@ superbench:
categories: DIST_INFERENCE
metrics:
- dist-inference/.*step_times
# disk_rule:
# function: variance
# criteria: 'lambda x:x<-0.05'
# categories: DISK
# metrics:
# - disk-benchmark/nvme(\d+n1)_.*_iops
disk_rule:
function: variance
criteria: 'lambda x:x<-0.05'
categories: DISK
metrics:
- disk-benchmark/nvme(\d+n1)_.*_iops
#Rule 5,6,7: If BERT or GPT-2 or LSTM suffers > 5% downgrade, label it as Not acceptable
model_throughput_rule:
function: variance
Expand Down

0 comments on commit 6e21416

Please sign in to comment.