interplane.Get Omega
Read in your language

ggml

[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)

Brought by drakestapleton

branch master Branches Tags History

ggml / examples / common-ggml.h

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