- Restored v1.0.13 with all 9 working nodes (ROCMOptimizedCheckpointLoader, ROCMOptimizedKSampler, etc.)
- Implemented comprehensive debug flag system (ROCM_NINODES_DEBUG=1)
- Created complete test suite with performance and correctness tests
- Added data capture infrastructure for real workflow testing
- Built standalone test runner with mock data support
- Created ComfyUI integration tests for Flux and WAN workflows
- Added comprehensive documentation (ARCHITECTURE.md, RULES.md, TESTING_GUIDE.md)
- Updated README with testing section and performance targets
- All tests passing with proper error handling and data validation
Performance Targets:
- Flux: 78% improvement (≤110s total)
- WAN: 5.6% improvement (≤93s sampling)
- VAE Decode: <10s for any resolution
- Checkpoint Load: <30s for Flux models
Ready for production use with comprehensive testing infrastructure!
- Added test_data/benchmarks/ to exclude benchmark JSON files
- Added test_data/inputs/ and test_data/outputs/ to exclude captured data
- Added test_data/analysis_results.json and optimization_recommendations.json
- Removed already committed benchmark files from git tracking
This ensures instrumentation data is not committed to the repository
while keeping the data available locally for analysis.
Fixed critical issue: Expected 4 channels for latent, got 16
Changes:
- Added support for both SD (4-channel) and SDXL (16-channel) latents
- Fixed tensor dimension handling - removed incorrect permute operations
- Added comprehensive test suite covering different channel counts
- Fixed import issues (time, logging) for testing environment
- Enhanced error handling for unsupported channel counts
- Added fallback behavior tests for both SD and SDXL
- Updated instrumentation to capture new channel types
Test coverage:
- SD 4-channel latents (standard)
- SDXL 16-channel latents (new support)
- Different batch sizes and resolutions
- Fallback behavior when VAE decode fails
- Error handling for unsupported channel counts
- Instrumentation capture verification
All 8 tests passing! The nodes now properly handle both SD and SDXL architectures.
- Added instrumentation decorator to all ROCM nodes
- Fixed instrumentation to work with ComfyUI node structure
- Collected baseline performance data for ROCMOptimizedVAEDecode
- Created test infrastructure for performance optimization
- Baseline: avg 0.427ms, median 0.199ms, 100% fast executions