File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ struct ggml_backend_cann_context {
370370 aclrtEvent copy_event = nullptr ; /* *< Event for managing copy operations. */
371371#ifdef USE_ACL_GRAPH
372372 // / Cached CANN ACL graph used for executing the current ggml computation graph.
373- std::unique_ptr<ggml_cann_graph> cann_graph;
373+ std::unique_ptr<ggml_cann_graph> cann_graph;
374374#endif
375375 cann_task_queue task_queue;
376376 bool async_mode;
@@ -390,7 +390,7 @@ struct ggml_backend_cann_context {
390390 async_mode = parse_bool (get_env (" GGML_CANN_ASYNC_MODE" ).value_or (" " ));
391391 GGML_LOG_INFO (" %s: device %d async operator submission is %s\n " , __func__,
392392 device, async_mode ? " ON" : " OFF" );
393-
393+
394394 support_set_rows = parse_bool (get_env (" LLAMA_SET_ROWS" ).value_or (" " ));
395395 GGML_LOG_INFO (" %s: LLAMA_SET_ROWS is %s\n " , __func__, support_set_rows ? " ON" : " OFF" );
396396
Original file line number Diff line number Diff line change @@ -2260,7 +2260,7 @@ static enum ggml_status ggml_backend_cann_graph_compute(
22602260 if (cann_ctx->cann_graph == nullptr ) {
22612261 cann_ctx->cann_graph .reset (new ggml_cann_graph ());
22622262 cann_graph_update_required = true ;
2263- }
2263+ }
22642264
22652265 cann_graph_update_required = is_cann_graph_update_required (cann_ctx, cgraph);
22662266 set_ggml_graph_node_properties (cann_ctx, cgraph);
You can’t perform that action at this time.
0 commit comments