Skill instructions (SKILL.md) could not be loaded from local cache or raw GitHub repository.
port-model
star 6.6k
Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[B, C, H, W], Dim[T]). Use this skill whenever the user wants to add shape annotations to a PyTorch model, type a model with tensor dimensions, port a model to use shape tracking, or annotate model forward methods with tensor shapes. Also use when the user mentions tensor shape ports, Dim types for PyTorch, or pyrefly shape checking on a model file. Invoke BEFORE starting any model port — the skill's gated workflow prevents common failure modes.
Install via CLI
npx skills add https://github.com/facebook/pyrefly --skill port-model
Repository Details
star Stars
6,616
call_split Forks
391
navigation Branch
main
article Path
SKILL.md
More from Creator
facebook Explore all skills →