Skip to content

CRoM-EfficientLLM v1.0.2

Latest
Compare
Choose a tag to compare
@Flamehaven Flamehaven released this 17 Sep 12:28

[1.0.2] - 2025-09-17

🐞 Fixed

  • Critical SyntaxError in SafeCrossEncoderManager.get_status_for_response
    • Separated docstring and return statement that were incorrectly on the same line
    • Resolved import failures preventing crom_efficientllm.cross_encoder module loading
  • FastAPI Server ImportError for enhanced_greedy_pack
    • Implemented lazy loading with importlib to fix circular import dependency
    • Corrected module structure so enhanced_greedy_pack is properly exported from budget_packer
    • Resolved FastAPI server startup failures
  • Version consistency issues across components
    • FastAPI server now correctly displays v1.0.2
    • Fixed dynamic version loading from pyproject.toml and package metadata
    • Synchronized version references across the codebase

⚡ Improved

  • More robust error handling and import resilience across core modules
  • Refined module architecture preventing circular dependencies
  • Clearer debugging output for Cross-Encoder initialization
  • Dynamic version management system with proper fallback mechanisms

✨ Added

  • Comprehensive integration tests (tests/test_integration.py)
    • End-to-end validation with 10 test cases
    • Verified version consistency across all components
    • Interoperability tests (CrossEncoder + BudgetPacker + Logger)
    • Performance testing with 1,000+ documents
    • Edge-case error handling and fallback validation
    • FastAPI server startup and endpoint checks

🧪 Testing

  • All core module imports function correctly
  • FastAPI server launches without errors and shows correct version
  • Cross-Encoder manager handles errors gracefully
  • Integration tests validate full system functionality
  • Performance benchmarks confirm scalability with large datasets