MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / lora_all_alora

Function lora_all_alora

tools/server/server-common.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101//
102
103bool lora_all_alora(const std::vector<common_adapter_lora_info> & loras) {
104 bool found_alora = false;
105 for (const auto & lora : loras) {
106 if (lora.scale != 0) {
107 if (llama_adapter_get_alora_n_invocation_tokens(lora.ptr) == 0) {
108 return false;
109 }
110 found_alora = true;
111 }
112 }
113 return found_alora;
114}
115
116bool lora_should_clear_cache(
117 const std::vector<common_adapter_lora_info> & current,

Callers 3

launch_slot_with_taskMethod · 0.85
update_slotsMethod · 0.85
lora_should_clear_cacheFunction · 0.85

Tested by

no test coverage detected