Spaces:
Running
Running
GitHub Actions commited on
Commit ·
0223eb0
1
Parent(s): 8c9dd38
sync from abhijitramesh/webgpu-bench@8a89d9703b
Browse files- js/run/controller.js +1 -0
- models.json +4 -1
js/run/controller.js
CHANGED
|
@@ -1225,6 +1225,7 @@ function isStudyVariant(v) {
|
|
| 1225 |
if (!v) return false;
|
| 1226 |
const sel = state.models?.studySelection;
|
| 1227 |
if (!sel) return false;
|
|
|
|
| 1228 |
if (v.modelName === sel.focusModel) return (sel.focusQuants || []).includes(v.quant);
|
| 1229 |
return v.quant === sel.standardQuant;
|
| 1230 |
}
|
|
|
|
| 1225 |
if (!v) return false;
|
| 1226 |
const sel = state.models?.studySelection;
|
| 1227 |
if (!sel) return false;
|
| 1228 |
+
if ((sel.extras || []).some(e => e.model === v.modelName && e.quant === v.quant)) return true;
|
| 1229 |
if (v.modelName === sel.focusModel) return (sel.focusQuants || []).includes(v.quant);
|
| 1230 |
return v.quant === sel.standardQuant;
|
| 1231 |
}
|
models.json
CHANGED
|
@@ -1040,6 +1040,9 @@
|
|
| 1040 |
"studySelection": {
|
| 1041 |
"focusModel": "Llama-3.2-1B-Instruct",
|
| 1042 |
"focusQuants": ["Q2_K", "Q4_K_M", "Q8_0", "F16"],
|
| 1043 |
-
"standardQuant": "Q4_K_M"
|
|
|
|
|
|
|
|
|
|
| 1044 |
}
|
| 1045 |
}
|
|
|
|
| 1040 |
"studySelection": {
|
| 1041 |
"focusModel": "Llama-3.2-1B-Instruct",
|
| 1042 |
"focusQuants": ["Q2_K", "Q4_K_M", "Q8_0", "F16"],
|
| 1043 |
+
"standardQuant": "Q4_K_M",
|
| 1044 |
+
"extras": [
|
| 1045 |
+
{ "model": "Bonsai-1.7B", "quant": "Q1_0" }
|
| 1046 |
+
]
|
| 1047 |
}
|
| 1048 |
}
|