cute-dsl-deprecation-migration
Use the CUTLASS CuTe DSL deprecation list when upgrading, migrating, or changing CuTe DSL code across versions. Applies to functions and APIs implemented…
от NVIDIA★ 4 269 звёзд на GitHub
Установить cute-dsl-deprecation-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CuTe DSL version changes
CuTe DSL code means functions and APIs implemented under python/CuTeDSL/cutlass/ in the CUTLASS repository, or Python code using imports provided by the nvidia-cutlass-dsl distribution. Examples include import cutlass, import cutlass.cute as cute, and imports from its submodules. The distribution name is distinct from its Python import namespace; resolve ambiguous cutlass imports against the project's dependencies or source paths.
Deprecation source
Before changing CuTe DSL code across versions, read the deprecation policy and list. Use the official CUTLASS deprecation policy and list. If the user explicitly supplies a different deprecation policy or link, use that source instead.
Recognizing deprecated APIs
Use the policy and list selected under Deprecation source to identify named deprecations. Apply versioned announcements to the releases they cover. This includes soft or silent deprecations and APIs for which deprecation or removal has been explicitly announced as of the target release, even if the code still runs without a warning.
Check the scope of each deprecation before editing a kernel or its callers. Read the affected declaration’s docstring, decorators, alias definitions, and conditional warning or exception branches as needed. Trace decorator aliases, shared messages, and wrapper assignments when the affected use is unclear.
- Callable or class. Note: a deprecation on a declaration affects uses through aliases and re-exports, including construction of a deprecated class. Check the full docstring for notices.
- Import path. Note: a compatibility export can be deprecated while its target remains current.
- Parameter or overload.
- Accepted type or value.
Mechanical substitutions versus migrations that require behavioral reasoning
A substitution is mechanical when the documented mapping and the old API use fully determine the edit. For example, every cute.arch.exp(x) maps to cute.math.exp(x, fastmath=True).
A migration requires behavioral reasoning when the correct edit depends on a fact about program execution, such as which warps participate in a barrier or what a count measures. Establish that fact from the surrounding code, then apply the change that preserves the required behavior. Add a brief comment beside each such edit identifying it as a functional change made by the cute-dsl-deprecation-migration skill. State what changed and the specific assumption the user should verify. For example:
# Functional change by cute-dsl-deprecation-migration: count one barrier arrival per warp.
# Verify that all four consumer warps participate.
Consult the examples and guidance under Deprecation source to determine whether a change is mechanical or behavioral.
Apply version-aware changes
- Determine the current version, target version, and required compatibility range from the request and project dependencies. Ask for missing version information when it affects which replacement is valid.
- Check affected imports and calls against the selected list and follow its applicable replacement guidance. Use version-matched release notes, source, and API documentation to resolve gaps. Verify that each replacement import resolves and that the actual call works across the full required range, including positional and keyword arguments, accepted values, and behavior the caller relies on.
- Update affected imports, aliases, and qualified call sites within the requested scope. Use canonical APIs and avoid deprecated compatibility aliases, shims, wrappers, and re-export paths. Where the list gives no replacement, preserve the intended behavior using supported operations. If no migration preserves both behavior and the required version range, explain the conflict and ask which constraint can change.
- Run relevant available checks for the affected code, including compilation or execution when the environment supports it. Report the migrations made, version assumptions, validation results, and any checks blocked by missing GPU or software dependencies.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- BENCHMARK.md
- LICENSE
- README.md
- evals/config.yml
- evals/evals.json
- evals/evals.json.license
- evals/files/4_5_PUBLIC_FUNCTIONS.md
- evals/files/4_7_PUBLIC_FUNCTIONS.md
- evals/files/4_8_PUBLIC_FUNCTIONS.md
- evals/files/4_9_PUBLIC_FUNCTIONS.md
- evals/grader.py
- skill-card.md
- skill.oms.sig
FAQ
Что делает скилл cute-dsl-deprecation-migration?
Use the CUTLASS CuTe DSL deprecation list when upgrading, migrating, or changing CuTe DSL code across versions. Applies to functions and APIs implemented under cutlass/python/CuTeDSL/cutlass/ and Python code using imports provided by the nvidia-cutlass-dsl PyPI distribution.
Как установить скилл cute-dsl-deprecation-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cute-dsl-deprecation-migration запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…