mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-26 06:56:22 -05:00
- Added import: from tinytorch.profiling.profiler import ProfilerComplete - Benchmark class now initializes self.profiler = ProfilerComplete() - run_latency_benchmark() uses profiler.measure_latency() - run_memory_benchmark() uses profiler.measure_memory() and profiler.count_parameters() - Updated architecture diagram to show ProfilerComplete as foundation - Added pedagogical note explaining build-once-reuse-everywhere principle Benefits: - Eliminates code duplication between M15 and M19 - Shows proper systems architecture (composition/reuse) - Students see ProfilerComplete tool evolving and being reused - Clear separation: Profiler=measure, Benchmark=compare