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
androidServerImpl.js66 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 androidServerImpl_exports = {};20__export(androidServerImpl_exports, {21  AndroidServerLauncherImpl: () => AndroidServerLauncherImpl22});23module.exports = __toCommonJS(androidServerImpl_exports);24var import_playwrightServer = require("./remote/playwrightServer");25var import_playwright = require("./server/playwright");26var import_crypto = require("./server/utils/crypto");27var import_utilsBundle = require("./utilsBundle");28var import_progress = require("./server/progress");29class AndroidServerLauncherImpl {30  async launchServer(options = {}) {31    const playwright = (0, import_playwright.createPlaywright)({ sdkLanguage: "javascript", isServer: true });32    const controller = new import_progress.ProgressController();33    let devices = await controller.run((progress) => playwright.android.devices(progress, {34      host: options.adbHost,35      port: options.adbPort,36      omitDriverInstall: options.omitDriverInstall37    }));38    if (devices.length === 0)39      throw new Error("No devices found");40    if (options.deviceSerialNumber) {41      devices = devices.filter((d) => d.serial === options.deviceSerialNumber);42      if (devices.length === 0)43        throw new Error(`No device with serial number '${options.deviceSerialNumber}' was found`);44    }45    if (devices.length > 1)46      throw new Error(`More than one device found. Please specify deviceSerialNumber`);47    const device = devices[0];48    const path = options.wsPath ? options.wsPath.startsWith("/") ? options.wsPath : `/${options.wsPath}` : `/${(0, import_crypto.createGuid)()}`;49    const server = new import_playwrightServer.PlaywrightServer({ mode: "launchServer", path, maxConnections: 1, preLaunchedAndroidDevice: device });50    const wsEndpoint = await server.listen(options.port, options.host);51    const browserServer = new import_utilsBundle.ws.EventEmitter();52    browserServer.wsEndpoint = () => wsEndpoint;53    browserServer.close = () => device.close();54    browserServer.kill = () => device.close();55    device.on("close", () => {56      server.close();57      browserServer.emit("close");58    });59    return browserServer;60  }61}62// Annotate the CommonJS export names for ESM import in node:630 && (module.exports = {64  AndroidServerLauncherImpl65});66 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai