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
1import { createClassGroupUtils } from './class-group-utils'2import { createLruCache } from './lru-cache'3import { createParseClassName } from './parse-class-name'4import { createSortModifiers } from './sort-modifiers'5import { AnyClassGroupIds, AnyConfig } from './types'6 7export type ConfigUtils = ReturnType<typeof createConfigUtils>8 9export const createConfigUtils = (config: AnyConfig) => ({10 cache: createLruCache<string, string>(config.cacheSize),11 parseClassName: createParseClassName(config),12 sortModifiers: createSortModifiers(config),13 postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),14 ...createClassGroupUtils(config),15})16 17const createPostfixLookupClassGroupIds = (config: AnyConfig) => {18 const lookup: Partial<Record<AnyClassGroupIds, true>> = Object.create(null)19 const classGroupIds = config.postfixLookupClassGroups20 21 if (classGroupIds) {22 for (let i = 0; i < classGroupIds.length; i++) {23 lookup[classGroupIds[i]!] = true24 }25 }26 27 return lookup28}29 