build : fix and ignore MSVC warnings (#1889)
This commit is contained in:
1 parent
3d01122610
commit
9cbf50c041
16 files changed
+88
-37
No files matched your search
@@ -19,6 +19,10 @@
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4244 4267) // possible loss of data
|
||||
#endif
|
||||
|
||||
struct quantize_stats_params {
|
||||
std::string model = "models/7B/ggml-model-f16.bin";
|
||||
bool verbose = false;
|
||||
|
||||
Reference in new issue
Block a user