char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Johannes GäßlerCUDA: backwards pass for misc. ops, add tests (#11257)9c8dcefe1

char/aliceai-t5-moe
228 B7 linesraw
1#include "common.cuh"
2
3#define CUDA_SOFT_MAX_BLOCK_SIZE 1024
4
5void ggml_cuda_op_soft_max(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
6
7void ggml_cuda_op_soft_max_back(ggml_backend_cuda_context & ctx, ggml_tensor * dst);