@@ -611,12 +611,12 @@ static int llama_graph_n_input_tensors(ggml_cgraph * gf) {
611611 LLAMA_LOG_WARN (" %s: input tensor '%32s' has op %s, expected GGML_OP_NONE\n " ,
612612 __func__, tensor->name , ggml_op_name (tensor->op ));
613613 }
614- for (const ggml_tensor * node : nodes) {
615- LLAMA_LOG_DEBUG (" %s: input tensor '%32s' [%s, ne = { %5" PRId64 " , %5" PRId64 " , %5" PRId64 " , %5" PRId64 " }] is used by node '%s' (%s)\n " ,
616- __func__, tensor->name , ggml_type_name (tensor->type ),
617- tensor->ne [0 ], tensor->ne [1 ], tensor->ne [2 ], tensor->ne [3 ],
618- node->name , ggml_op_name (node->op ));
619- }
614+ // for (const ggml_tensor * node : nodes) {
615+ // LLAMA_LOG_DEBUG("%s: input tensor '%32s' [%s, ne = { %5" PRId64 ", %5" PRId64 ", %5" PRId64 ", %5" PRId64 " }] is used by node '%s' (%s)\n",
616+ // __func__, tensor->name, ggml_type_name(tensor->type),
617+ // tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3],
618+ // node->name, ggml_op_name(node->op));
619+ // }
620620 }
621621
622622 return (int ) users.size ();
@@ -653,7 +653,7 @@ void llama_context::sched_reserve() {
653653 if (memory) { // added by kcpp to reduce embeddings memory usage
654654 llama_memory_context_ptr mctx;
655655 if (memory) {
656- LLAMA_LOG_DEBUG (" %s: reserving full memory module\n " , __func__);
656+ // LLAMA_LOG_DEBUG("%s: reserving full memory module\n", __func__);
657657 mctx = memory->init_full ();
658658 if (!mctx) {
659659 throw std::runtime_error (" failed to initialize memory module" );
@@ -663,7 +663,7 @@ void llama_context::sched_reserve() {
663663 // avoid reserving graphs with zero outputs - assume one output per sequence
664664 const int n_outputs = n_seqs;
665665
666- LLAMA_LOG_DEBUG (" %s: worst-case: n_tokens = %d, n_seqs = %d, n_outputs = %d\n " , __func__, n_tokens, n_seqs, n_outputs);
666+ // LLAMA_LOG_DEBUG("%s: worst-case: n_tokens = %d, n_seqs = %d, n_outputs = %d\n", __func__, n_tokens, n_seqs, n_outputs);
667667
668668 resolve_fused_ops (mctx.get (), n_seqs);
669669
0 commit comments