@threaded/ai 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1127,7 +1127,7 @@ var callHuggingFace = async (config, ctx) => {
|
|
|
1127
1127
|
const { pipeline } = await import("@huggingface/transformers");
|
|
1128
1128
|
if (!modelCache2.has(model2)) {
|
|
1129
1129
|
const generator2 = await pipeline("text-generation", model2, {
|
|
1130
|
-
dtype: "
|
|
1130
|
+
dtype: "q4"
|
|
1131
1131
|
});
|
|
1132
1132
|
modelCache2.set(model2, generator2);
|
|
1133
1133
|
}
|