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
zipFile.js75 linesDownload Raw Back to utils
1"use strict";2var __defProp = Object.defineProperty;3var __getOwnPropDesc = Object.getOwnPropertyDescriptor;4var __getOwnPropNames = Object.getOwnPropertyNames;5var __hasOwnProp = Object.prototype.hasOwnProperty;6var __export = (target, all) => {7  for (var name in all)8    __defProp(target, name, { get: all[name], enumerable: true });9};10var __copyProps = (to, from, except, desc) => {11  if (from && typeof from === "object" || typeof from === "function") {12    for (let key of __getOwnPropNames(from))13      if (!__hasOwnProp.call(to, key) && key !== except)14        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });15  }16  return to;17};18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);19var zipFile_exports = {};20__export(zipFile_exports, {21  ZipFile: () => ZipFile22});23module.exports = __toCommonJS(zipFile_exports);24var import_zipBundle = require("../../zipBundle");25class ZipFile {26  constructor(fileName) {27    this._entries = /* @__PURE__ */ new Map();28    this._fileName = fileName;29    this._openedPromise = this._open();30  }31  async _open() {32    await new Promise((fulfill, reject) => {33      import_zipBundle.yauzl.open(this._fileName, { autoClose: false }, (e, z) => {34        if (e) {35          reject(e);36          return;37        }38        this._zipFile = z;39        this._zipFile.on("entry", (entry) => {40          this._entries.set(entry.fileName, entry);41        });42        this._zipFile.on("end", fulfill);43      });44    });45  }46  async entries() {47    await this._openedPromise;48    return [...this._entries.keys()];49  }50  async read(entryPath) {51    await this._openedPromise;52    const entry = this._entries.get(entryPath);53    if (!entry)54      throw new Error(`${entryPath} not found in file ${this._fileName}`);55    return new Promise((resolve, reject) => {56      this._zipFile.openReadStream(entry, (error, readStream) => {57        if (error || !readStream) {58          reject(error || "Entry not found");59          return;60        }61        const buffers = [];62        readStream.on("data", (data) => buffers.push(data));63        readStream.on("end", () => resolve(Buffer.concat(buffers)));64      });65    });66  }67  close() {68    this._zipFile?.close();69  }70}71// Annotate the CommonJS export names for ESM import in node:720 && (module.exports = {73  ZipFile74});75 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai