Spaces:
Running
Running
Commit
ยท
774f9d7
1
Parent(s):
0232cf1
update
Browse files- src/llm_perf.py +6 -4
src/llm_perf.py
CHANGED
@@ -110,10 +110,12 @@ def get_llm_perf_df(machine: str = "hf-dgx-01"):
|
|
110 |
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(
|
111 |
lambda x: x.replace("float16+", "").replace("float32+", "").replace("bfloat16+", "") if "bit" in x else x
|
112 |
)
|
113 |
-
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("
|
114 |
-
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("
|
115 |
-
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("
|
116 |
-
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("
|
|
|
|
|
117 |
# add arch
|
118 |
llm_perf_df["Arch"] = llm_perf_df["Arch"].apply(process_arch)
|
119 |
# filter columns
|
|
|
110 |
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(
|
111 |
lambda x: x.replace("float16+", "").replace("float32+", "").replace("bfloat16+", "") if "bit" in x else x
|
112 |
)
|
113 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("bnb-4bit", "BnB-4bit"))
|
114 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("bnb-8bit", "BnB-8bit"))
|
115 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("awq-4bit", "AWQ-4bit"))
|
116 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("gptq-4bit", "GPTQ-4bit"))
|
117 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("bettertransformer", "SDPA"))
|
118 |
+
llm_perf_df["experiment_name"] = llm_perf_df["experiment_name"].apply(lambda x: x.replace("flash-attention-v2", "FA-v2"))
|
119 |
# add arch
|
120 |
llm_perf_df["Arch"] = llm_perf_df["Arch"].apply(process_arch)
|
121 |
# filter columns
|