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
testLoader.js101 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 testLoader_exports = {};30__export(testLoader_exports, {31  defaultTimeout: () => defaultTimeout,32  loadTestFile: () => loadTestFile33});34module.exports = __toCommonJS(testLoader_exports);35var import_path = __toESM(require("path"));36var import_util = __toESM(require("util"));37var esmLoaderHost = __toESM(require("./esmLoaderHost"));38var import_globals = require("./globals");39var import_test = require("./test");40var import_compilationCache = require("../transform/compilationCache");41var import_transform = require("../transform/transform");42var import_util2 = require("../util");43const defaultTimeout = 3e4;44const cachedFileSuites = /* @__PURE__ */ new Map();45async function loadTestFile(file, rootDir, testErrors) {46  if (cachedFileSuites.has(file))47    return cachedFileSuites.get(file);48  const suite = new import_test.Suite(import_path.default.relative(rootDir, file) || import_path.default.basename(file), "file");49  suite._requireFile = file;50  suite.location = { file, line: 0, column: 0 };51  (0, import_globals.setCurrentlyLoadingFileSuite)(suite);52  if (!(0, import_globals.isWorkerProcess)()) {53    (0, import_compilationCache.startCollectingFileDeps)();54    await esmLoaderHost.startCollectingFileDeps();55  }56  try {57    await (0, import_transform.requireOrImport)(file);58    cachedFileSuites.set(file, suite);59  } catch (e) {60    if (!testErrors)61      throw e;62    testErrors.push(serializeLoadError(file, e));63  } finally {64    (0, import_globals.setCurrentlyLoadingFileSuite)(void 0);65    if (!(0, import_globals.isWorkerProcess)()) {66      (0, import_compilationCache.stopCollectingFileDeps)(file);67      await esmLoaderHost.stopCollectingFileDeps(file);68    }69  }70  {71    const files = /* @__PURE__ */ new Set();72    suite.allTests().map((t) => files.add(t.location.file));73    if (files.size === 1) {74      const mappedFile = files.values().next().value;75      if (suite.location.file !== mappedFile) {76        if (import_path.default.extname(mappedFile) !== import_path.default.extname(suite.location.file))77          suite.location.file = mappedFile;78      }79    }80  }81  return suite;82}83function serializeLoadError(file, error) {84  if (error instanceof Error) {85    const result = (0, import_util2.filterStackTrace)(error);86    const loc = error.loc;87    result.location = loc ? {88      file,89      line: loc.line || 0,90      column: loc.column || 091    } : void 0;92    return result;93  }94  return { value: import_util.default.inspect(error) };95}96// Annotate the CommonJS export names for ESM import in node:970 && (module.exports = {98  defaultTimeout,99  loadTestFile100});101 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai