| 268 | } |
| 269 | |
| 270 | void dump_row(const Group& g, const char* who, int idx, uint64_t in, const void* out, size_t n) { |
| 271 | if (g.key == g_dump_key) std::printf("ROW %s %s %d %s %s\n", g.key.c_str(), who, idx, hex64(in).c_str(), hex_bytes(out, n).c_str()); |
| 272 | } |
| 273 | |
| 274 | // weights of `type`, `nrows` rows of n elements, quantized by ggml from gaussian floats of scale `amp` |
| 275 | std::vector<uint8_t> make_rows(ggml_type type, int n, int nrows, Rng& r, float amp) { |
no test coverage detected