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 { ModuleEvaluator, ModuleRunnerImportMeta, ModuleRunnerContext, EvaluatedModuleNode } from 'vite/module-runner';2import { V as VitestEvaluatedModules } from './chunks/evaluatedModules.d.BxJ5omdx.js';3import vm from 'node:vm';4import { R as RuntimeRPC } from './chunks/rpc.d.B_8sPU0w.js';5import '@vitest/runner';6import '@vitest/snapshot';7import './chunks/traces.d.D2T_R8rx.js';8 9type ModuleExecutionInfo = Map<string, ModuleExecutionInfoEntry>;10interface ModuleExecutionInfoEntry {11 startOffset: number;12 /** The duration that was spent executing the module. */13 duration: number;14 /** The time that was spent executing the module itself and externalized imports. */15 selfTime: number;16 external?: boolean;17 importer?: string;18}19 20declare class FileMap {21 private fsCache;22 private fsBufferCache;23 readFileAsync(path: string): Promise<string>;24 readFile(path: string): string;25 readBuffer(path: string): Buffer<ArrayBuffer>;26}27 28interface ModuleEvaluateOptions {29 timeout?: vm.RunningScriptOptions["timeout"] | undefined;30 breakOnSigint?: vm.RunningScriptOptions["breakOnSigint"] | undefined;31}32type ModuleLinker = (specifier: string, referencingModule: VMModule, extra: {33 assert: object;34}) => VMModule | Promise<VMModule>;35type ModuleStatus = "unlinked" | "linking" | "linked" | "evaluating" | "evaluated" | "errored";36declare class VMModule {37 dependencySpecifiers: readonly string[];38 error: any;39 identifier: string;40 context: vm.Context;41 namespace: object;42 status: ModuleStatus;43 evaluate(options?: ModuleEvaluateOptions): Promise<void>;44 link(linker: ModuleLinker): Promise<void>;45}46 47interface ExternalModulesExecutorOptions {48 context: vm.Context;49 fileMap: FileMap;50 packageCache: Map<string, any>;51 transform: RuntimeRPC["transform"];52 interopDefault?: boolean;53 viteClientModule: Record<string, unknown>;54}55declare class ExternalModulesExecutor {56 #private;57 private options;58 private cjs;59 private esm;60 private vite;61 private context;62 private fs;63 private resolvers;64 constructor(options: ExternalModulesExecutorOptions);65 import(identifier: string): Promise<object>;66 require(identifier: string): any;67 createRequire(identifier: string): NodeJS.Require;68 importModuleDynamically: (specifier: string, referencer: VMModule) => Promise<VMModule>;69 resolveModule: (specifier: string, referencer: string) => Promise<VMModule>;70 resolve(specifier: string, parent: string): string;71 private getModuleInformation;72 private createModule;73 private get isNetworkSupported();74}75 76declare module "vite/module-runner" {77 interface EvaluatedModuleNode {78 /**79 * @internal80 */81 mockedExports?: Record<string, any>;82 }83}84 85declare module "vite/module-runner" {86 interface EvaluatedModuleNode {87 /**88 * @internal89 */90 mockedExports?: Record<string, any>;91 }92}93 94interface VitestVmOptions {95 context: vm.Context;96 externalModulesExecutor: ExternalModulesExecutor;97}98 99interface VitestModuleEvaluatorOptions {100 evaluatedModules?: VitestEvaluatedModules;101 interopDefault?: boolean | undefined;102 moduleExecutionInfo?: ModuleExecutionInfo;103 getCurrentTestFilepath?: () => string | undefined;104 compiledFunctionArgumentsNames?: string[];105 compiledFunctionArgumentsValues?: unknown[];106}107declare class VitestModuleEvaluator implements ModuleEvaluator {108 private options;109 stubs: Record<string, any>;110 env: ModuleRunnerImportMeta["env"];111 private vm;112 private compiledFunctionArgumentsNames?;113 private compiledFunctionArgumentsValues;114 private primitives;115 private debug;116 private _otel;117 private _evaluatedModules?;118 constructor(vmOptions?: VitestVmOptions | undefined, options?: VitestModuleEvaluatorOptions);119 private convertIdToImportUrl;120 runExternalModule(id: string): Promise<any>;121 runInlinedModule(context: ModuleRunnerContext, code: string, module: Readonly<EvaluatedModuleNode>): Promise<any>;122 private _createCJSGlobals;123 private _runInlinedModule;124 private createRequire;125 private shouldInterop;126}127declare function createImportMetaEnvProxy(): ModuleRunnerImportMeta["env"];128declare function getDefaultRequestStubs(context?: vm.Context): Record<string, any>;129declare function isPrimitive(v: any): boolean;130declare function wrapId(id: string): string;131declare function unwrapId(id: string): string;132 133export { VitestModuleEvaluator, createImportMetaEnvProxy, getDefaultRequestStubs, isPrimitive, unwrapId, wrapId };134export type { VitestModuleEvaluatorOptions };135 