mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-27 23:28:35 -05:00
Fixed issue where performance analysis functions were called every time the module was imported, instead of only when needed. Changes: - Commented out analyze_dataloader_performance() bare call - Commented out analyze_memory_usage() bare call - Removed redundant test_training_integration() comment These functions are still defined and can be called manually for performance insights, but won't run on every import. The test_module() function still calls all necessary tests when the module is run as __main__. Result: Module imports cleanly without running expensive performance benchmarks unless explicitly requested.