MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / cdiv

Function cdiv

src/model.cpp:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16using json = nlohmann::json;
17
18int cdiv(int a, int b) {
19 return (a + b - 1) / b;
20}
21
22void Config::from_yalm(YALMData& yalm, int context) {
23 dim = std::stoi(yalm.metadata.at("dim").get<std::string>());

Callers 6

_matmulFunction · 0.85
matmul_expertFunction · 0.85
BlockMethod · 0.85
BlockMHAMethod · 0.85
BlockMLAMethod · 0.85
ModelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected