aboutsummaryrefslogtreecommitdiff
path: root/examples/quantize-stats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quantize-stats')
-rw-r--r--examples/quantize-stats/quantize-stats.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quantize-stats/quantize-stats.cpp b/examples/quantize-stats/quantize-stats.cpp
index 6e4f7e1..6b8018e 100644
--- a/examples/quantize-stats/quantize-stats.cpp
+++ b/examples/quantize-stats/quantize-stats.cpp
@@ -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;