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
elf.js40 linesDownload Raw Back to lib
1// Copyright 2017 Lovell Fuller and others.2// SPDX-License-Identifier: Apache-2.03 4'use strict';5 6const interpreterPath = (elf) => {7  if (elf.length < 64) {8    return null;9  }10  if (elf.readUInt32BE(0) !== 0x7F454C46) {11    // Unexpected magic bytes12    return null;13  }14  if (elf.readUInt8(4) !== 2) {15    // Not a 64-bit ELF16    return null;17  }18  if (elf.readUInt8(5) !== 1) {19    // Not little-endian20    return null;21  }22  const offset = elf.readUInt32LE(32);23  const size = elf.readUInt16LE(54);24  const count = elf.readUInt16LE(56);25  for (let i = 0; i < count; i++) {26    const headerOffset = offset + (i * size);27    const type = elf.readUInt32LE(headerOffset);28    if (type === 3) {29      const fileOffset = elf.readUInt32LE(headerOffset + 8);30      const fileSize = elf.readUInt32LE(headerOffset + 32);31      return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, '');32    }33  }34  return null;35};36 37module.exports = {38  interpreterPath39};40 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai