LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.99k stars 349 forks source link

Resolve compilation error from otherarch/sdcpp/util.cpp #735

Closed beebopkim closed 6 months ago

beebopkim commented 7 months ago

This PR resolves following compilation error. I changed orders of some log related functions, variables, and define macro in util.cpp.

./otherarch/sdcpp/util.cpp:214:9: error: use of undeclared identifier 'do_log'
    if(!do_log)
        ^
LostRuins commented 6 months ago

Thanks, but i've fixed it already in the latest commit. Appreciate though.