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.
03.1k
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 firefox_exports = {};30__export(firefox_exports, {31 Firefox: () => Firefox32});33module.exports = __toCommonJS(firefox_exports);34var import_os = __toESM(require("os"));35var import_path = __toESM(require("path"));36var import_ffBrowser = require("./ffBrowser");37var import_ffConnection = require("./ffConnection");38var import_ascii = require("../utils/ascii");39var import_browserType = require("../browserType");40var import_manualPromise = require("../../utils/isomorphic/manualPromise");41class Firefox extends import_browserType.BrowserType {42 constructor(parent) {43 super(parent, "firefox");44 }45 connectToTransport(transport, options) {46 return import_ffBrowser.FFBrowser.connect(this.attribution.playwright, transport, options);47 }48 doRewriteStartupLog(error) {49 if (!error.logs)50 return error;51 if (error.logs.includes(`as root in a regular user's session is not supported.`))52 error.logs = "\n" + (0, import_ascii.wrapInASCIIBox)(`Firefox is unable to launch if the $HOME folder isn't owned by the current user.53Workaround: Set the HOME=/root environment variable${process.env.GITHUB_ACTION ? " in your GitHub Actions workflow file" : ""} when running Playwright.`, 1);54 if (error.logs.includes("no DISPLAY environment variable specified"))55 error.logs = "\n" + (0, import_ascii.wrapInASCIIBox)(import_browserType.kNoXServerRunningError, 1);56 return error;57 }58 amendEnvironment(env) {59 if (!import_path.default.isAbsolute(import_os.default.homedir()))60 throw new Error(`Cannot launch Firefox with relative home directory. Did you set ${import_os.default.platform() === "win32" ? "USERPROFILE" : "HOME"} to a relative path?`);61 if (import_os.default.platform() === "linux") {62 return { ...env, SNAP_NAME: void 0, SNAP_INSTANCE_NAME: void 0 };63 }64 return env;65 }66 attemptToGracefullyCloseBrowser(transport) {67 const message = { method: "Browser.close", params: {}, id: import_ffConnection.kBrowserCloseMessageId };68 transport.send(message);69 }70 async defaultArgs(options, isPersistent, userDataDir) {71 const { args = [], headless } = options;72 const userDataDirArg = args.find((arg) => arg.startsWith("-profile") || arg.startsWith("--profile"));73 if (userDataDirArg)74 throw this._createUserDataDirArgMisuseError("--profile");75 if (args.find((arg) => arg.startsWith("-juggler")))76 throw new Error("Use the port parameter instead of -juggler argument");77 const firefoxArguments = ["-no-remote"];78 if (headless) {79 firefoxArguments.push("-headless");80 } else {81 firefoxArguments.push("-wait-for-browser");82 firefoxArguments.push("-foreground");83 }84 firefoxArguments.push(`-profile`, userDataDir);85 firefoxArguments.push("-juggler-pipe");86 firefoxArguments.push(...args);87 if (isPersistent)88 firefoxArguments.push("about:blank");89 else90 firefoxArguments.push("-silent");91 return firefoxArguments;92 }93 waitForReadyState(options, browserLogsCollector) {94 const result = new import_manualPromise.ManualPromise();95 browserLogsCollector.onMessage((message) => {96 if (message.includes("Juggler listening to the pipe"))97 result.resolve({});98 });99 return result;100 }101}102// Annotate the CommonJS export names for ESM import in node:1030 && (module.exports = {104 Firefox105});106 