RepositoryZigUSHoa Kỳ
zolotukhin

zolotukhin/zinc

Zig INferenCe Engine — Local LLM inference on AMD GPUs and Apple Silicon

531sao
39fork
0issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: rdna4

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: rdna3

#1 Repository Của Tuần

3
TINIX TRENDING·Chủ đề: amdgpu

#3 Repository Của Tuần

🚀 ZINC — Motor suy diễn LLM chạy trên GPU tiêu dùng, không cần ROCm hay MLX

Local LLM inference on consumer GPUs and Apple Silicon — no ROCm, no MLX, one binary.

ZINC (viết tắt của Zig INferenCe Engine) là một motor suy diễn mô hình ngôn ngữ lớn (LLM) chạy hoàn toàn cục bộ trên GPU AMD (RDNA3/RDNA4) và chip Apple Silicon (M1–M5). Dự án do zolotukhin phát triển, xây dựng bằng ngôn ngữ Zig và sử dụng Vulkan (Linux) hoặc Metal (macOS) để tận dụng hiệu năng phần cứng thực sự mà các giải pháp khác như ROCm hay MLX chưa hỗ trợ tốt.

✨ Điểm nổi bật

  • Chạy trên GPU tiêu dùng: Hỗ trợ AMD RDNA4 (RX 9070, AI PRO R9700), RDNA3 (RX 7900 XTX), và Apple Silicon (M1–M5) mà không cần lắp đặt ROCm hay MLX.
  • Một nhị phân duy nhất: Chỉ cần một file thực thi, không phụ thuộc vào Python, ROCm, hay CUDA.
  • Shader tối ưu từng nền tảng: Trên AMD: wave64, cooperative matrix, tiling tinh gọn qua Vulkan. Trên Apple: MSL kernel với simdgroup, zero-copy mmap.
  • Giao diện trình duyệt tích hợp: Chat UI có hỗ trợ streaming và hiển thị chế độ suy nghĩ (thinking mode).
  • API tương thích OpenAI: Cung cấp endpoint /v1 để các công cụ bên thứ ba có thể kết nối dễ dàng.
  • Quản lý mô hình thông minh: Lệnh list, pull, use, active, rm để dễ dàng quản lý danh mục mô hình.
  • Hỗ trợ mô hình Qwen 3.5/3.6 và Gemma 4: Danh mục mô hình được kiểm chứng kỹ lưỡng, tập trung vào những gì người dùng đang dùng.
  • Hiệu năng cạnh tranh với llama.cpp: Trên RDNA4, tốc độ decode đạt 99% so viet llama.cpp; trên Apple Silicon, kết quả hòa trộn nhưng đang được tối ưu.

💡 Vì sao đáng chú ý

Thay vì dựa vào các stack phức tạp như ROCm hay MLX — mà GPU AMD không được hỗ trợ tốt — ZINC chọn cách xây dựng lại toàn bộ motor từ đầu, tận dụng trực tiếp Vulkan và Metal. Điều này cho phép trích lợi thực sự từ phần cứng: băng thông VRAM, khả năng tính toán và kiến trúc GPU. Đặc biệt, ZINC tối ưu shader riêng cho từng kiến trúc (wave64 trên RDNA4, simdgroup trên Apple Silicon), giúp các con chip "đắt tiền" như RX 7900 XTX hay M4 không bị lãng phí.


#ZINC #LLM #AMD #AppleSilicon #Zig #Vulkan #Metal #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

97.3k
Nov 22, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169.4k
Nov 22, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

161.7k
Nov 22, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
164.7M
Jun 1, 2026
RepositoryJupyter Notebook
microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

124.0k
Nov 19, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

108.8k
Nov 21, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.1k
Nov 21, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

148.3k
Nov 23, 2026
RepositoryTypeScript
OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

94.2k
Nov 23, 2026