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

Function weights_model_map_token_spans

ds4.c:4418–4425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4416 fprintf(stderr,
4417 "ds4: tensor %.*s has type %s, expected f16 or q8_0\n",
4418 (int)t->name.len,
4419 t->name.ptr,
4420 tensor_type_name(t->type));
4421 exit(1);
4422 }
4423 tensor_expect_layout(t, t->type, ndim, d0, d1, d2);
4424}
4425
4426static bool tensor_is_routed_expert_type(uint32_t type) {
4427 return type == DS4_TENSOR_Q8_0 ||
4428 type == DS4_TENSOR_IQ2_XXS ||

Callers 2

ds4_engine_openFunction · 0.85

Calls 2

Tested by

no test coverage detected