-
Notifications
You must be signed in to change notification settings - Fork 10k
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
ggml : hide ggml_object, ggml_cgraph, ggml_hash_set #9408
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
testing
Everything test related
examples
ggml
changes relating to the ggml tensor library for machine learning
labels
Sep 10, 2024
github-actions
bot
added
Vulkan
Issues specific to the Vulkan backend
SYCL
https://en.wikipedia.org/wiki/SYCL - GPU programming language
Kompute
https://github.com/KomputeProject/kompute/
labels
Sep 11, 2024
ggerganov
force-pushed
the
gg/ggml-hide-structs
branch
from
September 11, 2024 08:34
fec54b5
to
28aa818
Compare
ggerganov
changed the title
ggml : hide ggml_object, ggml_cgraph, ggml_hash_set
ggml : hide struct + rework ggml_cgraph
Sep 11, 2024
ggerganov
changed the title
ggml : hide struct + rework ggml_cgraph
ggml : hide structs + rework ggml_cgraph
Sep 11, 2024
ggerganov
force-pushed
the
gg/ggml-hide-structs
branch
from
September 11, 2024 08:50
28aa818
to
db647be
Compare
ggml-ci
ggerganov
force-pushed
the
gg/ggml-hide-structs
branch
from
September 11, 2024 10:04
db647be
to
ee15445
Compare
ggerganov
changed the title
ggml : hide structs + rework ggml_cgraph
ggml : hide ggml_object, ggml_cgraph, ggml_hash_set
Sep 11, 2024
slaren
approved these changes
Sep 11, 2024
ggml/src/ggml.c
Outdated
Comment on lines
19204
to
19207
void ggml_graph_add_node(struct ggml_cgraph * cgraph, struct ggml_tensor * tensor) { | ||
cgraph->nodes[cgraph->n_nodes] = tensor; | ||
cgraph->n_nodes++; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GGML_ASSERT(cgraph->size > cgraph->n_nodes)
ggerganov
added
the
merge ready
indicates that this may be ready to merge soon and is just holding out in case of objections
label
Sep 12, 2024
dsx1986
pushed a commit
to dsx1986/llama.cpp
that referenced
this pull request
Oct 29, 2024
* ggml : hide ggml_object, ggml_cgraph, ggml_hash_set ggml-ci * ggml : add ggml-impl.h to backends * ggml : fix compiler warnings ggml-ci * ggml : add assert upon adding nodes
arthw
pushed a commit
to arthw/llama.cpp
that referenced
this pull request
Nov 15, 2024
* ggml : hide ggml_object, ggml_cgraph, ggml_hash_set ggml-ci * ggml : add ggml-impl.h to backends * ggml : fix compiler warnings ggml-ci * ggml : add assert upon adding nodes
arthw
pushed a commit
to arthw/llama.cpp
that referenced
this pull request
Nov 18, 2024
* ggml : hide ggml_object, ggml_cgraph, ggml_hash_set ggml-ci * ggml : add ggml-impl.h to backends * ggml : fix compiler warnings ggml-ci * ggml : add assert upon adding nodes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
examples
ggml
changes relating to the ggml tensor library for machine learning
Kompute
https://github.com/KomputeProject/kompute/
merge ready
indicates that this may be ready to merge soon and is just holding out in case of objections
SYCL
https://en.wikipedia.org/wiki/SYCL - GPU programming language
testing
Everything test related
Vulkan
Issues specific to the Vulkan backend
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hide some
ggml
structs from the public APIFurther changes in a similar spirit are in a separate PR: #9431