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

Method equal_mparams

examples/llama-bench/llama-bench.cpp:356–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354 }
355
356 bool equal_mparams(const cmd_params_instance & other) const {
357 return model == other.model &&
358 n_gpu_layers == other.n_gpu_layers &&
359 main_gpu == other.main_gpu &&
360 tensor_split == other.tensor_split;
361 }
362
363 llama_context_params to_llama_cparams() const {
364 llama_context_params cparams = llama_context_default_params();

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected