Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4538
size_t llama_model::n_devices() const {
4539
return devices.size();
4540
}
4541
4542
uint64_t llama_model::n_elements() const {
4543
return pimpl->n_elements;
Callers
1
llama_context
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected