Skip to content

Fix: Fix outdated code for node access in introduction-to-ggml.md blog post #2778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Prithvi-R
Copy link
Contributor

@Prithvi-R Prithvi-R commented Mar 31, 2025

Update backend code to use ggml_graph_node instead of direct node access

Replaced gf->nodes[gf->n_nodes - 1] with ggml_graph_node(gf, ggml_graph_n_nodes(gf) - 1) in introduction-to-ggml.md to align with the new use of gf as an opaque pointer.

Update backend code to use ggml_graph_node instead of direct node access

Replaced gf->nodes[gf->n_nodes - 1] with ggml_graph_node(gf, ggml_graph_n_nodes(gf) - 1) 
in introduction-to-ggml.md to align with the new use of gf as an opaque pointer.
@Prithvi-R Prithvi-R marked this pull request as draft March 31, 2025 10:52
@Prithvi-R Prithvi-R marked this pull request as ready for review March 31, 2025 10:53
@Prithvi-R Prithvi-R closed this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant