MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / n_devices

Method n_devices

smallthinker/src/llama-model.cpp:4538–4540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4536}
4537
4538size_t llama_model::n_devices() const {
4539 return devices.size();
4540}
4541
4542uint64_t llama_model::n_elements() const {
4543 return pimpl->n_elements;

Callers 1

llama_contextMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected