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
1export const isBrowser = typeof document !== "undefined";2export const isIOS = getIsIOS();3function getIsIOS() {4 return (isBrowser &&5 window?.navigator?.userAgent &&6 (/iP(ad|hone|od)/.test(window.navigator.userAgent) ||7 // The new iPad Pro Gen3 does not identify itself as iPad, but as Macintosh.8 (window?.navigator?.maxTouchPoints > 2 &&9 /iPad|Macintosh/.test(window?.navigator.userAgent))));10}11export function isFunction(value) {12 return typeof value === "function";13}14export function isHTMLElement(element) {15 return element instanceof HTMLElement;16}17export function isElement(element) {18 return element instanceof Element;19}20export function isElementOrSVGElement(element) {21 return element instanceof Element || element instanceof SVGElement;22}23export function isNumberString(value) {24 return !Number.isNaN(Number(value)) && !Number.isNaN(Number.parseFloat(value));25}26export function isNull(value) {27 return value === null;28}29export function isTouch(e) {30 return e.pointerType === "touch";31}32export function isFocusVisible(element) {33 return element.matches(":focus-visible");34}35export function isNotNull(value) {36 return value !== null;37}38/**39 * Determines if the provided object is a valid `HTMLInputElement` with40 * a `select` method available.41 */42export function isSelectableInput(element) {43 return element instanceof HTMLInputElement && "select" in element;44}45/**46 * Given a node, determine if it is hidden by walking up the47 * DOM tree until we hit the `stopAt` node (exclusive), if provided)48 * otherwise we stop at the document root.49 */50export function isElementHidden(node, stopAt) {51 if (getComputedStyle(node).visibility === "hidden")52 return true;53 while (node) {54 // we stop at `upTo` (excluding it)55 if (stopAt !== undefined && node === stopAt)56 return false;57 if (getComputedStyle(node).display === "none")58 return true;59 node = node.parentElement;60 }61 return false;62}63 