Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
supported.js53 linesDownload Raw Back to raw-transfer
1import { rawTransferSupported as rawTransferSupportedBinding } from "../bindings.js";2 3let rawTransferIsSupported = null;4 5/**6 * Returns `true` if `experimentalRawTransfer` is option is supported.7 *8 * Raw transfer is only supported on 64-bit little-endian systems,9 * and NodeJS >= v22.0.0 or Deno >= v2.0.0.10 *11 * Versions of NodeJS prior to v22.0.0 do not support creating an `ArrayBuffer` larger than 4 GiB.12 * Bun (as at v1.2.4) also does not support creating an `ArrayBuffer` larger than 4 GiB.13 * Support on Deno v1 is unknown and it's EOL, so treating Deno before v2.0.0 as unsupported.14 *15 * No easy way to determining pointer width (64 bit or 32 bit) in JS,16 * so call a function on Rust side to find out.17 *18 * @returns {boolean} - `true` if raw transfer is supported on this platform19 */20export function rawTransferSupported() {21  if (rawTransferIsSupported === null) {22    rawTransferIsSupported = rawTransferRuntimeSupported() && rawTransferSupportedBinding();23  }24  return rawTransferIsSupported;25}26 27// Checks copied from:28// https://github.com/unjs/std-env/blob/ab15595debec9e9115a9c1d31bc7597a8e71dbfd/src/runtimes.ts29// MIT license: https://github.com/unjs/std-env/blob/ab15595debec9e9115a9c1d31bc7597a8e71dbfd/LICENCE30function rawTransferRuntimeSupported() {31  let global;32  try {33    global = globalThis;34  } catch {35    return false;36  }37 38  const isBun = !!global.Bun || !!global.process?.versions?.bun;39  if (isBun) return false;40 41  const isDeno = !!global.Deno;42  if (isDeno) {43    const match = Deno.version?.deno?.match(/^(\d+)\./);44    return !!match && match[1] * 1 >= 2;45  }46 47  const isNode = global.process?.release?.name === "node";48  if (!isNode) return false;49 50  const match = process.version?.match(/^v(\d+)\./);51  return !!match && match[1] * 1 >= 22;52}53 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai