| 1857 | }; |
| 1858 | |
| 1859 | static const char * llama_file_version_name(llama_fver version) { |
| 1860 | switch (version) { |
| 1861 | case GGUF_FILE_VERSION_V1: return "GGUF V1 (support until nov 2023)"; |
| 1862 | case GGUF_FILE_VERSION_V2: return "GGUF V2"; |
| 1863 | case GGUF_FILE_VERSION_V3: return "GGUF V3 (latest)"; |
| 1864 | } |
| 1865 | |
| 1866 | return "unknown"; |
| 1867 | } |
| 1868 | |
| 1869 | static std::string llama_format_tensor_shape(const std::vector<int64_t> & ne) { |
| 1870 | char buf[256]; |
no outgoing calls
no test coverage detected