Skill / SKILL.md

Xpu Model Type Detect

intel/skills

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.
2 views 34 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/intel/skills' skill-source

Use the complete skill-source/skills/xpu-model-type-detect directory with your client’s skill installer.

  • skills/xpu-model-type-detect

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/xpu-model-type-detect

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a2d30249111e38061b3a7179aead28bc688458006f34140ef1f6cae583e3f071
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills