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

Function live_diff

engine/tests/quant/quant_parity.cpp:151–155  ·  view source on GitHub ↗

leg 2: a row where the linked ggml and ours differ

Source from the content-addressed store, hash-verified

149
150// leg 2: a row where the linked ggml and ours differ
151void live_diff(const char* what, const std::string& detail) {
152 ++g_live_diff;
153 if (g_live_strict) fail(what, detail);
154 else if (g_live_diff <= 10) std::printf("live: %s: %s\n", what, detail.c_str());
155}
156
157std::string hex_bytes(const void* p, size_t n) {
158 static const char* d = "0123456789abcdef";

Callers 5

test_dotFunction · 0.85
test_actFunction · 0.85
test_dequantFunction · 0.85
test_boundaryFunction · 0.85
test_fp16Function · 0.85

Calls 1

failFunction · 0.70

Tested by

no test coverage detected