This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/node-llama-cpp/dist/bindings/utils/getBestComputeLayersAvailable.d.ts
T

10 lines
471 B
TypeScript

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[]>;