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-07-20 22:25:26 +02:00
2024-09-11 03:46:55 +02:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-27 04:41:55 +02:00
2024-06-26 18:33:02 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-29 14:56:12 +02:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-08 12:23:00 +03:00
2024-07-08 12:23:00 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-09-05 11:13:11 +02:00
2024-06-26 18:33:02 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-08-01 15:26:22 +02:00
2024-08-01 15:26:22 +02:00
2024-08-24 21:34:59 +02:00
2024-08-24 21:34:59 +02:00
2024-06-26 18:33:02 +03:00
2024-08-24 21:34:59 +02:00
2024-06-26 18:33:02 +03:00
2024-08-24 21:34:59 +02:00
2024-08-24 21:34:59 +02:00
2024-08-24 21:34:59 +02:00
2024-09-08 22:01:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-27 04:41:55 +02:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-11 16:47:47 +02:00
2024-09-11 10:22:40 +02:00
2024-09-11 10:22:40 +02:00
2024-07-27 04:41:55 +02:00
2024-06-26 18:33:02 +03:00
2024-08-06 10:26:46 +03:00
2024-06-26 18:33:02 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-27 04:41:55 +02:00
2024-07-11 16:47:47 +02:00
2024-08-13 21:13:15 +02:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-09-20 18:35:35 +02:00
2024-09-08 11:05:55 +03:00
2024-08-27 22:41:27 +03:00
2024-08-27 22:41:27 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-09-20 21:15:05 +03:00
2024-09-20 21:15:05 +03:00
2024-06-26 18:33:02 +03:00
2024-06-26 18:33:02 +03:00
2024-07-20 22:25:26 +02:00