common-ggml.h 410 B

123456789101112131415161718
  1. #pragma once
  2. #include "ggml.h"
  3. #include <fstream>
  4. #include <vector>
  5. #include <string>
  6. enum ggml_ftype ggml_parse_ftype(const char * str);
  7. void ggml_print_ftypes(FILE * fp = stderr);
  8. bool ggml_common_quantize_0(
  9. std::ifstream & finp,
  10. std::ofstream & fout,
  11. const ggml_ftype ftype,
  12. const std::vector<std::string> & to_quant,
  13. const std::vector<std::string> & to_skip);