Skip to content

Commit 1f49e2a

Browse files
author
Mishig
authored
[gguf] rename QUANT_DESCRIPTIONS -> GGUF_QUANT_DESCRIPTIONS (#618)
[gguf] rename QUANT_DESCRIPTIONS -> GGUF_QUANT_DESCRIPTIONS follow up to #615
1 parent d8af7c8 commit 1f49e2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/gguf/src/gguf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { GGUFValueType } from "./types";
33

44
export type { MetadataBaseValue, MetadataValue, Version, GGUFMetadata, GGUFTensorInfo, GGUFParseOutput } from "./types";
55
export { GGUFValueType, GGMLQuantizationType } from "./types";
6-
export { QUANT_DESCRIPTIONS } from "./quant-descriptions";
6+
export { GGUF_QUANT_DESCRIPTIONS as QUANT_DESCRIPTIONS } from "./quant-descriptions";
77

88
export const RE_GGUF_FILE = /\.gguf$/;
99
export const RE_GGUF_SHARD_FILE = /-(\d{5})-of-(\d{5})\.gguf$/;

packages/gguf/src/quant-descriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GGMLQuantizationType } from "./types";
22

3-
export const QUANT_DESCRIPTIONS: Record<GGMLQuantizationType, { txt: string; src_url?: string }> = {
3+
export const GGUF_QUANT_DESCRIPTIONS: Record<GGMLQuantizationType, { txt: string; src_url?: string }> = {
44
[GGMLQuantizationType.F32]: {
55
txt: "32-bit standard IEEE 754 single-precision floating-point number.",
66
src_url: "https://en.wikipedia.org/wiki/Single-precision_floating-point_format",

0 commit comments

Comments
 (0)