Commit History
-
Update optimization animation to use st.empty() loop pattern
Prasanna Balaprakash +1: Claude- Restructured animation loop to update st.empty() containers within single script execution - Added status container showing step progress during optimization - Re-enabled animation mode (ENABLE_ANIMATION = True) for real-time progress tracking - Improved code organization for animation state management - Updated comments in objective_progress.py for clarity 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>3600a7e -
Implement instant optimization with st.empty() pattern and disable unreliable animation
Changed from rerun-based animation to st.empty() placeholder pattern for better control, but disabled animation due to Streamlit's inconsistent update flushing. Set ENABLE_ANIMATION=False for reliable, instant results. Key Changes: - Restructured optimization flow using st.empty() placeholders - Animation loop updates placeholders in single script execution - Added current_step parameter to all chart components - Disabled animation for consistent behavior (ENABLE_ANIMATION=False) - Optimization now completes instantly with all results visible Technical Details: - app.py: Created placeholder-based rendering with animation loop - objective_progress.py: Added current_step parameter - progress_chart.py: Added current_step parameter - search_trajectory.py: Added current_step parameter Why Animation Disabled: - Streamlit buffers updates during script execution - Updates may not flush to browser between loop iterations - Results in inconsistent behavior (sometimes works, sometimes doesn't …091c4e2 -
Add real-time optimization tracking and GPU tier justifications
Major improvements to the optimization experience and model deployment guidance: Features: - 10-second animated optimization with real-time chart updates - Toggle animation mode for local demos vs HF Spaces deployment - GPU tier justifications in model cards showing cost, memory, and use cases - Real-time progress tracking for all 7 optimization objectives - Smooth latency chart progression with varied quantization steps Technical Changes: - Centralized progress management in app.py for synchronized updates - Fixed objective progress charts to update progressively during optimization - Added latency variation for smoother visualization (mixed quantization) - Removed redundant progress_step initialization from components - Added time.sleep() animation control with ENABLE_ANIMATION toggle Model Cards Enhancement: - Added detailed GPU tier selection justification boxes - Shows memory requirements, hourly costs, throughput, and deployment guidance - Explains T4 (cost-efficient), V100 (b…21635bb -
Upload 24 files
Verified signaturee10a4c7