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/consts.js
T

13 lines
329 B
JavaScript

const prettyBuildGpuNames = {
metal: "Metal",
cuda: "CUDA",
vulkan: "Vulkan"
};
export function getPrettyBuildGpuName(gpu) {
if (gpu == null)
return "unknown GPU";
if (gpu == false)
return "no GPU";
return prettyBuildGpuNames[gpu] ?? ('"' + gpu + '"');
}
//# sourceMappingURL=consts.js.map