import_artifact
Import a project-local profiling artifact while preserving producer identity, enabling query and audit of traces, benchmarks, and execution evidence.
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. | |
| profile | No | Validated provider format profile. Use py-spy-chrometrace only for native py-spy Chrome traces; omit it for generic imports. | |
| 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 | |||