]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : use dynamic thread scheduling for matrix multiplication (llama/6915)
authorkunnis <redacted>
Wed, 15 May 2024 17:59:12 +0000 (12:59 -0500)
committerGeorgi Gerganov <redacted>
Tue, 28 May 2024 11:41:08 +0000 (14:41 +0300)
commit08836a14fcaabf6be485ede1eaa14ce7dbb29600
tree616b5575d9fedbe462ed7f3a97784f7969b27696
parented040d5b1daf9b1a3fd06529e70e6ab810bd7fbf
ggml : use dynamic thread scheduling for matrix multiplication (llama/6915)

* Just reordering some structs.

* Adding in the calls to mm_pause

* Passing around the state

* Renaming and moving a bunch of variables around.

* Extracting the logic to it's own function.

* Moving some variable definitions into the chunk function.

* Moving some variables around

* moving src1_cont inside

* Moving row_size

* adding the current_chunk

* Reorg the code.

* Formatting to match the orig patch

* starting to setup the chunking variables

* Starting the buildup of the loop

* The yield shouldn't be necessary.

* adding the looping structure based on the chunk configuration.

* Add in the re-chunking code.

* Making it much more likely to rechunk.

* disable resizing if numa is enabled.

* Updating comments with what we've learned.

* Fix formatting

* Couple more formatting fixes.

* More style fixes.

* Fix Warnings

* Going with unused because there's conditional logic that needs it.

* Update ggml.c

* Update ggml.c

---------
src/ggml.c