Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Attia Radwan committed Aug 26, 2022
1 parent 4c21738 commit f86fe79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -341,12 +341,12 @@ jobs:
- run_nvidia_smi
- benchmark_layers_integration_test:
device: "cuda"
layers: "groupnorm gsm_groupnorm instancenorm gsm_instancenorm layernorm gsm_layernorm"
layers: "groupnorm gsm_groupnorm instancenorm gsm_instancenorm layernorm gsm_layernorm dpmha"
runtime_ratio_threshold: "2.5"
memory_ratio_threshold: "1.6"
- benchmark_layers_integration_test:
device: "cuda"
layers: linear gsm_linear
layers: "linear gsm_linear"
runtime_ratio_threshold: "3.6"
memory_ratio_threshold: "13.0"
- benchmark_layers_integration_test:
Expand Down
1 change: 1 addition & 0 deletions benchmarks/utils.py
Expand Up @@ -225,6 +225,7 @@ def add_ratio(df, metric, variant):
df.loc[:, (metric, variant)] / df.loc[:, (metric, "control")]
)
else:
df[(metric, variant)] = np.nan
df[(metric, f"{variant}/control")] = np.nan

if "control" in results["variant"].tolist():
Expand Down

0 comments on commit f86fe79

Please sign in to comment.