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
1import { onDestroyEffect } from "svelte-toolbelt";2export class TimeoutFn {3 #interval;4 #cb;5 #timer = null;6 constructor(cb, interval) {7 this.#cb = cb;8 this.#interval = interval;9 this.stop = this.stop.bind(this);10 this.start = this.start.bind(this);11 onDestroyEffect(this.stop);12 }13 #clear() {14 if (this.#timer !== null) {15 window.clearTimeout(this.#timer);16 this.#timer = null;17 }18 }19 stop() {20 this.#clear();21 }22 start(...args) {23 this.#clear();24 this.#timer = window.setTimeout(() => {25 this.#timer = null;26 this.#cb(...args);27 }, this.#interval);28 }29}30 