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
dev.js80 linesDownload Raw Back to shared
1import { DEV } from 'esm-env';2import { define_property } from './utils.js';3import * as e from './errors.js';4 5/**6 * @param {string} label7 * @returns {Error & { stack: string } | null}8 */9export function get_error(label) {10	const error = new Error();11	const stack = get_stack();12 13	if (stack.length === 0) {14		return null;15	}16 17	stack.unshift('\n');18 19	define_property(error, 'stack', {20		value: stack.join('\n')21	});22 23	define_property(error, 'name', {24		value: label25	});26 27	return /** @type {Error & { stack: string }} */ (error);28}29 30/**31 * @returns {string[]}32 */33export function get_stack() {34	// @ts-ignore - doesn't exist everywhere35	const limit = Error.stackTraceLimit;36	// @ts-ignore - doesn't exist everywhere37	Error.stackTraceLimit = Infinity;38	const stack = new Error().stack;39	// @ts-ignore - doesn't exist everywhere40	Error.stackTraceLimit = limit;41 42	if (!stack) return [];43 44	const lines = stack.split('\n');45	const new_lines = [];46 47	for (let i = 0; i < lines.length; i++) {48		const line = lines[i];49		const posixified = line.replaceAll('\\', '/');50 51		if (line.trim() === 'Error') {52			continue;53		}54 55		if (line.includes('validate_each_keys')) {56			return [];57		}58 59		if (posixified.includes('svelte/src/internal') || posixified.includes('node_modules/.vite')) {60			continue;61		}62 63		new_lines.push(line);64	}65 66	return new_lines;67}68 69/**70 * @param {boolean} condition71 * @param {string} message72 */73export function invariant(condition, message) {74	if (!DEV) {75		throw new Error('invariant(...) was not guarded by if (DEV)');76	}77 78	if (!condition) e.invariant_violation(message);79}80 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai