Johannes Gäßler
424c5d00a9
ggml/examples: add backend support for numerical optimization (ggml/949)
* CUDA eval works
* stochastic gradient descent op
* Adam except decay
* CUDA CROSS_ENTROPY_LOSS_BACK
* CUDA mnist-fc training works
* backend CLI arg
* refactor gguf load
* remove sched from opt_step_adam
* implement l1 regularization (weight decay)
* extra call to add optimizer
* initialize gradients with ggml_graph_reset
* gradient accumulation
* increment iter per eval instead of epoch
* adjust backend interfaces
* fix ggml_graph_reset without backend
* fix ggml graph export/import
* fixup
* rename
* revert ggml_opt changes
* more general CUDA repeat_back
* update documentation, fix CNN
* validation split
* add clarifying comment
* optimize PyTorch training
* adjust buffer size, thread count
* fix 0.0f validation split
* Update examples/mnist/mnist-common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
* fix gradient accumulation
* tensor flag for accumulators -> tensor hash set
* Update include/ggml.h
Co-authored-by: slaren <slarengh@gmail.com>
* Update tests/test-backend-ops.cpp
Co-authored-by: slaren <slarengh@gmail.com>
* Update tests/test-backend-ops.cpp
Co-authored-by: slaren <slarengh@gmail.com>
* fix test prints
* Update src/ggml-backend.c
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
* better CUDA support for noncontiguous out_prod
* add comment
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: slaren <slarengh@gmail.com>
2024-09-20 21:15:05 +03:00
..
2024-03-09 14:17:11 +02:00
2024-09-17 11:19:46 +03:00
2024-01-26 14:18:00 +02:00
2024-01-26 14:18:00 +02:00
2024-03-21 11:50:43 +00:00
2024-09-15 20:46:12 +03:00
2024-02-16 11:31:07 +02:00
2024-09-20 21:15:05 +03:00
2024-09-17 11:19:46 +03:00
2024-01-29 15:50:50 -05:00
2024-07-25 18:58:04 +03:00
2024-07-12 10:46:02 +03:00
2024-09-20 21:15:05 +03:00
2024-09-07 15:16:19 +03:00
2024-09-07 15:16:19 +03:00
2024-09-07 15:16:19 +03:00
2024-09-07 15:16:19 +03:00
2024-09-15 20:46:12 +03:00
2024-08-23 12:58:53 +02:00
2024-02-16 11:31:07 +02:00
2024-02-25 12:09:09 +02:00
2024-09-05 21:48:47 -04:00
2024-07-12 10:46:02 +03:00
2024-08-30 01:20:53 +02:00
2024-09-09 17:10:46 +02:00
2024-07-13 23:35:10 -04:00
2024-05-05 08:07:48 +03:00
2024-05-28 15:04:09 +03:00
2024-07-05 19:01:35 +02:00
2024-07-05 19:01:35 +02:00
2024-07-13 23:35:10 -04:00