Vijay Janapa Reddi
2d4b193aba
Replace manual test calls with automatic discovery
2025-07-20 12:19:49 -04:00
Vijay Janapa Reddi
f1093be456
🧪 Fix test function name mismatches in 13_kernels module
...
- Fixed test_matmul_baseline() → test_unit_matmul_baseline()
- Fixed test_vectorized_operations() → test_unit_vectorized_operations()
- Fixed test_cache_friendly_matmul() → test_unit_cache_friendly_matmul()
- Fixed test_parallel_processing() → test_unit_parallel_processing()
- Fixed test_simple_kernel_timing() → test_unit_simple_kernel_timing()
- Fixed test_compressed_kernels() → test_unit_compressed_kernels()
Ensures correct function names are called to match their definitions.
2025-07-20 10:40:21 -04:00
Vijay Janapa Reddi
2e11633a61
✨ Add structural organization headers to 13_kernels module
...
- Added ## 🔧 DEVELOPMENT section before Step 1 where development begins
- Added ## 🤖 AUTO TESTING section before nbgrader block
- Updated to ## 🎯 MODULE SUMMARY: Hardware-Optimized Operations
Improves notebook organization without changing any code logic or content.
2025-07-20 10:09:46 -04:00
Vijay Janapa Reddi
d75a9b2461
✅ Fix 13_kernels: Move integration test BEFORE testing, clean structure
...
CORRECTED PATTERN NOW:
1. ✅ Integration test (test_module_kernel_sequential_model) - BEFORE ## 🧪 Module Testing
2. ✅ ## 🧪 Module Testing (markdown section)
3. ✅ STANDARDIZED MODULE TESTING (nbgrader cell)
4. ✅ if __name__ == '__main__' block with run_module_tests_auto
5. ✅ ## 🎯 Module Summary (immediately after, no code between)
FIXES APPLIED:
✅ Moved integration test function from AFTER testing section to BEFORE it
✅ Removed duplicate integration test function and markdown section
✅ Added integration test to the if __name__ == '__main__' block
✅ Clean STANDARDIZED MODULE TESTING structure
Module 13_kernels now follows the exact pattern
2025-07-20 09:45:38 -04:00
Vijay Janapa Reddi
c543cfca01
⚡ Production: Standardize test naming in optimization and deployment modules
...
- Compression: test_compression_metrics → test_unit_compression_metrics
- Compression: test_magnitude_pruning → test_unit_magnitude_pruning
- Compression: test_quantization → test_unit_quantization
- Compression: test_distillation → test_unit_distillation
- Compression: test_structured_pruning → test_unit_structured_pruning
- Compression: test_comprehensive_comparison → test_unit_comprehensive_comparison
- Kernels: All test_* → test_unit_* except test_kernel_integration_* → test_module_*
- Benchmarking: All test_* → test_unit_* except test_comprehensive_* → test_module_*
- MLOps: All test_* → test_unit_* except test_comprehensive_integration → test_module_*
- Finalizes test naming standardization across production-ready modules
2025-07-20 08:39:27 -04:00
Vijay Janapa Reddi
6c2b253751
refactor: Implement learner-focused module progression with better naming
...
✅ Renamed modules for clearer pedagogical flow:
- 05_networks → 05_dense (multi-layer dense/fully connected networks)
- 06_cnn → 06_spatial (convolutional networks for spatial patterns)
- 06_attention → 07_attention (attention mechanisms for sequences)
✅ Shifted remaining modules down by 1:
- 07_dataloader → 08_dataloader
- 08_autograd → 09_autograd
- 09_optimizers → 10_optimizers
- 10_training → 11_training
- 11_compression → 12_compression
- 12_kernels → 13_kernels
- 13_benchmarking → 14_benchmarking
- 14_mlops → 15_mlops
- 15_capstone → 16_capstone
✅ Updated module metadata (module.yaml files):
- Updated names, descriptions, dependencies
- Fixed prerequisite chains and enables relationships
- Updated export paths to match new names
New learner progression:
Foundation → Individual Layers → Dense Networks → Spatial Networks → Attention Networks → Training Pipeline
Perfect pedagogical flow: Build one layer → Stack dense layers → Add spatial patterns → Add attention mechanisms → Learn to train them all.
2025-07-18 00:12:50 -04:00