MCPcopy Create free account
hub / github.com/antirez/ds4 / parse_shape

Function parse_shape

gguf-tools/deepseek4-quantize.c:437–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435 fprintf(stderr, "error: unsupported vision_n_layers in %s: %" PRId64 "\n",
436 path, count_layers);
437 exit(1);
438 }
439 m.vision_exp = true;
440 if (!source_revision || strcmp(source_revision, DS4_VISION_EXP_SOURCE_REVISION) != 0) {
441 fprintf(stderr,
442 "error: Vision-Exp conversion requires --source-revision %s\n",
443 DS4_VISION_EXP_SOURCE_REVISION);
444 exit(1);
445 }
446 }
447 if (source_revision) m.source_revision = xstrdup(source_revision);
448
449 json_free(&d);
450 free(text);
451 free(path);

Callers 1

shard_loadFunction · 0.85

Calls 3

json_skipFunction · 0.85
json_i64Function · 0.85
dieFunction · 0.70

Tested by

no test coverage detected