"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "4e0b32b5052275829f254d81d7ceb38a06e64ad1"
  • Zakor Gyula's avatar
    Fix Round operator inaccuracy (#2244) · 48c4453c
    Zakor Gyula authored
    The inaccuracy was caused by ONNX round requires nearest integer rounding for halway (0.5) cases.
    std::round rounds away from zero, thus giving wrong results with halfway cases.
    Replaced std::round with std::nearbyint which uses the correct rounding by default.
    48c4453c
rewrite_quantization.cpp 4.39 KB