Skip to content

Commit 481f7a6

Browse files
committed
warn about unsupported arch
1 parent 87d852b commit 481f7a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

expose.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,14 @@ extern "C"
174174
{
175175
printf("\n---\nIdentified as RWKV model: (ver %d)\nAttempting to Load...\n---\n", file_format);
176176
}
177-
else
177+
else if(file_format==FileFormat::GGUF_GENERIC)
178178
{
179179
printf("\n---\nIdentified as GGUF model: (ver %d)\nAttempting to Load...\n---\n", file_format);
180180
}
181+
else
182+
{
183+
printf("\n---\nUnidentified Model Encountered: (ver %d)\n---\n", file_format);
184+
}
181185
ModelLoadResult lr = gpttype_load_model(inputs, file_format, file_format_meta);
182186
if (lr == ModelLoadResult::FAIL || lr == ModelLoadResult::RETRY_LOAD)
183187
{

0 commit comments

Comments
 (0)