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
key.js41 linesDownload Raw Back to blocks
1/** @import { TemplateNode } from '#client' */2import { is_runes } from '../../context.js';3import { block } from '../../reactivity/effects.js';4import { hydrate_next, hydrating } from '../hydration.js';5import { BranchManager } from './branches.js';6 7const NAN = Symbol('NaN');8 9/**10 * @template V11 * @param {TemplateNode} node12 * @param {() => V} get_key13 * @param {(anchor: Node) => TemplateNode | void} render_fn14 * @returns {void}15 */16export function key(node, get_key, render_fn) {17	if (hydrating) {18		hydrate_next();19	}20 21	var branches = new BranchManager(node);22 23	var legacy = !is_runes();24 25	block(() => {26		var key = get_key();27 28		// NaN !== NaN, hence we do this workaround to not trigger remounts unnecessarily29		if (key !== key) {30			key = /** @type {any} */ (NAN);31		}32 33		// key blocks in Svelte <5 had stupid semantics34		if (legacy && key !== null && typeof key === 'object') {35			key = /** @type {V} */ ({});36		}37 38		branches.ensure(key, render_fn);39	});40}41