Skip to content

Commit 5565614

Browse files
authored
build: fix CI config (#483)
* build: update CUDA version in the CI * fix: add missing GGUF types
1 parent a2ddaa2 commit 5565614

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
if: matrix.config.name == 'Windows for x64'
114114
uses: Jimver/cuda-toolkit@v0.2.15
115115
with:
116-
cuda: '12.2.0'
116+
cuda: '12.4.0'
117117
method: 'network'
118118
sub-packages: '["nvcc", "cudart", "cublas", "cublas_dev", "thrust", "visual_studio_integration"]'
119119
use-local-cache: false
@@ -122,7 +122,7 @@ jobs:
122122
if: matrix.config.name == 'Ubuntu'
123123
uses: Jimver/cuda-toolkit@v0.2.15
124124
with:
125-
cuda: '12.2.0'
125+
cuda: '12.4.0'
126126
method: 'network'
127127

128128
- name: Install Vulkan SDK on Windows for x64

src/gguf/types/GgufMetadataTypes.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const enum GgufArchitectureType {
3535
gemma = "gemma",
3636
gemma2 = "gemma2",
3737
gemma3 = "gemma3",
38+
gemma3n = "gemma3n",
3839
starcoder2 = "starcoder2",
3940
mamba = "mamba",
4041
xverse = "xverse",
@@ -56,6 +57,7 @@ export const enum GgufArchitectureType {
5657
jais = "jais",
5758
nemotron = "nemotron",
5859
exaone = "exaone",
60+
exaone4 = "exaone4",
5961
rwkv6 = "rwkv6",
6062
rwkv6qwen2 = "rwkv6qwen2",
6163
rwkv7 = "rwkv7",
@@ -66,6 +68,10 @@ export const enum GgufArchitectureType {
6668
wavtokenizerDec = "wavtokenizer-dec",
6769
plm = "plm",
6870
bailingmoe = "bailingmoe",
71+
dots1 = "dots1",
72+
arcee = "arcee",
73+
ernie4_5 = "ernie4_5",
74+
clip = "clip",
6975
unknown = "(unknown)"
7076
}
7177

@@ -244,8 +250,8 @@ export type GgufMetadataTokenizer = {
244250
readonly pre?: "default" | "llama3" | "llama-v3" | "llama-bpe" | "deepseek-llm" | "deepseek-coder" | "falcon" | "falcon3" |
245251
"pixtral" | "mpt" | "starcoder" | "gpt-2" | "phi-2" | "jina-es" | "jina-de" | "jina-v1-en" | "jina-v2-es" | "jina-v2-de" |
246252
"jina-v2-code" | "refact" | "command-r" | "qwen2" | "stablelm2" | "olmo" | "dbrx" | "smaug-bpe" | "poro-chat" | "chatglm-bpe" |
247-
"viking" | "jais" | "tekken" | "smollm" | "codeshell" | "bloom" | "gpt3-finnish" | "exaone" | "chameleon" | "minerva-7b" |
248-
"megrez" | "gpt-4o" | "superbpe" | "trillion" | "bailingmoe" | string,
253+
"viking" | "jais" | "tekken" | "smollm" | "codeshell" | "bloom" | "gpt3-finnish" | "exaone" | "exaone4" | "chameleon" |
254+
"minerva-7b" | "megrez" | "gpt-4o" | "superbpe" | "trillion" | "bailingmoe" | string,
249255
readonly tokens: readonly string[],
250256
readonly token_type: GgufMetadataTokenizerTokenType[],
251257
readonly token_type_count?: number,

0 commit comments

Comments
 (0)