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
0likes3kdownloads
messageSW.js35 linesDownload Raw Back to workbox-window
1/*2  Copyright 2019 Google LLC3 4  Use of this source code is governed by an MIT-style5  license that can be found in the LICENSE file or at6  https://opensource.org/licenses/MIT.7*/8import './_version.js';9/**10 * Sends a data object to a service worker via `postMessage` and resolves with11 * a response (if any).12 *13 * A response can be set in a message handler in the service worker by14 * calling `event.ports[0].postMessage(...)`, which will resolve the promise15 * returned by `messageSW()`. If no response is set, the promise will not16 * resolve.17 *18 * @param {ServiceWorker} sw The service worker to send the message to.19 * @param {Object} data An object to send to the service worker.20 * @return {Promise<Object|undefined>}21 * @memberof workbox-window22 */23// Better not change type of data.24// eslint-disable-next-line @typescript-eslint/ban-types25function messageSW(sw, data) {26    return new Promise((resolve) => {27        const messageChannel = new MessageChannel();28        messageChannel.port1.onmessage = (event) => {29            resolve(event.data);30        };31        sw.postMessage(data, [messageChannel.port2]);32    });33}34export { messageSW };35 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai