Skip to content

Conversation

@rauletorresc
Copy link
Contributor

Description of the problem

  • matched_graph is obtained even if graph mode is disabled.
  • End of graph capture and graph replay are unnecessarily placed in different if blocks.

Proposed solution

  • Obtain matched_graph only if graph mode is enabled.
  • Place end of graph capture and graph replay inside the same if block.
  • Unify graph related comments style.

**Description of the problem**

* `matched_graph` is obtained even if graph mode is disabled.
* End of graph capture and graph replay are unnecessarily placed in different `if` blocks.

**Proposed solution**

* Obtain `matched_graph` only if graph mode is enabled.
* Place end of graph capture and graph reply inside the same `if` block.
* Unify graph related comments.
@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning Ascend NPU issues specific to Ascend NPUs labels Nov 18, 2025
@hipudding
Copy link
Collaborator

Thanks for your contribution.

@hipudding
Copy link
Collaborator

Please remove Trailing whitespace.

@noemotiovon
Copy link
Collaborator

LGTM, thanks for your contribution. The architecture of the capture graph looks more reasonable now!

@rauletorresc
Copy link
Contributor Author

Please remove Trailing whitespace.

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ascend NPU issues specific to Ascend NPUs ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants