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 { Candidate, Variant } from './candidate';2import { compileAstNodes } from './compile';3import { ClassEntry, VariantEntry } from './intellisense';4import { Theme } from './theme';5import { Utilities } from './utilities';6import { Variants } from './variants';7import * as tailwindcss from 'tailwindcss';8import { Polyfills, Features } from 'tailwindcss';9export { Features, Polyfills } from 'tailwindcss';10 11declare const DEBUG: boolean;12 13declare const env_DEBUG: typeof DEBUG;14declare namespace env {15 export { env_DEBUG as DEBUG };16}17 18type DesignSystem = {19 theme: Theme;20 utilities: Utilities;21 variants: Variants;22 invalidCandidates: Set<string>;23 important: boolean;24 getClassOrder(classes: string[]): [string, bigint | null][];25 getClassList(): ClassEntry[];26 getVariants(): VariantEntry[];27 parseCandidate(candidate: string): Readonly<Candidate>[];28 parseVariant(variant: string): Readonly<Variant> | null;29 compileAstNodes(candidate: Candidate): ReturnType<typeof compileAstNodes>;30 printCandidate(candidate: Candidate): string;31 printVariant(variant: Variant): string;32 getVariantOrder(): Map<Variant, number>;33 resolveThemeValue(path: string, forceInline?: boolean): string | undefined;34 trackUsedVariables(raw: string): void;35 candidatesToCss(classes: string[]): (string | null)[];36};37 38/**39 * Line offset tables are the key to generating our source maps. They allow us40 * to store indexes with our AST nodes and later convert them into positions as41 * when given the source that the indexes refer to.42 */43/**44 * A position in source code45 *46 * https://tc39.es/ecma426/#sec-position-record-type47 */48interface Position {49 /** The line number, one-based */50 line: number;51 /** The column/character number, one-based */52 column: number;53}54 55interface OriginalPosition extends Position {56 source: DecodedSource;57}58/**59 * A "decoded" sourcemap60 *61 * @see https://tc39.es/ecma426/#decoded-source-map-record62 */63interface DecodedSourceMap {64 file: string | null;65 sources: DecodedSource[];66 mappings: DecodedMapping[];67}68/**69 * A "decoded" source70 *71 * @see https://tc39.es/ecma426/#decoded-source-record72 */73interface DecodedSource {74 url: string | null;75 content: string | null;76 ignore: boolean;77}78/**79 * A "decoded" mapping80 *81 * @see https://tc39.es/ecma426/#decoded-mapping-record82 */83interface DecodedMapping {84 originalPosition: OriginalPosition | null;85 generatedPosition: Position;86 name: string | null;87}88 89/**90 * The source code for one or more nodes in the AST91 *92 * This generally corresponds to a stylesheet93 */94interface Source {95 /**96 * The path to the file that contains the referenced source code97 *98 * If this references the *output* source code, this is `null`.99 */100 file: string | null;101 /**102 * The referenced source code103 */104 code: string;105}106/**107 * The file and offsets within it that this node covers108 *109 * This can represent either:110 * - A location in the original CSS which caused this node to be created111 * - A location in the output CSS where this node resides112 */113type SourceLocation = [source: Source, start: number, end: number];114 115type StyleRule = {116 kind: 'rule';117 selector: string;118 nodes: AstNode[];119 src?: SourceLocation;120 dst?: SourceLocation;121};122type AtRule = {123 kind: 'at-rule';124 name: string;125 params: string;126 nodes: AstNode[];127 src?: SourceLocation;128 dst?: SourceLocation;129};130type Declaration = {131 kind: 'declaration';132 property: string;133 value: string | undefined;134 important: boolean;135 src?: SourceLocation;136 dst?: SourceLocation;137};138type Comment = {139 kind: 'comment';140 value: string;141 src?: SourceLocation;142 dst?: SourceLocation;143};144type Context = {145 kind: 'context';146 context: Record<string, string | boolean>;147 nodes: AstNode[];148 src?: undefined;149 dst?: undefined;150};151type AtRoot = {152 kind: 'at-root';153 nodes: AstNode[];154 src?: undefined;155 dst?: undefined;156};157type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;158 159type Resolver = (id: string, base: string) => Promise<string | false | undefined>;160interface CompileOptions {161 base: string;162 from?: string;163 onDependency: (path: string) => void;164 shouldRewriteUrls?: boolean;165 polyfills?: Polyfills;166 customCssResolver?: Resolver;167 customJsResolver?: Resolver;168}169declare function compileAst(ast: AstNode[], options: CompileOptions): Promise<{170 sources: {171 base: string;172 pattern: string;173 negated: boolean;174 }[];175 root: "none" | {176 base: string;177 pattern: string;178 } | null;179 features: Features;180 build(candidates: string[]): AstNode[];181}>;182declare function compile(css: string, options: CompileOptions): Promise<{183 sources: {184 base: string;185 pattern: string;186 negated: boolean;187 }[];188 root: "none" | {189 base: string;190 pattern: string;191 } | null;192 features: Features;193 build(candidates: string[]): string;194 buildSourceMap(): tailwindcss.DecodedSourceMap;195}>;196declare function __unstable__loadDesignSystem(css: string, { base }: {197 base: string;198}): Promise<DesignSystem>;199declare function loadModule(id: string, base: string, onDependency: (path: string) => void, customJsResolver?: Resolver): Promise<{200 path: string;201 base: string;202 module: any;203}>;204 205declare class Instrumentation implements Disposable {206 #private;207 private defaultFlush;208 constructor(defaultFlush?: (message: string) => undefined);209 hit(label: string): void;210 start(label: string): void;211 end(label: string): void;212 reset(): void;213 report(flush?: (message: string) => undefined): void;214 [Symbol.dispose](): void;215}216 217declare function normalizePath(originalPath: string): string;218 219interface OptimizeOptions {220 /**221 * The file being transformed222 */223 file?: string;224 /**225 * Enabled minified output226 */227 minify?: boolean;228 /**229 * The output source map before optimization230 *231 * If omitted a resulting source map will not be available232 */233 map?: string;234}235interface TransformResult {236 code: string;237 map: string | undefined;238}239declare function optimize(input: string, { file, minify, map }?: OptimizeOptions): TransformResult;240 241interface SourceMap {242 readonly raw: string;243 readonly inline: string;244}245declare function toSourceMap(map: DecodedSourceMap | string): SourceMap;246 247export { type CompileOptions, type DecodedSource, type DecodedSourceMap, Instrumentation, type OptimizeOptions, type Resolver, type SourceMap, type TransformResult, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath, optimize, toSourceMap };248 