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
1// @flow2 3/**4 * This file was automatically generated by json-schema-to-typescript.5 * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,6 * and run json-schema-to-typescript to regenerate this file.7 */8export type String = string;9/**10 * A CSS rule.11 */12export type Rule<D = Declaration, M = MediaQuery> =13 | {|14 type: "media",15 value: MediaRule<D, M>,16 |}17 | {|18 type: "import",19 value: ImportRule<M>,20 |}21 | {|22 type: "style",23 value: StyleRule<D, M>,24 |}25 | {|26 type: "keyframes",27 value: KeyframesRule<D>,28 |}29 | {|30 type: "font-face",31 value: FontFaceRule,32 |}33 | {|34 type: "font-palette-values",35 value: FontPaletteValuesRule,36 |}37 | {|38 type: "font-feature-values",39 value: FontFeatureValuesRule,40 |}41 | {|42 type: "page",43 value: PageRule<D>,44 |}45 | {|46 type: "supports",47 value: SupportsRule<D, M>,48 |}49 | {|50 type: "counter-style",51 value: CounterStyleRule<D>,52 |}53 | {|54 type: "namespace",55 value: NamespaceRule,56 |}57 | {|58 type: "moz-document",59 value: MozDocumentRule<D, M>,60 |}61 | {|62 type: "nesting",63 value: NestingRule<D, M>,64 |}65 | {|66 type: "nested-declarations",67 value: NestedDeclarationsRule<D>,68 |}69 | {|70 type: "viewport",71 value: ViewportRule<D>,72 |}73 | {|74 type: "custom-media",75 value: CustomMediaRule<M>,76 |}77 | {|78 type: "layer-statement",79 value: LayerStatementRule,80 |}81 | {|82 type: "layer-block",83 value: LayerBlockRule<D, M>,84 |}85 | {|86 type: "property",87 value: PropertyRule,88 |}89 | {|90 type: "container",91 value: ContainerRule<D, M>,92 |}93 | {|94 type: "scope",95 value: ScopeRule<D, M>,96 |}97 | {|98 type: "starting-style",99 value: StartingStyleRule<D, M>,100 |}101 | {|102 type: "view-transition",103 value: ViewTransitionRule,104 |}105 | {|106 type: "ignored",107 |}108 | {|109 type: "unknown",110 value: UnknownAtRule,111 |}112 | {|113 type: "custom",114 value: DefaultAtRule,115 |};116/**117 * Represents a media condition.118 */119export type MediaCondition =120 | {|121 type: "feature",122 value: QueryFeatureFor_MediaFeatureId,123 |}124 | {|125 type: "not",126 value: MediaCondition,127 |}128 | {|129 /**130 * The conditions for the operator.131 */132 conditions: MediaCondition[],133 134 /**135 * The operator for the conditions.136 */137 operator: Operator,138 type: "operation",139 |};140/**141 * A generic media feature or container feature.142 */143export type QueryFeatureFor_MediaFeatureId =144 | {|145 /**146 * The name of the feature.147 */148 name: MediaFeatureNameFor_MediaFeatureId,149 type: "plain",150 151 /**152 * The feature value.153 */154 value: MediaFeatureValue,155 |}156 | {|157 /**158 * The name of the feature.159 */160 name: MediaFeatureNameFor_MediaFeatureId,161 type: "boolean",162 |}163 | {|164 /**165 * The name of the feature.166 */167 name: MediaFeatureNameFor_MediaFeatureId,168 169 /**170 * A comparator.171 */172 operator: MediaFeatureComparison,173 type: "range",174 175 /**176 * The feature value.177 */178 value: MediaFeatureValue,179 |}180 | {|181 /**182 * The end value.183 */184 end: MediaFeatureValue,185 186 /**187 * A comparator for the end value.188 */189 endOperator: MediaFeatureComparison,190 191 /**192 * The name of the feature.193 */194 name: MediaFeatureNameFor_MediaFeatureId,195 196 /**197 * A start value.198 */199 start: MediaFeatureValue,200 201 /**202 * A comparator for the start value.203 */204 startOperator: MediaFeatureComparison,205 type: "interval",206 |};207/**208 * A media feature name.209 */210export type MediaFeatureNameFor_MediaFeatureId =211 | MediaFeatureId212 | String213 | String;214/**215 * A media query feature identifier.216 */217export type MediaFeatureId =218 | "width"219 | "height"220 | "aspect-ratio"221 | "orientation"222 | "overflow-block"223 | "overflow-inline"224 | "horizontal-viewport-segments"225 | "vertical-viewport-segments"226 | "display-mode"227 | "resolution"228 | "scan"229 | "grid"230 | "update"231 | "environment-blending"232 | "color"233 | "color-index"234 | "monochrome"235 | "color-gamut"236 | "dynamic-range"237 | "inverted-colors"238 | "pointer"239 | "hover"240 | "any-pointer"241 | "any-hover"242 | "nav-controls"243 | "video-color-gamut"244 | "video-dynamic-range"245 | "scripting"246 | "prefers-reduced-motion"247 | "prefers-reduced-transparency"248 | "prefers-contrast"249 | "forced-colors"250 | "prefers-color-scheme"251 | "prefers-reduced-data"252 | "device-width"253 | "device-height"254 | "device-aspect-ratio"255 | "-webkit-device-pixel-ratio"256 | "-moz-device-pixel-ratio";257/**258 * [media feature value](https://drafts.csswg.org/mediaqueries/#typedef-mf-value) within a media query.259 *260 * See [MediaFeature](MediaFeature).261 */262export type MediaFeatureValue =263 | {|264 type: "length",265 value: Length,266 |}267 | {|268 type: "number",269 value: number,270 |}271 | {|272 type: "integer",273 value: number,274 |}275 | {|276 type: "boolean",277 value: boolean,278 |}279 | {|280 type: "resolution",281 value: Resolution,282 |}283 | {|284 type: "ratio",285 value: Ratio,286 |}287 | {|288 type: "ident",289 value: String,290 |}291 | {|292 type: "env",293 value: EnvironmentVariable,294 |};295/**296 * A CSS [`<length>`](https://www.w3.org/TR/css-values-4/#lengths) value, with support for `calc()`.297 */298export type Length =299 | {|300 type: "value",301 value: LengthValue,302 |}303 | {|304 type: "calc",305 value: CalcFor_Length,306 |};307export type LengthUnit =308 | "px"309 | "in"310 | "cm"311 | "mm"312 | "q"313 | "pt"314 | "pc"315 | "em"316 | "rem"317 | "ex"318 | "rex"319 | "ch"320 | "rch"321 | "cap"322 | "rcap"323 | "ic"324 | "ric"325 | "lh"326 | "rlh"327 | "vw"328 | "lvw"329 | "svw"330 | "dvw"331 | "cqw"332 | "vh"333 | "lvh"334 | "svh"335 | "dvh"336 | "cqh"337 | "vi"338 | "svi"339 | "lvi"340 | "dvi"341 | "cqi"342 | "vb"343 | "svb"344 | "lvb"345 | "dvb"346 | "cqb"347 | "vmin"348 | "svmin"349 | "lvmin"350 | "dvmin"351 | "cqmin"352 | "vmax"353 | "svmax"354 | "lvmax"355 | "dvmax"356 | "cqmax";357/**358 * A mathematical expression used within the [`calc()`](https://www.w3.org/TR/css-values-4/#calc-func) function.359 *360 * This type supports generic value types. Values such as [Length](super::length::Length), [Percentage](super::percentage::Percentage), [Time](super::time::Time), and [Angle](super::angle::Angle) support `calc()` expressions.361 */362export type CalcFor_Length =363 | {|364 type: "value",365 value: Length,366 |}367 | {|368 type: "number",369 value: number,370 |}371 | {|372 type: "sum",373 374 /**375 * @minItems 2376 * @maxItems 2377 */378 value: [CalcFor_Length, CalcFor_Length],379 |}380 | {|381 type: "product",382 383 /**384 * @minItems 2385 * @maxItems 2386 */387 value: [number, CalcFor_Length],388 |}389 | {|390 type: "function",391 value: MathFunctionFor_Length,392 |};393/**394 * A CSS [math function](https://www.w3.org/TR/css-values-4/#math-function).395 *396 * Math functions may be used in most properties and values that accept numeric values, including lengths, percentages, angles, times, etc.397 */398export type MathFunctionFor_Length =399 | {|400 type: "calc",401 value: CalcFor_Length,402 |}403 | {|404 type: "min",405 value: CalcFor_Length[],406 |}407 | {|408 type: "max",409 value: CalcFor_Length[],410 |}411 | {|412 type: "clamp",413 414 /**415 * @minItems 3416 * @maxItems 3417 */418 value: [CalcFor_Length, CalcFor_Length, CalcFor_Length],419 |}420 | {|421 type: "round",422 423 /**424 * @minItems 3425 * @maxItems 3426 */427 value: [RoundingStrategy, CalcFor_Length, CalcFor_Length],428 |}429 | {|430 type: "rem",431 432 /**433 * @minItems 2434 * @maxItems 2435 */436 value: [CalcFor_Length, CalcFor_Length],437 |}438 | {|439 type: "mod",440 441 /**442 * @minItems 2443 * @maxItems 2444 */445 value: [CalcFor_Length, CalcFor_Length],446 |}447 | {|448 type: "abs",449 value: CalcFor_Length,450 |}451 | {|452 type: "sign",453 value: CalcFor_Length,454 |}455 | {|456 type: "hypot",457 value: CalcFor_Length[],458 |};459/**460 * A [rounding strategy](https://www.w3.org/TR/css-values-4/#typedef-rounding-strategy), as used in the `round()` function.461 */462export type RoundingStrategy = "nearest" | "up" | "down" | "to-zero";463/**464 * A CSS [`<resolution>`](https://www.w3.org/TR/css-values-4/#resolution) value.465 */466export type Resolution =467 | {|468 type: "dpi",469 value: number,470 |}471 | {|472 type: "dpcm",473 value: number,474 |}475 | {|476 type: "dppx",477 value: number,478 |};479/**480 * A CSS [`<ratio>`](https://www.w3.org/TR/css-values-4/#ratios) value, representing the ratio of two numeric values.481 * @minItems 2482 * @maxItems 2483 */484export type Ratio = [number, number];485/**486 * A raw CSS token, or a parsed value.487 */488export type TokenOrValue =489 | {|490 type: "token",491 value: Token,492 |}493 | {|494 type: "color",495 value: CssColor,496 |}497 | {|498 type: "unresolved-color",499 value: UnresolvedColor,500 |}501 | {|502 type: "url",503 value: Url,504 |}505 | {|506 type: "var",507 value: Variable,508 |}509 | {|510 type: "env",511 value: EnvironmentVariable,512 |}513 | {|514 type: "function",515 value: Function,516 |}517 | {|518 type: "length",519 value: LengthValue,520 |}521 | {|522 type: "angle",523 value: Angle,524 |}525 | {|526 type: "time",527 value: Time,528 |}529 | {|530 type: "resolution",531 value: Resolution,532 |}533 | {|534 type: "dashed-ident",535 value: String,536 |}537 | {|538 type: "animation-name",539 value: AnimationName,540 |};541/**542 * A raw CSS token.543 */544export type Token =545 | {|546 type: "ident",547 value: String,548 |}549 | {|550 type: "at-keyword",551 value: String,552 |}553 | {|554 type: "hash",555 value: String,556 |}557 | {|558 type: "id-hash",559 value: String,560 |}561 | {|562 type: "string",563 value: String,564 |}565 | {|566 type: "unquoted-url",567 value: String,568 |}569 | {|570 type: "delim",571 value: string,572 |}573 | {|574 type: "number",575 576 /**577 * The value as a float578 */579 value: number,580 |}581 | {|582 type: "percentage",583 584 /**585 * The value as a float, divided by 100 so that the nominal range is 0.0 to 1.0.586 */587 value: number,588 |}589 | {|590 type: "dimension",591 592 /**593 * The unit, e.g. "px" in `12px`594 */595 unit: String,596 597 /**598 * The value as a float599 */600 value: number,601 |}602 | {|603 type: "white-space",604 value: String,605 |}606 | {|607 type: "comment",608 value: String,609 |}610 | {|611 type: "colon",612 |}613 | {|614 type: "semicolon",615 |}616 | {|617 type: "comma",618 |}619 | {|620 type: "include-match",621 |}622 | {|623 type: "dash-match",624 |}625 | {|626 type: "prefix-match",627 |}628 | {|629 type: "suffix-match",630 |}631 | {|632 type: "substring-match",633 |}634 | {|635 type: "cdo",636 |}637 | {|638 type: "cdc",639 |}640 | {|641 type: "function",642 value: String,643 |}644 | {|645 type: "parenthesis-block",646 |}647 | {|648 type: "square-bracket-block",649 |}650 | {|651 type: "curly-bracket-block",652 |}653 | {|654 type: "bad-url",655 value: String,656 |}657 | {|658 type: "bad-string",659 value: String,660 |}661 | {|662 type: "close-parenthesis",663 |}664 | {|665 type: "close-square-bracket",666 |}667 | {|668 type: "close-curly-bracket",669 |};670/**671 * A CSS [`<color>`](https://www.w3.org/TR/css-color-4/#color-type) value.672 *673 * CSS supports many different color spaces to represent colors. The most common values are stored as RGBA using a single byte per component. Less common values are stored using a `Box` to reduce the amount of memory used per color.674 *675 * Each color space is represented as a struct that implements the `From` and `Into` traits for all other color spaces, so it is possible to convert between color spaces easily. In addition, colors support [interpolation](#method.interpolate) as in the `color-mix()` function.676 */677export type CssColor =678 | CurrentColor679 | RGBColor680 | LABColor681 | PredefinedColor682 | FloatColor683 | LightDark684 | SystemColor;685export type CurrentColor = {|686 type: "currentcolor",687|};688export type RGBColor = {|689 /**690 * The alpha component.691 */692 alpha: number,693 694 /**695 * The blue component.696 */697 b: number,698 699 /**700 * The green component.701 */702 g: number,703 704 /**705 * The red component.706 */707 r: number,708 type: "rgb",709|};710/**711 * A color in a LAB color space, including the `lab()`, `lch()`, `oklab()`, and `oklch()` functions.712 */713export type LABColor =714 | {|715 /**716 * The a component.717 */718 a: number,719 720 /**721 * The alpha component.722 */723 alpha: number,724 725 /**726 * The b component.727 */728 b: number,729 730 /**731 * The lightness component.732 */733 l: number,734 type: "lab",735 |}736 | {|737 /**738 * The alpha component.739 */740 alpha: number,741 742 /**743 * The chroma component.744 */745 c: number,746 747 /**748 * The hue component.749 */750 h: number,751 752 /**753 * The lightness component.754 */755 l: number,756 type: "lch",757 |}758 | {|759 /**760 * The a component.761 */762 a: number,763 764 /**765 * The alpha component.766 */767 alpha: number,768 769 /**770 * The b component.771 */772 b: number,773 774 /**775 * The lightness component.776 */777 l: number,778 type: "oklab",779 |}780 | {|781 /**782 * The alpha component.783 */784 alpha: number,785 786 /**787 * The chroma component.788 */789 c: number,790 791 /**792 * The hue component.793 */794 h: number,795 796 /**797 * The lightness component.798 */799 l: number,800 type: "oklch",801 |};802/**803 * A color in a predefined color space, e.g. `display-p3`.804 */805export type PredefinedColor =806 | {|807 /**808 * The alpha component.809 */810 alpha: number,811 812 /**813 * The blue component.814 */815 b: number,816 817 /**818 * The green component.819 */820 g: number,821 822 /**823 * The red component.824 */825 r: number,826 type: "srgb",827 |}828 | {|829 /**830 * The alpha component.831 */832 alpha: number,833 834 /**835 * The blue component.836 */837 b: number,838 839 /**840 * The green component.841 */842 g: number,843 844 /**845 * The red component.846 */847 r: number,848 type: "srgb-linear",849 |}850 | {|851 /**852 * The alpha component.853 */854 alpha: number,855 856 /**857 * The blue component.858 */859 b: number,860 861 /**862 * The green component.863 */864 g: number,865 866 /**867 * The red component.868 */869 r: number,870 type: "display-p3",871 |}872 | {|873 /**874 * The alpha component.875 */876 alpha: number,877 878 /**879 * The blue component.880 */881 b: number,882 883 /**884 * The green component.885 */886 g: number,887 888 /**889 * The red component.890 */891 r: number,892 type: "a98-rgb",893 |}894 | {|895 /**896 * The alpha component.897 */898 alpha: number,899 900 /**901 * The blue component.902 */903 b: number,904 905 /**906 * The green component.907 */908 g: number,909 910 /**911 * The red component.912 */913 r: number,914 type: "prophoto-rgb",915 |}916 | {|917 /**918 * The alpha component.919 */920 alpha: number,921 922 /**923 * The blue component.924 */925 b: number,926 927 /**928 * The green component.929 */930 g: number,931 932 /**933 * The red component.934 */935 r: number,936 type: "rec2020",937 |}938 | {|939 /**940 * The alpha component.941 */942 alpha: number,943 type: "xyz-d50",944 945 /**946 * The x component.947 */948 x: number,949 950 /**951 * The y component.952 */953 y: number,954 955 /**956 * The z component.957 */958 z: number,959 |}960 | {|961 /**962 * The alpha component.963 */964 alpha: number,965 type: "xyz-d65",966 967 /**968 * The x component.969 */970 x: number,971 972 /**973 * The y component.974 */975 y: number,976 977 /**978 * The z component.979 */980 z: number,981 |};982/**983 * A floating point representation of color types that are usually stored as RGBA. These are used when there are any `none` components, which are represented as NaN.984 */985export type FloatColor =986 | {|987 /**988 * The alpha component.989 */990 alpha: number,991 992 /**993 * The blue component.994 */995 b: number,996 997 /**998 * The green component.999 */1000 g: number,1001 1002 /**1003 * The red component.1004 */1005 r: number,1006 type: "rgb",1007 |}1008 | {|1009 /**1010 * The alpha component.1011 */1012 alpha: number,1013 1014 /**1015 * The hue component.1016 */1017 h: number,1018 1019 /**1020 * The lightness component.1021 */1022 l: number,1023 1024 /**1025 * The saturation component.1026 */1027 s: number,1028 type: "hsl",1029 |}1030 | {|1031 /**1032 * The alpha component.1033 */1034 alpha: number,1035 1036 /**1037 * The blackness component.1038 */1039 b: number,1040 1041 /**1042 * The hue component.1043 */1044 h: number,1045 type: "hwb",1046 1047 /**1048 * The whiteness component.1049 */1050 w: number,1051 |};1052export type LightDark = {|1053 dark: CssColor,1054 light: CssColor,1055 type: "light-dark",1056|};1057/**1058 * A CSS [system color](https://drafts.csswg.org/css-color/#css-system-colors) keyword.1059 */1060export type SystemColor =1061 | "accentcolor"1062 | "accentcolortext"1063 | "activetext"1064 | "buttonborder"1065 | "buttonface"1066 | "buttontext"1067 | "canvas"1068 | "canvastext"1069 | "field"1070 | "fieldtext"1071 | "graytext"1072 | "highlight"1073 | "highlighttext"1074 | "linktext"1075 | "mark"1076 | "marktext"1077 | "selecteditem"1078 | "selecteditemtext"1079 | "visitedtext"1080 | "activeborder"1081 | "activecaption"1082 | "appworkspace"1083 | "background"1084 | "buttonhighlight"1085 | "buttonshadow"1086 | "captiontext"1087 | "inactiveborder"1088 | "inactivecaption"1089 | "inactivecaptiontext"1090 | "infobackground"1091 | "infotext"1092 | "menu"1093 | "menutext"1094 | "scrollbar"1095 | "threeddarkshadow"1096 | "threedface"1097 | "threedhighlight"1098 | "threedlightshadow"1099 | "threedshadow"1100 | "window"1101 | "windowframe"1102 | "windowtext";1103/**1104 * A color value with an unresolved alpha value (e.g. a variable). These can be converted from the modern slash syntax to older comma syntax. This can only be done when the only unresolved component is the alpha since variables can resolve to multiple tokens.1105 */1106export type UnresolvedColor =1107 | {|1108 /**1109 * The unresolved alpha component.1110 */1111 alpha: TokenOrValue[],1112 1113 /**1114 * The blue component.1115 */1116 b: number,1117 1118 /**1119 * The green component.1120 */1121 g: number,1122 1123 /**1124 * The red component.1125 */1126 r: number,1127 type: "rgb",1128 |}1129 | {|1130 /**1131 * The unresolved alpha component.1132 */1133 alpha: TokenOrValue[],1134 1135 /**1136 * The hue component.1137 */1138 h: number,1139 1140 /**1141 * The lightness component.1142 */1143 l: number,1144 1145 /**1146 * The saturation component.1147 */1148 s: number,1149 type: "hsl",1150 |}1151 | {|1152 /**1153 * The dark value.1154 */1155 dark: TokenOrValue[],1156 1157 /**1158 * The light value.1159 */1160 light: TokenOrValue[],1161 type: "light-dark",1162 |};1163/**1164 * Defines where the class names referenced in the `composes` property are located.1165 *1166 * See [Composes](Composes).1167 */1168export type Specifier =1169 | {|1170 type: "global",1171 |}1172 | {|1173 type: "file",1174 value: String,1175 |}1176 | {|1177 type: "source-index",1178 value: number,1179 |};1180/**1181 * A CSS [`<angle>`](https://www.w3.org/TR/css-values-4/#angles) value.1182 *1183 * Angles may be explicit or computed by `calc()`, but are always stored and serialized as their computed value.1184 */1185export type Angle =1186 | {|1187 type: "deg",1188 value: number,1189 |}1190 | {|1191 type: "rad",1192 value: number,1193 |}1194 | {|1195 type: "grad",1196 value: number,1197 |}1198 | {|1199 type: "turn",1200 value: number,