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 { hydrate_next, hydrating } from '../hydration.js';2 3/**4 * @param {Comment} anchor5 * @param {Record<string, any>} $$props6 * @param {string} name7 * @param {Record<string, unknown>} slot_props8 * @param {null | ((anchor: Comment) => void)} fallback_fn9 */10export function slot(anchor, $$props, name, slot_props, fallback_fn) {11 if (hydrating) {12 hydrate_next();13 }14 15 var slot_fn = $$props.$$slots?.[name];16 // Interop: Can use snippets to fill slots17 var is_interop = false;18 if (slot_fn === true) {19 slot_fn = $$props[name === 'default' ? 'children' : name];20 is_interop = true;21 }22 23 if (slot_fn === undefined) {24 if (fallback_fn !== null) {25 fallback_fn(anchor);26 }27 } else {28 slot_fn(anchor, is_interop ? () => slot_props : slot_props);29 }30}31 32/**33 * @param {Record<string, any>} props34 * @returns {Record<string, boolean>}35 */36export function sanitize_slots(props) {37 /** @type {Record<string, boolean>} */38 const sanitized = {};39 if (props.children) sanitized.default = true;40 for (const key in props.$$slots) {41 sanitized[key] = true;42 }43 return sanitized;44}45 