Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
89517bf
1
Parent(s):
c02d89a
added nf4 quant
Browse files
app.py
CHANGED
@@ -65,9 +65,13 @@ def get_benchmark_df(benchmark="1xA100-80GB"):
|
|
65 |
bench_df = bench_df.merge(scores_df, on="model", how="left")
|
66 |
|
67 |
bench_df["optimizations"] = bench_df[
|
68 |
-
["backend.bettertransformer", "backend.load_in_8bit"]
|
69 |
].apply(
|
70 |
-
lambda x: "BetterTransformer π€"
|
|
|
|
|
|
|
|
|
71 |
axis=1,
|
72 |
)
|
73 |
|
|
|
65 |
bench_df = bench_df.merge(scores_df, on="model", how="left")
|
66 |
|
67 |
bench_df["optimizations"] = bench_df[
|
68 |
+
["backend.bettertransformer", "backend.load_in_8bit", "backend.load_in_4bit"]
|
69 |
].apply(
|
70 |
+
lambda x: "BetterTransformer π€"
|
71 |
+
if x[0] == True
|
72 |
+
else (
|
73 |
+
"LLM.int8 ποΈ" if x[1] == True else ("NF4 ποΈ" if x[2] == True else "")
|
74 |
+
),
|
75 |
axis=1,
|
76 |
)
|
77 |
|