Xpu Model Type Detect

Before loading a Hugging Face model on Intel XPU, detect its actual type (text generation, text encoder, seq2seq, vision classification, vision-language, audio encoder, audio seq2seq, multimodal VL, diffusion, time-series, reward model, masked LM) so the agent picks the right `AutoModel` class and input kwargs. Prevents "got unexpected keyword argument 'pixel_values'" and "empty logits" errors from mis-routing. Use before `torch-xpu-run` or `vllm-xpu-run` when the user gives a model id the agent hasn't seen before, or when a smoke test fails with a wrong-input signature.

intel 638d783 2 files · 22.1 KB Updated

File contents

intel/gpu-ai-skills/tree/main/plugins/intel-gpu-ai-skills/skills/xpu-model-type-detect commit 638d783e81

Frequently asked questions

npx skillmds@latest add intel/xpu-model-type-detect