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

Method check_vram_allocable

llama.cpp:2816–2818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2814 }
2815
2816 bool check_vram_allocable(size_t vram_budget) {
2817 return vram_budget >= vram_required;
2818 }
2819
2820 int load_gpu_idx_for_model(llama_model * model) {
2821 int n_layers = model->layers.size();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected