Skip to content

Conversation

@boshyxd
Copy link
Contributor

@boshyxd boshyxd commented Jul 13, 2025

Implements GitHub issue #7 - New TUI Interface for job monitoring.

Added multiple TUI implementations:

  • Simple Rich TUI (--simple-tui): Clean dashboard with real-time updates
  • Interactive Rich TUI (--interactive-tui): Full keyboard controls
  • Basic Rich TUI (--rich-tui): Demonstration of Rich capabilities
  • Original Textual TUI (--tui): Preserved existing implementation

Features:

  • Real-time job monitoring with progress bars
  • Training metrics visualization (rewards, loss, learning rate)
  • Job queue management with status indicators
  • Color-coded job statuses (running, completed, failed, paused)
  • ASCII reward history charts
  • Multi-job support with concurrent execution limits
  • Job manager for process management

Added comprehensive test suite with 31 tests covering:

  • All data structures and enums
  • UI component creation
  • Job management functionality
  • Process communication

CLI updates:

  • Added --simple-tui, --rich-tui, --interactive-tui flags
  • Made --config optional when using TUI modes

machine-moon and others added 10 commits June 28, 2025 14:22
…ypes

- Added model_dtype, action_dtype, and target_dtype to Config class
- Added validation for dtype options (float32, float16, bfloat16 for model/target; int32, int64 for action)
- Updated configuration.json to include Data Types section
- Updated section_mapping in to_json method to handle new dtype section

Closes #9
- Created detailed GPU_PERFORMANCE_TIPS.md with JAX best practices
- Added gpu_optimized_train.py script with pre-configured environment flags
- Documented XLA optimizations, mixed precision, and multi-GPU settings
- Included code examples, benchmarking tips, and troubleshooting guide
- Analyzed CuMind codebase for specific optimization opportunities

Closes #28
Signed-off-by: jonashall8 <121309342+jonashall8@users.noreply.github.com>
Signed-off-by: jonashall8 <121309342+jonashall8@users.noreply.github.com>
Implements GitHub issue #7 - New TUI Interface for job monitoring.

Added multiple TUI implementations:
- Simple Rich TUI (--simple-tui): Clean dashboard with real-time updates
- Interactive Rich TUI (--interactive-tui): Full keyboard controls
- Basic Rich TUI (--rich-tui): Demonstration of Rich capabilities
- Original Textual TUI (--tui): Preserved existing implementation

Features:
- Real-time job monitoring with progress bars
- Training metrics visualization (rewards, loss, learning rate)
- Job queue management with status indicators
- Color-coded job statuses (running, completed, failed, paused)
- ASCII reward history charts
- Multi-job support with concurrent execution limits
- Job manager for process management

Added comprehensive test suite with 31 tests covering:
- All data structures and enums
- UI component creation
- Job management functionality
- Process communication

CLI updates:
- Added --simple-tui, --rich-tui, --interactive-tui flags
- Made --config optional when using TUI modes
@boshyxd boshyxd self-assigned this Jul 13, 2025
@boshyxd boshyxd added good first issue A good issue for first-time contributors and removed good first issue A good issue for first-time contributors labels Jul 13, 2025
- Remove decorative elements from UI components
- Simplify panel titles and headers
- Remove excessive inline comments
- Maintain consistent formatting across all TUI modules
@machine-moon machine-moon force-pushed the dev branch 2 times, most recently from 974ea01 to f558ef4 Compare July 16, 2025 01:03
@machine-moon
Copy link
Contributor

Sorry, I don't have time to review such a large feature right now. Please rebase if you want to keep working on it.

If you limit changes to src/cumind/tui and just "boot" in __main__.py, and it passes mypy/ruff, I can review and accept it much faster. I'll leave tui design decisions to you and only give UX feedback or request features/exposed functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants