# set up and run the CPU tests
git clone https://github.com/ValeroisAI/Heimdall2.git && cd Heimdall2/Heimdall
python3 -m venv .venv && source .venv/bin/activate
python -m pytest -q tests
# Bifrost end to end
GPU=vulkan bash llamacpp/kur.sh
ADIM=motorprova bash bench/qwen38_donustur.sh # 0.8B, ~1 h
ADIM=motor bash bench/qwen38_donustur.sh # 27B, several hours on 16 GB
ADIM=sunucu bash bench/qwen38_donustur.sh # OpenAI-compatible server
# Heimdall-Bit
python -m heimdall.train --preset temel --arch bit --bits 1 \
--data ../stream_coder_100k.bin --tokens 40e6 --out runs/demo
git clone https://github.com/ValeroisAI/Heimdall2.git && cd Heimdall2/Heimdall
python3 -m venv .venv && source .venv/bin/activate
python -m pytest -q tests
# Bifrost end to end
GPU=vulkan bash llamacpp/kur.sh
ADIM=motorprova bash bench/qwen38_donustur.sh # 0.8B, ~1 h
ADIM=motor bash bench/qwen38_donustur.sh # 27B, several hours on 16 GB
ADIM=sunucu bash bench/qwen38_donustur.sh # OpenAI-compatible server
# Heimdall-Bit
python -m heimdall.train --preset temel --arch bit --bits 1 \
--data ../stream_coder_100k.bin --tokens 40e6 --out runs/demo
License: Apache-2.0. The llama.cpp patch is under llama.cpp’s MIT license, and models converted with Bifrost keep the license of their base model (Qwen3.5 and 3.8: Apache-2.0). Code comments, CLI flags and some log messages are in Turkish; the repository README has a glossary.
@software{valerois_bifrost_2026,
author={{Valerois AI}},
title={Bifrost and Heimdall: constant-memory conversion of pretrained language models on a single GPU},
year={2026},
url={https://github.com/ValeroisAI/Heimdall2}
}
author={{Valerois AI}},
title={Bifrost and Heimdall: constant-memory conversion of pretrained language models on a single GPU},
year={2026},
url={https://github.com/ValeroisAI/Heimdall2}
}
Next
Use Nova today. Or help us measure the next thing.
Nova is free to start, on the desktop and in the browser. The research is open source, and the next experiments need more compute than one GPU.