Spaces:
Running
Running
Upload core/loader.js with huggingface_hub
Browse files- core/loader.js +1 -1
core/loader.js
CHANGED
|
@@ -102,7 +102,7 @@ export async function loadModel(m, { onStatus = noop, onProgress = noop } = {})
|
|
| 102 |
}
|
| 103 |
onStatus("");
|
| 104 |
return { gpu, info: lr, manifest, imageKappa: null };
|
| 105 |
-
} catch (e) { onStatus("could not load model: " + e); return null; }
|
| 106 |
}
|
| 107 |
|
| 108 |
// LOAD-DIRECT: a pre-compiled 2-bit/Q4 κ-object (compile2bit.mjs output). Weights arrive ALREADY
|
|
|
|
| 102 |
}
|
| 103 |
onStatus("");
|
| 104 |
return { gpu, info: lr, manifest, imageKappa: null };
|
| 105 |
+
} catch (e) { console.error("[Q] load failed:", e, e && e.stack); onStatus("could not load model: " + e); return null; }
|
| 106 |
}
|
| 107 |
|
| 108 |
// LOAD-DIRECT: a pre-compiled 2-bit/Q4 κ-object (compile2bit.mjs output). Weights arrive ALREADY
|