char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Aleksander Grygierui: Restructure repo to use `tools/ui` folder and `ui` / `UI` / `llama-ui` / `LLAMA_UI` naming (#23064)59778f019

char/aliceai-t5-moe
271 B9 linesraw
1/**
2 * Converts a rem CSS value to pixels based on the document root font size.
3 */
4export function remToPx(rem: string): number {
5	const val = parseFloat(rem);
6	const fontSize = parseFloat(getComputedStyle(document.documentElement).fontSize);
7
8	return val * fontSize;
9}