Skip to content

Conversation

p-debski2
Copy link
Contributor

Summary

  • imported GGML functions into nntr_ggml_impl directory and used those instead of the actual GGML in the ggml_interface functions
  • removed GGML includes from ggml_interface

Signed-off-by: p-debski2 [email protected]

@p-debski2 p-debski2 force-pushed the work/ggml-integration branch 2 times, most recently from 7807ab8 to a92ffb3 Compare August 25, 2025 09:34
Moved quantize functions from GGML to nntrainer

Signed-off-by: p-debski2 <[email protected]>
Added q8_0 row quantization, and multiple dequantization functions

Signed-off-by: p-debski2 <[email protected]>
Added includes for intrinsic functions

Signed-off-by: p-debski2 <[email protected]>
Moved nntr_ggml_impl to a separate directory and added a shared header with structure definitions

Signed-off-by: p-debski2 <[email protected]>
Added some util macros and functions to fix building on Linux

Signed-off-by: p-debski2 <[email protected]>
Moved more ggml functions and removed the includes from interface files so that they use only the nntr_ggml implementaion

Signed-off-by: p-debski2 <[email protected]>
Added more GGML type definitions for AVX operations

Signed-off-by: p-debski2 <[email protected]>
Removed ggml includes, renamed some functions, moved some declerations to common nntr_ggml_impl headers

Signed-off-by: p-debski2 <[email protected]>
Added a define guard to stop function redefinition

Signed-off-by: p-debski2 <[email protected]>
@p-debski2 p-debski2 force-pushed the work/ggml-integration branch from a92ffb3 to 79ca32f Compare August 25, 2025 14:49
Added some comments for generating docs on helper GGML structures

Signed-off-by: p-debski2 <[email protected]>
@jijoongmoon
Copy link
Collaborator

I think it is OK to include the code to remove the ggml submodule.

Removed ggml from meson & tizen specification, leaving the submodule for now

Signed-off-by: p-debski2 <[email protected]>
Deleted ggml as a dependency from the project

Signed-off-by: p-debski2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants