Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
e2d1670
1
Parent(s):
97058d0
ignore no optimizations
Browse files
app.py
CHANGED
@@ -156,13 +156,17 @@ def filter_query(
|
|
156 |
raw_df["model"].str.lower().str.contains(text.lower())
|
157 |
& raw_df["backend.name"].isin(backends)
|
158 |
& raw_df["backend.torch_dtype"].isin(datatypes)
|
159 |
-
&
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
|
|
|
|
|
|
|
|
166 |
& (raw_df["average"] >= threshold)
|
167 |
]
|
168 |
|
|
|
156 |
raw_df["model"].str.lower().str.contains(text.lower())
|
157 |
& raw_df["backend.name"].isin(backends)
|
158 |
& raw_df["backend.torch_dtype"].isin(datatypes)
|
159 |
+
& (
|
160 |
+
pd.concat(
|
161 |
+
[
|
162 |
+
raw_df["optimizations"].str.contains(optimization)
|
163 |
+
for optimization in optimizations
|
164 |
+
],
|
165 |
+
axis=1,
|
166 |
+
).any(axis="columns")
|
167 |
+
if len(optimizations) > 0
|
168 |
+
else True
|
169 |
+
)
|
170 |
& (raw_df["average"] >= threshold)
|
171 |
]
|
172 |
|