import_artifact
Import project-local profiler artifacts and traces while preserving producer identity, enabling accurate analysis and comparison. Automatically detects Chrome/Torch traces and supports multiple formats.
Instructions
Import one project-local artifact and preserve producer identity.
Chrome traces with Torch profiler markers are identified automatically. Use
kind='execution_trace' for Chrome/Torch traces, then run extract_perfetto before
analyze_pytorch. If detection is ambiguous, set producer='torch.profiler'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ArtifactKind enum value describing the imported format. | |
| path | Yes | Artifact path relative to source_root, or an absolute path already inside that bounded root. | |
| producer | No | Producer identity. Use auto for common trace detection; use torch.profiler when importing an ambiguous Torch trace, and declare the maintained inference provider for imported replay/result artifacts. | auto |
| media_type | No | Explicit media type for formats whose encoding cannot be inferred, such as application/x-protobuf OTLP traces. | |
| sensitivity | Yes | Sensitivity classification: normal, internal, or sensitive. | |
| source_root | No | project | |
| producer_version | No | Optional producer version, at most 100 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||