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 { buildInfoPlugin } from './scripts/vite-plugin-build-info';2import { nerdamerPlugin } from './scripts/vite-plugin-nerdamer';3import { relativizeBasePlugin } from './scripts/vite-plugin-relativize-base';4import { splashScreenPlugin } from './scripts/vite-plugin-splash-screen';5import { SVELTEKIT_PWA_OPTIONS } from './src/lib/constants/pwa';6import { storybookTest } from '@storybook/addon-vitest/vitest-plugin';7import { sveltekit } from '@sveltejs/kit/vite';8import tailwindcss from '@tailwindcss/vite';9import { SvelteKitPWA } from '@vite-pwa/sveltekit';10import { playwright } from '@vitest/browser-playwright';11import { dirname, resolve } from 'path';12import { fileURLToPath } from 'url';13import { defineConfig, searchForWorkspaceRoot } from 'vite';14 15const __dirname = dirname(fileURLToPath(import.meta.url));16const SERVER_ORIGIN = import.meta.env?.VITE_PUBLIC_SERVER_ORIGIN || 'http://localhost:8080';17// eslint-disable-next-line @typescript-eslint/no-explicit-any18const browserBaseConfig: any = {19 enabled: true,20 instances: [{ browser: 'chromium' }],21 provider: playwright({22 launchOptions: {23 args: ['--no-sandbox']24 }25 })26};27 28export default defineConfig({29 build: {30 assetsInlineLimit: 32000,31 chunkSizeWarningLimit: 3072,32 minify: true33 },34 35 plugins: [36 tailwindcss(),37 sveltekit(),38 SvelteKitPWA(SVELTEKIT_PWA_OPTIONS),39 splashScreenPlugin(),40 buildInfoPlugin(),41 nerdamerPlugin(),42 relativizeBasePlugin()43 ],44 45 resolve: {46 alias: {47 'katex-fonts': resolve('node_modules/katex/dist/fonts')48 }49 },50 51 server: {52 fs: {53 allow: [searchForWorkspaceRoot(process.cwd()), resolve(__dirname, 'tests')]54 },55 headers: {56 'Cross-Origin-Embedder-Policy': 'require-corp',57 'Cross-Origin-Opener-Policy': 'same-origin'58 },59 proxy: {60 '/cors-proxy': SERVER_ORIGIN,61 '/models': SERVER_ORIGIN,62 '/props': SERVER_ORIGIN,63 '/slots': SERVER_ORIGIN,64 '/tools': SERVER_ORIGIN,65 '/v1': SERVER_ORIGIN66 }67 },68 69 test: {70 projects: [71 {72 extends: './vite.config.ts',73 test: {74 browser: browserBaseConfig,75 include: ['tests/client/**/*.svelte.{test,spec}.{js,ts}'],76 name: 'client',77 setupFiles: ['./vitest-setup-client.ts']78 }79 },80 81 {82 extends: './vite.config.ts',83 test: {84 environment: 'node',85 include: ['tests/unit/**/*.{test,spec}.{js,ts}'],86 name: 'unit'87 }88 },89 90 {91 extends: './vite.config.ts',92 plugins: [93 storybookTest({94 storybookScript: 'pnpm run storybook --no-open'95 })96 ],97 test: {98 browser: { ...browserBaseConfig, instances: [{ browser: 'chromium', headless: true }] },99 name: 'ui'100 }101 }102 ]103 }104});105 