Downloads · 30 days
16
36% of all-time downloads
naranor/DiffuCoder-7B-Instruct-ov-int8
DiffuCoder-7B-Instruct-ov-int8 is a text generation model from naranor. Use it when you need the model to write or continue text. It is set up for openvino.
This is the OpenVINO IR version of the apple/DiffuCoder-7B-Instruct model, optimized for Intel GPUs and CPUs. The model weights have been compressed to INT8 using NNCF for improved inference performance and reduced me…
Downloads · 30 days
16
36% of all-time downloads
All-time downloads
45
Public
Repo size
7.6 GB
Likes
0
Public
Click a slice to open those files.
.bin7.6 GB · 100%
From the Hugging Face model README
This is the OpenVINO IR version of the apple/DiffuCoder-7B-Instruct model, optimized for Intel GPUs and CPUs. The model weights have been compressed to INT8 using NNCF for improved inference performance and reduced memory footprint.
DiffuCoder is a discrete diffusion model designed for code generation.
This model requires custom architecture files. When loading, you must use trust_remote_code=True.
Currently, standard openvino_genai pipelines might not fully support the custom "Dream" architecture natively without a custom denoising loop.
For a complete implementation of the Discrete Diffusion loop (including optimizations like LocalLeap), refer to the custom server implementation.
import openvino as ov
from transformers import AutoTokenizer, AutoConfig
model_path = "your_hf_username/DiffuCoder-7B-Instruct-ov-int8"
core = ov.Core()
ov_model = core.read_model(f"{model_path}/model.xml")
model = core.compile_model(ov_model, "GPU") # or "CPU"
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
# Note: Execution requires a discrete diffusion sampling loop.
# See the repository's diffusion_server.py for the full loop implementation.
For the complete server implementation and inference scripts designed specifically for Intel integrated graphics, please visit the main project repository: https://github.com/naranor/openvino-gpu-llm-server