]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : n_threads == -1 uses std::thread::hardware_concurrency() (#2347)
authorwzy <redacted>
Sun, 23 Jul 2023 13:33:02 +0000 (21:33 +0800)
committerGitHub <redacted>
Sun, 23 Jul 2023 13:33:02 +0000 (16:33 +0300)
commit57921ca6db53e08eb90010fba99add85be28b5a1
tree073f913817878e9b213e838791c174b9ffb20eb4
parent3602ac4255fd4cd589821346290b464a64b955d1
common : n_threads == -1 uses std::thread::hardware_concurrency() (#2347)

* Fix #2345, fix incorrect n_threads

* Update examples/common.cpp

---------

Co-authored-by: Georgi Gerganov <redacted>
examples/common.cpp