Skip to content
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

Is there a tutorial for customing operators? #330

Open
znsoftm opened this issue Jul 3, 2023 · 2 comments
Open

Is there a tutorial for customing operators? #330

znsoftm opened this issue Jul 3, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@znsoftm
Copy link

znsoftm commented Jul 3, 2023

Need a crash course for customing GGML.

@ggerganov ggerganov added the good first issue Good for newcomers label Jul 4, 2023
@monatis
Copy link
Contributor

monatis commented Jul 4, 2023

Are we talking about some kind of a contributing guide, a guide for potential contributors, here? If so I think I can draft one.

  • ggml_tensor in short.
  • Memory layout.
  • User-facing API for unary and binary ops.
  • ggml_compute_* delegates.
  • ggml_vec_* primitives for vectorized calculations.
  • Preferred coding style.
  • And links to TODOs / expected changes from the roadmap where relevant.

@znsoftm
Copy link
Author

znsoftm commented Jul 5, 2023

Well done! Expecting next one who...

CCLDArjun pushed a commit to CCLDArjun/ggml that referenced this issue Dec 18, 2023
…) (ggerganov#330)

* Check for reverse prompt by characters instead of tokens (ggerganov#292)

* Update main.cpp

Wording.

* Cleanup.

* Remove unnecessary use of std::stringstream.

---------

Co-authored-by: Johnman <tjohnman@github>
Co-authored-by: Georgi Gerganov <[email protected]>
CCLDArjun pushed a commit to CCLDArjun/ggml that referenced this issue Dec 18, 2023
…) (ggerganov#330)

* Check for reverse prompt by characters instead of tokens (ggerganov#292)

* Update main.cpp

Wording.

* Cleanup.

* Remove unnecessary use of std::stringstream.

---------

Co-authored-by: Johnman <tjohnman@github>
Co-authored-by: Georgi Gerganov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants