Skip to content
Computer vision

zhiman-ai/Micius-27B

A multimodal model for engineering and semiconductors

2 min readupdated

Micius-27B is a 27 billion parameter multimodal model built for engineering and scientific tasks with a focus on the semiconductor industry. It supports text, image, and video inputs, and works with a native context window of up to 262,144 tokens. The model was trained using multi-teacher distillation (MOPD) and executable code verification. It will be useful for electronics engineers, hardware developers, and researchers for circuit analysis and code generation.

Key features

  • Specialization: Knowledge of semiconductors, hardware code generation, and circuit and printed circuit board (PCB) analysis.
  • Multimodality: Native intake of images and video for working with diagrams, blueprints, and waveforms.
  • Massive context: Native support for windows up to 262,144 tokens for processing large documents.
  • Execution-based training: Code examples and agentic tasks were verified through compilation, simulation, and sandboxes.

What you can do

  • HDL generation: Create and debug Verilog and VHDL code for hardware modules.
  • Blueprint analysis: Upload schematics, PCB layouts, and waveform diagrams for automated breakdown.
  • Agentic tasks: Apply the model in combination with engineering tools to automate workflows.
  • Engineering consultations: Use the model for deep reasoning in physics and microelectronics.

Example

Running the model for a text prompt using the transformers library:

import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = "HongchengGao/Micius-27B"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id,
    torch_dtype="auto",
    device_map="auto",
)

messages = [
    {
        "role": "user",
        "content": [
            {"type": "text", "text": "Explain the role of a decoupling capacitor in a digital circuit."}
        ],
    }
]

inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt"
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=256)

new_tokens = outputs[:, inputs["input_ids"].shape[1]:]
print(processor.batch_decode(new_tokens, skip_special_tokens=True)[0])
Read moreDetails
Benchmarks: 86.8% on VerilogEval-v2, 83.3% on PCB Agent, and 84.2% on MMLU-Pro.
Hardware requirements: Weights in BF16 safetensors format are split into 11 shards totaling around 54.7 GB.
Limitations: The model may generate errors in code or schematics; human verification is required.
Discuss Telegram 3 18

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # zhiman-ai/Micius-27B
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download zhiman-ai/Micius-27B --local-dir ~/models/Micius-27B
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Micius-27B
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b42from December 2, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of Micius-27B (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 1All on Hugging Face

About the model

zhiman-ai/Micius-27B
Author
zhiman-ai
Category
Computer vision
Released
Posted

On NeyroLearn

Hugging Face

183

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Computer vision

GameDojo-4B

GameDojo-4B