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 { t as parse } from "./context-Csj9j3eN.js";2import { createRequire } from "node:module";3import { resolve } from "node:path";4import { Buffer } from "node:buffer";5import process from "node:process";6 7//#region src/webpack/context.ts8function contextOptionsFromCompilation(compilation) {9 return {10 addWatchFile(file) {11 (compilation.fileDependencies ?? compilation.compilationDependencies).add(file);12 },13 getWatchFiles() {14 return Array.from(compilation.fileDependencies ?? compilation.compilationDependencies);15 }16 };17}18const require = createRequire(import.meta.url);19function getSource(fileSource) {20 return new (require("webpack")).sources.RawSource(typeof fileSource === "string" ? fileSource : Buffer.from(fileSource.buffer));21}22function createBuildContext(options, compiler, compilation, loaderContext, inputSourceMap) {23 return {24 parse,25 addWatchFile(id) {26 options.addWatchFile(resolve(process.cwd(), id));27 },28 emitFile(emittedFile) {29 const outFileName = emittedFile.fileName || emittedFile.name;30 if (emittedFile.source && outFileName) {31 if (!compilation) throw new Error("unplugin/webpack: emitFile outside supported hooks (buildStart, buildEnd, load, transform, watchChange)");32 compilation.emitAsset(outFileName, getSource(emittedFile.source));33 }34 },35 getWatchFiles() {36 return options.getWatchFiles();37 },38 getNativeBuildContext() {39 return {40 framework: "webpack",41 compiler,42 compilation,43 loaderContext,44 inputSourceMap45 };46 }47 };48}49function createContext(loader) {50 return {51 error: (error) => loader.emitError(normalizeMessage(error)),52 warn: (message) => loader.emitWarning(normalizeMessage(message))53 };54}55function normalizeMessage(error) {56 const err = new Error(typeof error === "string" ? error : error.message);57 if (typeof error === "object") {58 err.stack = error.stack;59 err.cause = error.meta;60 }61 return err;62}63 64//#endregion65export { normalizeMessage as i, createBuildContext as n, createContext as r, contextOptionsFromCompilation as t };