node-llama-cpp 1.1.0 → 1.1.1
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/cli/commands/ClearCommand.js +1 -1
- package/dist/utils/compileLLamaCpp.js +1 -1
- package/dist/utils/getBin.js +1 -1
- package/dist/utils/usedBinFlag.d.ts +2 -2
- package/llama/usedBin.json +1 -1
- package/llamaBins/mac-arm64-16.node +0 -0
- package/llamaBins/mac-arm64-17.node +0 -0
- package/llamaBins/mac-arm64-18.node +0 -0
- package/llamaBins/mac-arm64-19.node +0 -0
- package/llamaBins/mac-arm64-20.node +0 -0
- package/llamaBins/mac-x64-16.node +0 -0
- package/llamaBins/mac-x64-17.node +0 -0
- package/llamaBins/mac-x64-18.node +0 -0
- package/llamaBins/mac-x64-19.node +0 -0
- package/llamaBins/mac-x64-20.node +0 -0
- package/llamaBins/win-x64-16.node +0 -0
- package/llamaBins/win-x64-17.node +0 -0
- package/llamaBins/win-x64-18.node +0 -0
- package/llamaBins/win-x64-19.node +0 -0
- package/llamaBins/win-x64-20.node +0 -0
- package/package.json +1 -1
package/dist/utils/getBin.js
CHANGED
|
@@ -39,7 +39,7 @@ export async function getPrebuildBinPath() {
|
|
|
39
39
|
}
|
|
40
40
|
export async function loadBin() {
|
|
41
41
|
const usedBingFlag = await getUsedBinFlag();
|
|
42
|
-
if (usedBingFlag === "
|
|
42
|
+
if (usedBingFlag === "prebuiltBinaries") {
|
|
43
43
|
const prebuildBinPath = await getPrebuildBinPath();
|
|
44
44
|
if (prebuildBinPath == null) {
|
|
45
45
|
console.warn("Prebuild binaries not found, falling back to to locally built binaries");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type UsedBinFlagFile = {
|
|
2
|
-
use: "
|
|
2
|
+
use: "prebuiltBinaries" | "localBuildFromSource";
|
|
3
3
|
};
|
|
4
|
-
export declare function getUsedBinFlag(): Promise<"
|
|
4
|
+
export declare function getUsedBinFlag(): Promise<"prebuiltBinaries" | "localBuildFromSource">;
|
|
5
5
|
export declare function setUsedBinFlag(useFlag: UsedBinFlagFile["use"]): Promise<void>;
|
|
6
6
|
export {};
|
package/llama/usedBin.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|