Skip to main content

Module trace

Module trace 

Source
Expand description

TensorFlow-Profiler-style trace protocol (candle-graph/trace/10).

Trace-only evidence: spans, timed ops, tensor snapshots, memory events, gradient facts, and span edges. No static Rust analysis — importers aggregate JSONL into document::TraceDocument.

Re-exports§

pub use document::parse_trace;
pub use document::write_jsonl;
pub use document::TraceDocument;
pub use events::DeviceIntervalEvent;
pub use events::DeviceMemoryEvent;
pub use events::EdgeEvent;
pub use events::GradientEvent;
pub use events::MemoryEvent;
pub use events::OpEvent;
pub use events::SpanEndEvent;
pub use events::SpanStartEvent;
pub use events::TensorEvent;
pub use events::TensorStatsEvent;
pub use events::TerminalEvent;
pub use events::TraceEvent;
pub use health::analyze_health;
pub use health::EvidenceCoverage;
pub use health::HealthIssue;
pub use health::HealthSeverity;
pub use health::TraceHealth;
pub use memory::category_for_step;
pub use memory::dense_tensor_bytes;
pub use memory::MemoryAction;
pub use memory::MemoryCategory;
pub use schema::ComparisonIdentity;
pub use schema::GradientState;
pub use schema::RunOutcome;
pub use schema::SpanKind;
pub use schema::SpanRecord;
pub use schema::TimingMode;
pub use schema::TraceRunMeta;
pub use schema::TraceSummary;
pub use schema::SCHEMA;

Modules§

document
Aggregate trace document and JSONL I/O for candle-graph/trace/10.
events
JSONL event records for candle-graph/trace/10.
health
Structural validation and observed evidence coverage for a parsed trace.
memory
Logical storage-lifetime and physical device-memory analysis.
schema
Schema types for the current candle-graph execution-evidence stream.