First upload version 0.0.1
This commit is contained in:
9
node_modules/node-llama-cpp/dist/bindings/utils/getBestComputeLayersAvailable.d.ts
generated
vendored
Normal file
9
node_modules/node-llama-cpp/dist/bindings/utils/getBestComputeLayersAvailable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import process from "process";
|
||||
import { BuildGpu } from "../types.js";
|
||||
import { BinaryPlatform } from "./getPlatform.js";
|
||||
export declare function getBestComputeLayersAvailable(): Promise<(false | "metal" | "cuda" | "vulkan")[]>;
|
||||
export declare function detectBestComputeLayersAvailable({ platform, arch, hasCudaWithStaticBinaryBuild }?: {
|
||||
platform?: BinaryPlatform;
|
||||
arch?: typeof process.arch;
|
||||
hasCudaWithStaticBinaryBuild?: boolean;
|
||||
}): Promise<BuildGpu[]>;
|
||||
Reference in New Issue
Block a user