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
userAgent.js99 linesDownload Raw Back to utils
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 userAgent_exports = {};30__export(userAgent_exports, {31  getEmbedderName: () => getEmbedderName,32  getPlaywrightVersion: () => getPlaywrightVersion,33  getUserAgent: () => getUserAgent34});35module.exports = __toCommonJS(userAgent_exports);36var import_child_process = require("child_process");37var import_os = __toESM(require("os"));38var import_linuxUtils = require("../utils/linuxUtils");39let cachedUserAgent;40function getUserAgent() {41  if (cachedUserAgent)42    return cachedUserAgent;43  try {44    cachedUserAgent = determineUserAgent();45  } catch (e) {46    cachedUserAgent = "Playwright/unknown";47  }48  return cachedUserAgent;49}50function determineUserAgent() {51  let osIdentifier = "unknown";52  let osVersion = "unknown";53  if (process.platform === "win32") {54    const version = import_os.default.release().split(".");55    osIdentifier = "windows";56    osVersion = `${version[0]}.${version[1]}`;57  } else if (process.platform === "darwin") {58    const version = (0, import_child_process.execSync)("sw_vers -productVersion", { stdio: ["ignore", "pipe", "ignore"] }).toString().trim().split(".");59    osIdentifier = "macOS";60    osVersion = `${version[0]}.${version[1]}`;61  } else if (process.platform === "linux") {62    const distroInfo = (0, import_linuxUtils.getLinuxDistributionInfoSync)();63    if (distroInfo) {64      osIdentifier = distroInfo.id || "linux";65      osVersion = distroInfo.version || "unknown";66    } else {67      osIdentifier = "linux";68    }69  }70  const additionalTokens = [];71  if (process.env.CI)72    additionalTokens.push("CI/1");73  const serializedTokens = additionalTokens.length ? " " + additionalTokens.join(" ") : "";74  const { embedderName, embedderVersion } = getEmbedderName();75  return `Playwright/${getPlaywrightVersion()} (${import_os.default.arch()}; ${osIdentifier} ${osVersion}) ${embedderName}/${embedderVersion}${serializedTokens}`;76}77function getEmbedderName() {78  let embedderName = "unknown";79  let embedderVersion = "unknown";80  if (!process.env.PW_LANG_NAME) {81    embedderName = "node";82    embedderVersion = process.version.substring(1).split(".").slice(0, 2).join(".");83  } else if (["node", "python", "java", "csharp"].includes(process.env.PW_LANG_NAME)) {84    embedderName = process.env.PW_LANG_NAME;85    embedderVersion = process.env.PW_LANG_NAME_VERSION ?? "unknown";86  }87  return { embedderName, embedderVersion };88}89function getPlaywrightVersion(majorMinorOnly = false) {90  const version = process.env.PW_VERSION_OVERRIDE || require("./../../../package.json").version;91  return majorMinorOnly ? version.split(".").slice(0, 2).join(".") : version;92}93// Annotate the CommonJS export names for ESM import in node:940 && (module.exports = {95  getEmbedderName,96  getPlaywrightVersion,97  getUserAgent98});99 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai