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
AsyncFromSyncIteratorContinuation.js46 linesDownload Raw Back to 2023
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4 5var $SyntaxError = require('es-errors/syntax');6var $TypeError = require('es-errors/type');7var isObject = require('es-object-atoms/isObject');8var $Promise = GetIntrinsic('%Promise%', true);9 10var callBound = require('call-bound');11 12var CreateIterResultObject = require('./CreateIterResultObject');13var IteratorComplete = require('./IteratorComplete');14var IteratorValue = require('./IteratorValue');15var PromiseResolve = require('./PromiseResolve');16 17var $then = callBound('Promise.prototype.then', true);18 19// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation20 21module.exports = function AsyncFromSyncIteratorContinuation(result) {22	if (!isObject(result)) {23		throw new $TypeError('Assertion failed: Type(O) is not Object');24	}25 26	if (arguments.length > 1) {27		throw new $SyntaxError('although AsyncFromSyncIteratorContinuation should take a second argument, it is not used in this implementation');28	}29 30	if (!$Promise) {31		throw new $SyntaxError('This environment does not support Promises.');32	}33 34	return new $Promise(function (resolve) {35		var done = IteratorComplete(result); // step 236		var value = IteratorValue(result); // step 437		var valueWrapper = PromiseResolve($Promise, value); // step 638 39		// eslint-disable-next-line no-shadow40		var onFulfilled = function (value) { // steps 8-941			return CreateIterResultObject(value, done); // step 8.a42		};43		resolve($then(valueWrapper, onFulfilled)); // step 1144	}); // step 1245};46 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai