UNPKG

woolball-client

Version:

Client-side library for Woolball enabling secure browser resource sharing for distributed AI task processing

8 lines (7 loc) 374 B
/** * Calculates tokens per second performance using Transformers.js * Uses the onnx-community/Qwen3-0.6B-ONNX model for realistic AI inference benchmarking * Automatically detects environment and uses appropriate backend (WebGPU/WASM/Node.js) * @returns Promise<number> - The tokens per second as an integer */ export declare function calculateTPS(): Promise<number>;