MCPcopy Create free account
hub / github.com/Niko1221/Strata / file_name

Function file_name

engine/src/core/weights.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68};
69
70const char* file_name(int id) {
71 switch (id) {
72 case 0: return "dense.bin";
73 case 1: return "embd.bin";
74 case 2: return "experts.bin";
75 case 3: return "extra.bin"; // plan v0.3 P6: a native pack's float tensors that the base pack quantized
76 default: return nullptr;
77 }
78}
79
80/// UTF-16 path for CreateFile-free portability: the loader uses `std::fopen`, which on Windows takes an ANSI
81/// path. The pack lives beside the executable in practice, but a pack under a user directory with a

Callers 3

read_bf16_hostMethod · 0.70
loadMethod · 0.70
load_hc_q8Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected