import-model
Installation
SKILL.md
Import a model into MAX
Input: a Hugging Face model ID ($ARGUMENTS).
Copy references/template.md to track this port as you work through the phases.
Porting a model to MAX means writing a MAX graph that performs the same
computation as the model's modeling_<type>.py in Hugging Face transformers,
then loading the released weights into that graph and verifying the outputs
match.
The workflow has three phases: decide & plan, implement, verify. Phase 1 is reading and planning. Phase 2 is the port: implement every divergent sublayer in the graph. Phase 3 is verification, only after implementation is complete. Guards (preconditions that stop the line) gate the transitions between activities; they are not steps of their own.