Files

22 lines
695 B
Markdown
Raw Permalink Normal View History

2026-01-23 11:11:32 +08:00
# enginex-bi_150-llama.cpp
2026-01-23 11:34:20 +08:00
运行于【天数智芯-天垓150】算力卡的【文本生成】引擎基于 llama.cpp (b7516) 引擎进行架构特别适配优化。
## Build Docker Image
```bash
docker build -t enginex-iluvatar/iluvatar-llama.cpp:b7516-bi150 .
```
最新镜像git.modelhub.org.cn:9443/enginex-iluvatar/iluvatar-llama.cpp:b7516-bi150
运行容器
**注意**:必须使用 `--no-mmap` 参数关闭内存映射,否则会报错
```bash
docker run -it --rm \
-v <model_dir>:/app/models \
--privileged \
-e CUDA_VISIBLE_DEVICES=0 \
git.modelhub.org.cn:9443/enginex-iluvatar/iluvatar-llama.cpp:b7516-bi150
/app/llama-cli -m /app/models/xxx.gguf --no-mmap -p "你好"
```