원클릭으로
torchtalk-trace
Trace a PyTorch function's cross-language binding chain (Python -> C++ -> CUDA)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Trace a PyTorch function's cross-language binding chain (Python -> C++ -> CUDA)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Check an ODH module operator repository for contract violations against the platform onboarding guide. Validates PlatformObject status, CRD structure, Helm chart content, webhook ownership, metadata conventions, and reconciler chain ordering. Use during code review or after scaffolding a new module.
Read existing in-tree ODH operator component code and produce a step-by-step extraction checklist for migrating it to a standalone module. Analyzes controller logic, webhooks, RBAC, embedded manifests, and DSC field mappings. Use when extracting a component from the monolithic operator into its own module repo.
Given a component name, generate a complete standalone ODH module operator repository. Produces Go module, CRD types implementing PlatformObject, controller skeleton with reconciler builder pattern, Helm chart, Makefile, CI config, singleton webhook, and AGENTS.md. Use when starting a new module from scratch.
Generate AIPCC Commits style commit messages or summarize existing commits
Hello world plugin implementation
Generate comprehensive sprint summaries by analyzing JIRA sprint data, including issue breakdown, progress metrics, and team performance insights.
| name | torchtalk-trace |
| description | Trace a PyTorch function's cross-language binding chain (Python -> C++ -> CUDA) |
| argument-hint | <function-name> [focus] |
odh-ai-helpers:torchtalk-trace
/torchtalk:trace <function-name>
/torchtalk:trace <function-name> full
/torchtalk:trace <function-name> dispatch
/torchtalk:trace <function-name> yaml
The torchtalk:trace command traces a PyTorch function's complete binding chain from Python through C++ to CUDA implementations. It uses the TorchTalk MCP server to look up operator definitions in native_functions.yaml, find pybind11 and TORCH_LIBRARY bindings, and map dispatch keys to backend implementations.
After gathering the raw binding data, the command analyzes the results to explain:
This command requires the TorchTalk MCP server to be running. Run mcp__torchtalk__get_status to verify availability.
/torchtalk:setup if not yet installedmcp__torchtalk__get_status to confirm the TorchTalk server is running and has indexed data availablemcp__torchtalk__trace with the function name and optional focus parameter to retrieve the full binding chainmcp__torchtalk__calls with the function name to understand what the function invokes internallynative_functions.yaml definition and its dispatch configurationderivatives.yaml) if applicablefile:line references so the developer can navigate directly to the sourceTrace a common operator:
/torchtalk:trace matmul
Output: Full binding chain from torch.matmul through at::native::matmul to LinearAlgebra.cpp, including CPU and CUDA dispatch paths.
Focus on dispatch mapping only:
/torchtalk:trace conv2d dispatch
Output: Which backends handle conv2d and where each kernel is registered.
Focus on YAML definition:
/torchtalk:trace softmax yaml
Output: The native_functions.yaml entry for softmax, including its function schema, dispatch keys, and derivative formula.
Full deep trace:
/torchtalk:trace add full
Output: Complete trace from Python API through every layer including structured kernel registrations, autograd formula, and all backend implementations.
<function-name>: The PyTorch function name to trace (e.g., matmul, conv2d, softmax, add). Can be a short name or fully qualified (e.g., at::native::matmul).[focus]: Optional focus parameter. One of:
full (default): Complete binding chain across all layersdispatch: Only dispatch key to backend mappingyaml: Only the native_functions.yaml definition/torchtalk:setup - Install and configure TorchTalk