modular/skills
migrate-max-v2-to-v3
Use when migrating a MAX model from the V2 graph API (max.nn, TensorValue, explicit Graph construction) to ModuleV3 (max.experimental.nn, Tensor, F.lazy() + compile()). Triggers on: "migrate to ModuleV3", "port a max.nn model to max.experimental", "convert TensorValue to Tensor", "update my model to the V3 API", "ModuleV3 migration". Workflow: read the concept map, rewrite imports and __call__ signatures, and replace graph building with compile(weights=...). Align weight names with the new module hierarchy and move the KV cache unflatten into forward(). Port sharding to a DeviceMesh when the V2 model is sharded, then verify greedy outputs match the V2 implementation.
Installation
npx skills add https://github.com/modular/skills
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports La…
1.5K installsMigrate Cloudflare Sandbox apps from stable @cloudflare/sandbox to @cloudflare/sandbox@next (SD…
919 installsFramework (OSS). Migrate an existing Apple/Swift Expo native module from the Expo Modules API 1…
247 installs|- Replace the usage of `expect` and similar functions from `package:matcher` to `package:check…
118 installsMigrates Next.js projects to vinext (Vite-based Next.js reimplementation).
79 installsMigrate applications from AI SDK 6.x to AI SDK 7.0. Use when upgrading Vercel AI SDK packages, …
25 installsAlso in this package
Other skills from modular/skills · top by installs.
npx skills add modular/skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Repository health
main