char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Xuan-Son Nguyenmtmd: use sha256 for input hashing (#27274)ed1c3a20f

char/aliceai-t5-moe
216 B9 linesraw
1#pragma once
2
3// C++ wrapper for the vendored hash functions
4
5#include <cstddef>
6#include <string>
7
8// returns the SHA-256 digest as a lowercase hex string
9std::string hash_sha256_hex(const void * data, size_t len);