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
fsWatcher.js68 linesDownload Raw Back to lib
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 fsWatcher_exports = {};20__export(fsWatcher_exports, {21  Watcher: () => Watcher22});23module.exports = __toCommonJS(fsWatcher_exports);24var import_utilsBundle = require("./utilsBundle");25class Watcher {26  constructor(onChange) {27    this._watchedPaths = [];28    this._ignoredFolders = [];29    this._collector = [];30    this._onChange = onChange;31  }32  async update(watchedPaths, ignoredFolders, reportPending) {33    if (JSON.stringify([this._watchedPaths, this._ignoredFolders]) === JSON.stringify([watchedPaths, ignoredFolders]))34      return;35    if (reportPending)36      this._reportEventsIfAny();37    this._watchedPaths = watchedPaths;38    this._ignoredFolders = ignoredFolders;39    void this._fsWatcher?.close();40    this._fsWatcher = void 0;41    this._collector.length = 0;42    clearTimeout(this._throttleTimer);43    this._throttleTimer = void 0;44    if (!this._watchedPaths.length)45      return;46    const ignored = [...this._ignoredFolders, "**/node_modules/**"];47    this._fsWatcher = import_utilsBundle.chokidar.watch(watchedPaths, { ignoreInitial: true, ignored }).on("all", async (event, file) => {48      if (this._throttleTimer)49        clearTimeout(this._throttleTimer);50      this._collector.push({ event, file });51      this._throttleTimer = setTimeout(() => this._reportEventsIfAny(), 250);52    });53    await new Promise((resolve, reject) => this._fsWatcher.once("ready", resolve).once("error", reject));54  }55  async close() {56    await this._fsWatcher?.close();57  }58  _reportEventsIfAny() {59    if (this._collector.length)60      this._onChange(this._collector.slice());61    this._collector.length = 0;62  }63}64// Annotate the CommonJS export names for ESM import in node:650 && (module.exports = {66  Watcher67});68 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai