Downloads · 30 days
0
KraveAI/Krave3.2
Krave3.2 is a text generation model from KraveAI. Use it when you need the model to write or continue text. It is set up for ml-agents. The card lists the license as mit.
Krave 2.5 is an open-source Mixture-of-Experts (MoE) language model for users who want to run their own local or private LLM setup.
Downloads · 30 days
0
Access
Public
Updated Apr 17, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.py66.3 KB · 86%
From the Hugging Face model README
Krave 2.5 is an open-source Mixture-of-Experts (MoE) language model for users who want to run their own local or private LLM setup.
Krave 2.5 is a strong Mixture-of-Experts (MoE) language model with 671B total parameters and 37B activated per token. It adopts Multi-head Latent Attention (MLA) and a MoE architecture for efficient inference and cost-effective training. This repository is intended as an open-source LLM project, and users should provide their own weight files for it to function.
Architecture
This project does not ship model weights. To run Krave 2.5, you must provide your own compatible weight files.
Linux with Python 3.10+. Mac and Windows are not supported.
Dependencies:
torch==2.4.1
triton==3.0.0
transformers==4.46.3
safetensors==0.4.5
Clone the repository:
git clone https://github.com/kraveorg/Krave-2.5.git
cd Krave-2.5
Install dependencies:
cd inference
pip install -r requirements.txt
Provide your own weight files in the expected checkpoint directory before running inference.
If you already have compatible weights, convert them to the required format:
python convert.py --hf-ckpt-path /path/to/your-weights \
--save-path /path/to/Krave-2.5-Demo \
--n-experts 256 --model-parallel 16
torchrun --nproc-per-node=8 inference/generate.py \
--ckpt-path /path/to/your-weights \
--config inference/configs/config_671B.json \
--interactive --temperature 0.7 --max-new-tokens 200
torchrun --nproc-per-node=8 inference/generate.py \
--ckpt-path /path/to/your-weights \
--config inference/configs/config_671B.json \
--input-file prompts.txt
Krave 2.5 includes a built-in Krave Engine — a lightweight Python interface for loading and running the model programmatically.
from engine import KraveEngine
engine = KraveEngine(
ckpt_path="/path/to/your-weights",
config="inference/configs/config_671B.json"
)
response = engine.generate("Explain quantum computing in simple terms.")
print(response)
See engine.py for full API documentation.
This code repository is licensed under the MIT License. Model weights are subject to the Model License. Krave 2.5 supports commercial use.