Views
No views yet
trust_remote_code=True.1import openvino as ov
2from transformers import AutoTokenizer, AutoConfig
3
4model_path = "your_hf_username/Dream-Coder-7B-ov-int8"
5
6core = ov.Core()
7ov_model = core.read_model(f"{model_path}/model.xml")
8model = core.compile_model(ov_model, "GPU") # or "CPU"
9
10tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
11config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
12
13# Note: Execution requires a discrete diffusion sampling loop.
14# See the repository's diffusion_server.py for the full loop implementation with LocalLeap support.aten::cat axis issues in the custom attention block.