Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- llama.cpp
|
| 5 |
+
- cuda
|
| 6 |
+
- sm75
|
| 7 |
+
- turing
|
| 8 |
+
- qwen
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# llama.cpp CUDA binary (sm_75 / Tesla T4)
|
| 12 |
+
|
| 13 |
+
Binary `llama-server` build sẵn cho **NVIDIA Tesla T4 (sm_75, Turing)**, dùng để
|
| 14 |
+
cache trong kernel Kaggle — tránh build lại từ source (~25 phút) mỗi lần khởi động.
|
| 15 |
+
|
| 16 |
+
- Commit llama.cpp: `4e416ee` (2026-09-23)
|
| 17 |
+
- Kiến trúc hỗ trợ: `qwen35moe` (Qwen3.8-35B-A3B MoE)
|
| 18 |
+
- Build flags: `-DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=75`
|
| 19 |
+
|
| 20 |
+
## Cách dùng trong kernel Kaggle
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
mkdir -p /kaggle/working/llama-bin && cd /kaggle/working/llama-bin
|
| 24 |
+
for f in llama-server libggml-base.so libggml-cpu.so libggml-cuda.so libggml.so \
|
| 25 |
+
libllama-common.so libllama-server-impl.so libllama.so libmtmd.so; do
|
| 26 |
+
curl -sL -o "$f" "https://huggingface.co/mboy2k/llama-cpp-sm75-cuda-binary/resolve/main/$f"
|
| 27 |
+
done
|
| 28 |
+
chmod +x llama-server
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
Sau đó chạy `llama-server` với `LD_LIBRARY_PATH` trỏ vào thư mục này.
|