First upload version 0.0.1
This commit is contained in:
21
node_modules/node-llama-cpp/dist/bindings/utils/compileLLamaCpp.d.ts
generated
vendored
Normal file
21
node_modules/node-llama-cpp/dist/bindings/utils/compileLLamaCpp.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import process from "process";
|
||||
import { BuildMetadataFile, BuildOptions } from "../types.js";
|
||||
export declare function compileLlamaCpp(buildOptions: BuildOptions, compileOptions: {
|
||||
nodeTarget?: string;
|
||||
updateLastBuildInfo?: boolean;
|
||||
includeBuildOptionsInBinaryFolderName?: boolean;
|
||||
ensureLlamaCppRepoIsCloned?: boolean;
|
||||
downloadCmakeIfNeeded?: boolean;
|
||||
ignoreWorkarounds?: ("cudaArchitecture" | "reduceParallelBuildThreads" | "singleBuildThread" | "avoidWindowsLlvm")[];
|
||||
envVars?: typeof process.env;
|
||||
ciMode?: boolean;
|
||||
}): Promise<void>;
|
||||
export declare function getLocalBuildBinaryPath(folderName: string): Promise<string | null>;
|
||||
export declare function getLocalBuildBinaryBuildMetadata(folderName: string): Promise<BuildMetadataFile>;
|
||||
export declare function getPrebuiltBinaryPath(buildOptions: BuildOptions, folderName: string): Promise<{
|
||||
binaryPath: string;
|
||||
folderName: string;
|
||||
folderPath: string;
|
||||
extBackendsPath: string | undefined;
|
||||
} | null>;
|
||||
export declare function getPrebuiltBinaryBuildMetadata(folderPath: string, folderName: string): Promise<BuildMetadataFile>;
|
||||
Reference in New Issue
Block a user