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
1'use strict';2 3var callBound = require('call-bound');4var safeRegexTest = require('safe-regex-test');5 6var toStr = callBound('Object.prototype.toString');7var fnToStr = callBound('Function.prototype.toString');8var isFnRegex = safeRegexTest(/^\s*async(?:\s+function(?:\s+|\()|\s*\()/);9 10var hasToStringTag = require('has-tostringtag/shams')();11var getProto = require('get-proto');12 13var getAsyncFunc = require('async-function');14 15/** @type {import('.')} */16module.exports = function isAsyncFunction(fn) {17 if (typeof fn !== 'function') {18 return false;19 }20 if (isFnRegex(fnToStr(fn))) {21 return true;22 }23 if (!hasToStringTag) {24 var str = toStr(fn);25 return str === '[object AsyncFunction]';26 }27 if (!getProto) {28 return false;29 }30 var asyncFunc = getAsyncFunc();31 return asyncFunc && asyncFunc.prototype === getProto(fn);32};33 