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
esmLoaderHost.js103 linesDownload Raw Back to common
1"use strict";2var __create = Object.create;3var __defProp = Object.defineProperty;4var __getOwnPropDesc = Object.getOwnPropertyDescriptor;5var __getOwnPropNames = Object.getOwnPropertyNames;6var __getProtoOf = Object.getPrototypeOf;7var __hasOwnProp = Object.prototype.hasOwnProperty;8var __export = (target, all) => {9  for (var name in all)10    __defProp(target, name, { get: all[name], enumerable: true });11};12var __copyProps = (to, from, except, desc) => {13  if (from && typeof from === "object" || typeof from === "function") {14    for (let key of __getOwnPropNames(from))15      if (!__hasOwnProp.call(to, key) && key !== except)16        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });17  }18  return to;19};20var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(21  // If the importer is in node compatibility mode or this is not an ESM22  // file that has been converted to a CommonJS file using a Babel-23  // compatible transform (i.e. "__esModule" has not been set), then set24  // "default" to the CommonJS "module.exports" for node compatibility.25  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,26  mod27));28var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);29var esmLoaderHost_exports = {};30__export(esmLoaderHost_exports, {31  configureESMLoader: () => configureESMLoader,32  configureESMLoaderTransformConfig: () => configureESMLoaderTransformConfig,33  incorporateCompilationCache: () => incorporateCompilationCache,34  registerESMLoader: () => registerESMLoader,35  startCollectingFileDeps: () => startCollectingFileDeps,36  stopCollectingFileDeps: () => stopCollectingFileDeps37});38module.exports = __toCommonJS(esmLoaderHost_exports);39var import_url = __toESM(require("url"));40var import_compilationCache = require("../transform/compilationCache");41var import_portTransport = require("../transform/portTransport");42var import_transform = require("../transform/transform");43let loaderChannel;44function registerESMLoader() {45  if (process.env.PW_DISABLE_TS_ESM)46    return true;47  if (loaderChannel)48    return true;49  const register = require("node:module").register;50  if (!register)51    return false;52  const { port1, port2 } = new MessageChannel();53  register(import_url.default.pathToFileURL(require.resolve("../transform/esmLoader")), {54    data: { port: port2 },55    transferList: [port2]56  });57  loaderChannel = createPortTransport(port1);58  return true;59}60function createPortTransport(port) {61  return new import_portTransport.PortTransport(port, async (method, params) => {62    if (method === "pushToCompilationCache")63      (0, import_compilationCache.addToCompilationCache)(params.cache);64  });65}66async function startCollectingFileDeps() {67  if (!loaderChannel)68    return;69  await loaderChannel.send("startCollectingFileDeps", {});70}71async function stopCollectingFileDeps(file) {72  if (!loaderChannel)73    return;74  await loaderChannel.send("stopCollectingFileDeps", { file });75}76async function incorporateCompilationCache() {77  if (!loaderChannel)78    return;79  const result = await loaderChannel.send("getCompilationCache", {});80  (0, import_compilationCache.addToCompilationCache)(result.cache);81}82async function configureESMLoader() {83  if (!loaderChannel)84    return;85  await loaderChannel.send("setSingleTSConfig", { tsconfig: (0, import_transform.singleTSConfig)() });86  await loaderChannel.send("addToCompilationCache", { cache: (0, import_compilationCache.serializeCompilationCache)() });87}88async function configureESMLoaderTransformConfig() {89  if (!loaderChannel)90    return;91  await loaderChannel.send("setSingleTSConfig", { tsconfig: (0, import_transform.singleTSConfig)() });92  await loaderChannel.send("setTransformConfig", { config: (0, import_transform.transformConfig)() });93}94// Annotate the CommonJS export names for ESM import in node:950 && (module.exports = {96  configureESMLoader,97  configureESMLoaderTransformConfig,98  incorporateCompilationCache,99  registerESMLoader,100  startCollectingFileDeps,101  stopCollectingFileDeps102});103 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai