Koifish is a c++ framework focused on efficient training/fine-tuning language model on edge devices & PC.
- Efficient on-device training of billion parameter language model.
- Efficient fine-tuning 10-billion parameter LLMs on edge device.
- Rematerialisation and fusion of operators
- Mixture of models
- Support DEEPSEEK/LLAMA/GPT ...
- CPU, GPU and Hybrid training
- Json config file
- Self-contained C++ project with minimal dependencies
# sudo apt-get install libicu-dev
# export CPATH=~/cudnn-frontend/include/:/usr/local/cuda-12.1/include:$CPATH # maybe need this to export CPATH
git clone https://github.com/gruai/koifish
cd koifish
mkdir build && cd build && cmake ..
make clean && make VERBOSE=TRUE
- Subsampling
- Weight Tying
- Hybrid 16/8 bit Optimizer
- Support MAMBA
- Sparsing
- Any help with managing issues, PRs and projects is very appreciated!