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
SyncWaterfallHook.js59 linesDownload Raw Back to lib
1/*2	MIT License http://www.opensource.org/licenses/mit-license.php3	Author Tobias Koppers @sokra4*/5"use strict";6 7const Hook = require("./Hook");8const HookCodeFactory = require("./HookCodeFactory");9 10class SyncWaterfallHookCodeFactory extends HookCodeFactory {11	content({ onError, onResult, resultReturns, rethrowIfPossible }) {12		return this.callTapsSeries({13			onError: (i, err) => onError(err),14			onResult: (i, result, next) => {15				let code = "";16				code += `if(${result} !== undefined) {\n`;17				code += `${this._args[0]} = ${result};\n`;18				code += "}\n";19				code += next();20				return code;21			},22			onDone: () => onResult(this._args[0]),23			doneReturns: resultReturns,24			rethrowIfPossible25		});26	}27}28 29const factory = new SyncWaterfallHookCodeFactory();30 31const TAP_ASYNC = () => {32	throw new Error("tapAsync is not supported on a SyncWaterfallHook");33};34 35const TAP_PROMISE = () => {36	throw new Error("tapPromise is not supported on a SyncWaterfallHook");37};38 39function COMPILE(options) {40	factory.setup(this, options);41	return factory.create(options);42}43 44function SyncWaterfallHook(args = [], name = undefined) {45	if (args.length < 1) {46		throw new Error("Waterfall hooks must have at least one argument");47	}48	const hook = new Hook(args, name);49	hook.constructor = SyncWaterfallHook;50	hook.tapAsync = TAP_ASYNC;51	hook.tapPromise = TAP_PROMISE;52	hook.compile = COMPILE;53	return hook;54}55 56SyncWaterfallHook.prototype = null;57 58module.exports = SyncWaterfallHook;59 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai